# HG changeset patch # User Paul Boddie # Date 1309015167 -7200 # Node ID d9e9a63e3e08d08539acae6929e0cc22a56659bd # Parent 18fa06698620c13f23d77086ef960dfedeeb517c Support non-native packaging. diff -r 18fa06698620 -r d9e9a63e3e08 README.txt --- a/README.txt Sat Jun 25 02:43:01 2011 +0200 +++ b/README.txt Sat Jun 25 17:19:27 2011 +0200 @@ -8,12 +8,19 @@ The idea is then to combine the snapshot with this packaging infrastructure. -Unpack and move into the sources directory: +Unpack the archive: cd .. tar zxf shedskin-mainline-7f7388c.tar.gz -mv shedskin-mainline shedskin-mainline-7f7388c -cd shedskin-mainline-7f7388c +mv shedskin-mainline shedskin_0.8 + +Make a copy of the archive for Debian non-native packaging purposes: + +tar zcf shedskin_0.8.orig.tar.gz shedskin_0.8 + +Move into the sources directory: + +cd shedskin_0.8 Now, copy the debian directory from this directory into the export directory: @@ -36,6 +43,14 @@ pdebuild --auto-debsign --debsign-k 9F308B3C +Add extra options for the first packaging of a new release: + +pdebuild --auto-debsign --debsign-k 9F308B3C --debbuildopts -sa + +This makes sure that the original source archive is produced and referenced in +the changes file (used by dput when uploading a package to a Debian package +repository/archive). + Some files will appear in /var/cache/pbuilder/result/ (such as the binary package files), whereas others will appear in the parent directory. @@ -45,7 +60,10 @@ When packaging a new release, update the release history below along with the debian/changelog file: -debchange -v 0.8 -D unstable +debchange -v 0.8-1 -D unstable + +The "-n" part of the version number causes a non-native Debian package to be +produced. Shed Skin Release History ========================= diff -r 18fa06698620 -r d9e9a63e3e08 debian/changelog --- a/debian/changelog Sat Jun 25 02:43:01 2011 +0200 +++ b/debian/changelog Sat Jun 25 17:19:27 2011 +0200 @@ -1,3 +1,9 @@ +shedskin (0.8-1) unstable; urgency=low + + * Make the package a non-native package. + + -- Paul Boddie Sat, 25 Jun 2011 15:47:39 +0200 + shedskin (0.8) unstable; urgency=low * New upstream release.