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/d7cf784
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-d7cf784.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 There are patches in debian/patches which should be applied when pbuilder is
30 run. These should not need to be applied manually.
31
32 Using pbuilder, try and build the package (this example is using my signing
33 key):
34
35 pdebuild --auto-debsign --debsign-k 9F308B3C
36
37 Add extra options for the first packaging of a new release:
38
39 pdebuild --auto-debsign --debsign-k 9F308B3C --debbuildopts -sa
40
41 This makes sure that the original source archive is produced and referenced in
42 the changes file (used by dput when uploading a package to a Debian package
43 repository/archive).
44
45 For a different distribution:
46
47 pdebuild --auto-debsign --debsign-k 9F308B3C --debbuildopts -sa \
48 -- --distribution squeeze
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.8-1 -D unstable
60
61 The "-n" part of the version number causes a non-native Debian package to be
62 produced.
63
64 Shed Skin Release History
65 =========================
66
67 Release Git Changeset
68 ------- -------------
69 0.8-1 d7cf784f5e12952a5630f6b78b3155995c825a38
70 0.8 7f7388c3dfab40dc1776cfd6334dd41bdaa62beb
71 0.7.1 d35a07c99c29618e0dad6d31a3cf01599c0d758a
72 0.7 8fc85b49137a79ca9acc5e63fa9fdfbb50751907
73 0.6 1e6708d49e9092a7949ed74b7e339c5245bb6661
74
75 Release Subversion Revision
76 ------- -------------------
77 0.5 1507
78 0.4 1363
79 0.3-2 1165
80 0.3-1 1165