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