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@31 | 7 | http://gitorious.org/shedskin/mainline/archive-tarball/8fc85b49
|
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@31 | 14 | tar zxf shedskin-mainline-8fc85b49.tar.gz
|
paul@31 | 15 | mv shedskin-mainline shedskin-mainline-8fc85b49
|
paul@31 | 16 | cd shedskin-mainline-8fc85b49
|
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@5 | 34 | Using pbuilder, try and build the package (this example is using my signing
|
paul@5 | 35 | key):
|
paul@5 | 36 |
|
paul@5 | 37 | pdebuild --auto-debsign --debsign-k 9F308B3C
|
paul@5 | 38 |
|
paul@5 | 39 | Some files will appear in /var/cache/pbuilder/result/ (such as the binary
|
paul@5 | 40 | package files), whereas others will appear in the parent directory.
|
paul@10 | 41 |
|
paul@21 | 42 | Maintenance Notes
|
paul@21 | 43 | -----------------
|
paul@21 | 44 |
|
paul@21 | 45 | When packaging a new release, update the release history below along with the
|
paul@21 | 46 | debian/changelog file:
|
paul@21 | 47 |
|
paul@31 | 48 | debchange -v 0.7 -D unstable
|
paul@21 | 49 |
|
paul@21 | 50 | Shed Skin Release History
|
paul@21 | 51 | =========================
|
paul@10 | 52 |
|
paul@25 | 53 | Release Git Changeset
|
paul@25 | 54 | ------- -------------
|
paul@31 | 55 | 0.7 8fc85b49137a79ca9acc5e63fa9fdfbb50751907
|
paul@25 | 56 | 0.6 1e6708d49e9092a7949ed74b7e339c5245bb6661
|
paul@25 | 57 |
|
paul@10 | 58 | Release Subversion Revision
|
paul@10 | 59 | ------- -------------------
|
paul@21 | 60 | 0.5 1507
|
paul@19 | 61 | 0.4 1363
|
paul@14 | 62 | 0.3-2 1165
|
paul@10 | 63 | 0.3-1 1165
|