paul@5 | 1 | Shed Skin Packaging for Debian
|
paul@5 | 2 | ==============================
|
paul@5 | 3 |
|
paul@31 | 4 | Firstly, download the latest upstream source release. For example, try and
|
paul@31 | 5 | persuade Gitorious to yield a file by visiting the following address:
|
paul@5 | 6 |
|
paul@34 | 7 | http://gitorious.org/shedskin/mainline/archive-tarball/d35a07c9
|
paul@19 | 8 |
|
paul@19 | 9 | The idea is then to combine the snapshot with this packaging infrastructure.
|
paul@5 | 10 |
|
paul@25 | 11 | Unpack and move into the sources directory:
|
paul@5 | 12 |
|
paul@25 | 13 | cd ..
|
paul@34 | 14 | tar zxf shedskin-mainline-d35a07c9.tar.gz
|
paul@34 | 15 | mv shedskin-mainline shedskin-mainline-d35a07c9
|
paul@34 | 16 | cd shedskin-mainline-d35a07c9
|
paul@5 | 17 |
|
paul@5 | 18 | Now, copy the debian directory from this directory into the export directory:
|
paul@5 | 19 |
|
paul@5 | 20 | cp -R ../shedskin-packaging/debian/ .
|
paul@5 | 21 |
|
paul@21 | 22 | Since some problems have arisen in Shed Skin 0.5 with distutils, package data
|
paul@21 | 23 | installation and byte-compilation performed by Debian's python-central post-
|
paul@21 | 24 | installation scripts, the setup script needs to be patched:
|
paul@21 | 25 |
|
paul@21 | 26 | cp ../shedskin-packaging/setup.py.diff .
|
paul@21 | 27 | patch -p0 < setup.py.diff
|
paul@21 | 28 |
|
paul@21 | 29 | The shedskin.shared module also needs to be patched:
|
paul@21 | 30 |
|
paul@21 | 31 | cp ../shedskin-packaging/shared.py.diff .
|
paul@21 | 32 | patch -p0 < shared.py.diff
|
paul@21 | 33 |
|
paul@34 | 34 | For Shed Skin 0.7.1, the following patch needs to be applied:
|
paul@34 | 35 |
|
paul@34 | 36 | cp ../shedskin-packaging/typename-90ee8e7.diff .
|
paul@34 | 37 | patch -p0 < typename-90ee8e7.diff
|
paul@34 | 38 |
|
paul@34 | 39 | This patch was originally retrieved from the following location:
|
paul@34 | 40 |
|
paul@34 | 41 | http://gitorious.org/shedskin/mainline/commit/90ee8e73115657fa6fee754337f391c7ffc815f5
|
paul@34 | 42 |
|
paul@5 | 43 | Using pbuilder, try and build the package (this example is using my signing
|
paul@5 | 44 | key):
|
paul@5 | 45 |
|
paul@5 | 46 | pdebuild --auto-debsign --debsign-k 9F308B3C
|
paul@5 | 47 |
|
paul@5 | 48 | Some files will appear in /var/cache/pbuilder/result/ (such as the binary
|
paul@5 | 49 | package files), whereas others will appear in the parent directory.
|
paul@10 | 50 |
|
paul@21 | 51 | Maintenance Notes
|
paul@21 | 52 | -----------------
|
paul@21 | 53 |
|
paul@21 | 54 | When packaging a new release, update the release history below along with the
|
paul@21 | 55 | debian/changelog file:
|
paul@21 | 56 |
|
paul@34 | 57 | debchange -v 0.7.1 -D unstable
|
paul@21 | 58 |
|
paul@21 | 59 | Shed Skin Release History
|
paul@21 | 60 | =========================
|
paul@10 | 61 |
|
paul@25 | 62 | Release Git Changeset
|
paul@25 | 63 | ------- -------------
|
paul@34 | 64 | 0.7.1 d35a07c99c29618e0dad6d31a3cf01599c0d758a
|
paul@31 | 65 | 0.7 8fc85b49137a79ca9acc5e63fa9fdfbb50751907
|
paul@25 | 66 | 0.6 1e6708d49e9092a7949ed74b7e339c5245bb6661
|
paul@25 | 67 |
|
paul@10 | 68 | Release Subversion Revision
|
paul@10 | 69 | ------- -------------------
|
paul@21 | 70 | 0.5 1507
|
paul@19 | 71 | 0.4 1363
|
paul@14 | 72 | 0.3-2 1165
|
paul@10 | 73 | 0.3-1 1165
|