1 Shed Skin Packaging for Debian
2 ==============================
3
4 Firstly, download the latest upstream source release. Although it might be
5 desirable to get the latest code from the repository, Debian will eventually
6 be using the actual source releases specified in the watch file.
7
8 However, one can try and persuade Gitorious to yield a file by visiting the
9 following address:
10
11 http://gitorious.org/shedskin/mainline/archive-tarball/d7cf784
12
13 The idea is then to combine the snapshot with this packaging infrastructure.
14
15 Unpack the archive:
16
17 cd ..
18 tar zxf shedskin-mainline-d7cf784.tar.gz
19 mv shedskin-mainline shedskin_0.8
20
21 Make a copy of the archive for Debian non-native packaging purposes:
22
23 tar zcf shedskin_0.8.orig.tar.gz shedskin_0.8
24
25 Move into the sources directory:
26
27 cd shedskin_0.8
28
29 Now, copy the debian directory from this directory into the export directory:
30
31 cp -R ../shedskin-packaging/debian/ .
32
33 There are patches in debian/patches which should be applied when pbuilder is
34 run. These should not need to be applied manually.
35
36 Using pbuilder, try and build the package (this example is using my signing
37 key):
38
39 pdebuild --auto-debsign --debsign-k 9F308B3C
40
41 Add extra options for the first packaging of a new release:
42
43 pdebuild --auto-debsign --debsign-k 9F308B3C --debbuildopts -sa
44
45 This makes sure that the original source archive is produced and referenced in
46 the changes file (used by dput when uploading a package to a Debian package
47 repository/archive).
48
49 For a different distribution:
50
51 pdebuild --auto-debsign --debsign-k 9F308B3C --debbuildopts -sa \
52 -- --distribution squeeze
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.9-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-1 d7cf784f5e12952a5630f6b78b3155995c825a38
74 0.8 7f7388c3dfab40dc1776cfd6334dd41bdaa62beb
75 0.7.1 d35a07c99c29618e0dad6d31a3cf01599c0d758a
76 0.7 8fc85b49137a79ca9acc5e63fa9fdfbb50751907
77 0.6 1e6708d49e9092a7949ed74b7e339c5245bb6661
78
79 Release Subversion Revision
80 ------- -------------------
81 0.5 1507
82 0.4 1363
83 0.3-2 1165
84 0.3-1 1165