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