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 Various issues related to Python 2.5 and earlier (with respect to support for
40 the print function in Python 3.x) need fixing with a patch:
41
42 cp ../shedskin-packaging/python25print.diff .
43 patch -p0 < python25print.diff
44
45 Using pbuilder, try and build the package (this example is using my signing
46 key):
47
48 pdebuild --auto-debsign --debsign-k 9F308B3C
49
50 Some files will appear in /var/cache/pbuilder/result/ (such as the binary
51 package files), whereas others will appear in the parent directory.
52
53 Maintenance Notes
54 -----------------
55
56 When packaging a new release, update the release history below along with the
57 debian/changelog file:
58
59 debchange -v 0.5 -D unstable
60
61 Shed Skin Release History
62 =========================
63
64 Release Subversion Revision
65 ------- -------------------
66 0.5 1507
67 0.4 1363
68 0.3-2 1165
69 0.3-1 1165