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/d35a07c9
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-d35a07c9.tar.gz
15 mv shedskin-mainline shedskin-mainline-d35a07c9
16 cd shedskin-mainline-d35a07c9
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 For Shed Skin 0.7.1, the following patch needs to be applied:
35
36 cp ../shedskin-packaging/typename-90ee8e7.diff .
37 patch -p0 < typename-90ee8e7.diff
38
39 This patch was originally retrieved from the following location:
40
41 http://gitorious.org/shedskin/mainline/commit/90ee8e73115657fa6fee754337f391c7ffc815f5
42
43 Using pbuilder, try and build the package (this example is using my signing
44 key):
45
46 pdebuild --auto-debsign --debsign-k 9F308B3C
47
48 Some files will appear in /var/cache/pbuilder/result/ (such as the binary
49 package files), whereas others will appear in the parent directory.
50
51 Maintenance Notes
52 -----------------
53
54 When packaging a new release, update the release history below along with the
55 debian/changelog file:
56
57 debchange -v 0.7.1 -D unstable
58
59 Shed Skin Release History
60 =========================
61
62 Release Git Changeset
63 ------- -------------
64 0.7.1 d35a07c99c29618e0dad6d31a3cf01599c0d758a
65 0.7 8fc85b49137a79ca9acc5e63fa9fdfbb50751907
66 0.6 1e6708d49e9092a7949ed74b7e339c5245bb6661
67
68 Release Subversion Revision
69 ------- -------------------
70 0.5 1507
71 0.4 1363
72 0.3-2 1165
73 0.3-1 1165