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/7f7388c
8
9 The idea is then to combine the snapshot with this packaging infrastructure.
10
11 Unpack the archive:
12
13 cd ..
14 tar zxf shedskin-mainline-7f7388c.tar.gz
15 mv shedskin-mainline shedskin_0.8
16
17 Make a copy of the archive for Debian non-native packaging purposes:
18
19 tar zcf shedskin_0.8.orig.tar.gz shedskin_0.8
20
21 Move into the sources directory:
22
23 cd shedskin_0.8
24
25 Now, copy the debian directory from this directory into the export directory:
26
27 cp -R ../shedskin-packaging/debian/ .
28
29 Since some problems have arisen in Shed Skin 0.5 with distutils, package data
30 installation and byte-compilation performed by Debian's python-central post-
31 installation scripts, the setup script needs to be patched:
32
33 cp ../shedskin-packaging/setup.py.diff .
34 patch -p0 < setup.py.diff
35
36 The shedskin.shared module also needs to be patched:
37
38 cp ../shedskin-packaging/shared.py.diff .
39 patch -p0 < shared.py.diff
40
41 Using pbuilder, try and build the package (this example is using my signing
42 key):
43
44 pdebuild --auto-debsign --debsign-k 9F308B3C
45
46 Add extra options for the first packaging of a new release:
47
48 pdebuild --auto-debsign --debsign-k 9F308B3C --debbuildopts -sa
49
50 This makes sure that the original source archive is produced and referenced in
51 the changes file (used by dput when uploading a package to a Debian package
52 repository/archive).
53
54 Some files will appear in /var/cache/pbuilder/result/ (such as the binary
55 package files), whereas others will appear in the parent directory.
56
57 Maintenance Notes
58 -----------------
59
60 When packaging a new release, update the release history below along with the
61 debian/changelog file:
62
63 debchange -v 0.8-1 -D unstable
64
65 The "-n" part of the version number causes a non-native Debian package to be
66 produced.
67
68 Shed Skin Release History
69 =========================
70
71 Release Git Changeset
72 ------- -------------
73 0.8 7f7388c3dfab40dc1776cfd6334dd41bdaa62beb
74 0.7.1 d35a07c99c29618e0dad6d31a3cf01599c0d758a
75 0.7 8fc85b49137a79ca9acc5e63fa9fdfbb50751907
76 0.6 1e6708d49e9092a7949ed74b7e339c5245bb6661
77
78 Release Subversion Revision
79 ------- -------------------
80 0.5 1507
81 0.4 1363
82 0.3-2 1165
83 0.3-1 1165