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