1 Shed Skin Packaging for Debian
2 ==============================
3
4 Firstly, download the latest upstream source release. For example, try and
5 persuade Gitorious to yield a file by visiting the following address:
6
7 http://gitorious.org/shedskin/mainline/archive-tarball/8fc85b49
8
9 The idea is then to combine the snapshot with this packaging infrastructure.
10
11 Unpack and move into the sources directory:
12
13 cd ..
14 tar zxf shedskin-mainline-8fc85b49.tar.gz
15 mv shedskin-mainline shedskin-mainline-8fc85b49
16 cd shedskin-mainline-8fc85b49
17
18 Now, copy the debian directory from this directory into the export directory:
19
20 cp -R ../shedskin-packaging/debian/ .
21
22 Since some problems have arisen in Shed Skin 0.5 with distutils, package data
23 installation and byte-compilation performed by Debian's python-central post-
24 installation scripts, the setup script needs to be patched:
25
26 cp ../shedskin-packaging/setup.py.diff .
27 patch -p0 < setup.py.diff
28
29 The shedskin.shared module also needs to be patched:
30
31 cp ../shedskin-packaging/shared.py.diff .
32 patch -p0 < shared.py.diff
33
34 Using pbuilder, try and build the package (this example is using my signing
35 key):
36
37 pdebuild --auto-debsign --debsign-k 9F308B3C
38
39 Some files will appear in /var/cache/pbuilder/result/ (such as the binary
40 package files), whereas others will appear in the parent directory.
41
42 Maintenance Notes
43 -----------------
44
45 When packaging a new release, update the release history below along with the
46 debian/changelog file:
47
48 debchange -v 0.7 -D unstable
49
50 Shed Skin Release History
51 =========================
52
53 Release Git Changeset
54 ------- -------------
55 0.7 8fc85b49137a79ca9acc5e63fa9fdfbb50751907
56 0.6 1e6708d49e9092a7949ed74b7e339c5245bb6661
57
58 Release Subversion Revision
59 ------- -------------------
60 0.5 1507
61 0.4 1363
62 0.3-2 1165
63 0.3-1 1165