shedskin-packaging

Changeset

31:13e059bf53b7
2011-01-10 Paul Boddie raw files shortlog changelog graph Updated the packaging for 0.7. The python-dev package seems to be required when building extension modules.
README.txt (file) debian/changelog (file) debian/control (file) setup.py.diff (file)
     1.1 --- a/README.txt	Mon Oct 18 00:41:13 2010 +0200
     1.2 +++ b/README.txt	Mon Jan 10 00:27:21 2011 +0100
     1.3 @@ -1,18 +1,19 @@
     1.4  Shed Skin Packaging for Debian
     1.5  ==============================
     1.6  
     1.7 -Firstly, download the latest upstream source release. For example:
     1.8 +Firstly, download the latest upstream source release. For example, try and
     1.9 +persuade Gitorious to yield a file by visiting the following address:
    1.10  
    1.11 -wget http://gitorious.org/shedskin/mainline/archive-tarball/1e6708d4
    1.12 +http://gitorious.org/shedskin/mainline/archive-tarball/8fc85b49
    1.13  
    1.14  The idea is then to combine the snapshot with this packaging infrastructure.
    1.15  
    1.16  Unpack and move into the sources directory:
    1.17  
    1.18  cd ..
    1.19 -tar zxf shedskin-mainline-1e6708d4.tar.gz
    1.20 -mv shedskin-mainline shedskin-mainline-1e6708d4
    1.21 -cd shedskin-mainline-1e6708d4
    1.22 +tar zxf shedskin-mainline-8fc85b49.tar.gz
    1.23 +mv shedskin-mainline shedskin-mainline-8fc85b49
    1.24 +cd shedskin-mainline-8fc85b49
    1.25  
    1.26  Now, copy the debian directory from this directory into the export directory:
    1.27  
    1.28 @@ -44,13 +45,14 @@
    1.29  When packaging a new release, update the release history below along with the
    1.30  debian/changelog file:
    1.31  
    1.32 -debchange -v 0.6 -D unstable
    1.33 +debchange -v 0.7 -D unstable
    1.34  
    1.35  Shed Skin Release History
    1.36  =========================
    1.37  
    1.38  Release     Git Changeset
    1.39  -------     -------------
    1.40 +0.7         8fc85b49137a79ca9acc5e63fa9fdfbb50751907
    1.41  0.6         1e6708d49e9092a7949ed74b7e339c5245bb6661
    1.42  
    1.43  Release     Subversion Revision
     2.1 --- a/debian/changelog	Mon Oct 18 00:41:13 2010 +0200
     2.2 +++ b/debian/changelog	Mon Jan 10 00:27:21 2011 +0100
     2.3 @@ -1,3 +1,9 @@
     2.4 +shedskin (0.7) unstable; urgency=low
     2.5 +
     2.6 +  * New upstream release.
     2.7 +
     2.8 + -- Paul Boddie <paul@boddie.org.uk>  Sun, 09 Jan 2011 22:32:48 +0100
     2.9 +
    2.10  shedskin (0.6) unstable; urgency=low
    2.11  
    2.12    * New upstream release.
     3.1 --- a/debian/control	Mon Oct 18 00:41:13 2010 +0200
     3.2 +++ b/debian/control	Mon Jan 10 00:27:21 2011 +0100
     3.3 @@ -12,7 +12,7 @@
     3.4  Package: shedskin
     3.5  Architecture: all
     3.6  Depends: ${python:Depends}, libgc-dev (>= 6.8), libpcre3-dev (>= 7.4)
     3.7 -Suggests: g++, make
     3.8 +Suggests: g++, make, python-dev
     3.9  XB-Python-Version: ${python:Versions}
    3.10  Description: Python-to-C++ compiler designed to speed up Python programs
    3.11   Shed Skin converts programs written in a static subset of Python to C++.
     4.1 --- a/setup.py.diff	Mon Oct 18 00:41:13 2010 +0200
     4.2 +++ b/setup.py.diff	Mon Jan 10 00:27:21 2011 +0100
     4.3 @@ -1,11 +1,9 @@
     4.4 ---- setup.py	2010-06-20 20:55:37.000000000 +0200
     4.5 -+++ setup.py	2010-06-20 20:55:47.000000000 +0200
     4.6 -@@ -7,6 +7,6 @@
     4.7 -       description='Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs.',
     4.8 +--- setup.py	2010-12-10 18:50:30.000000000 +0100
     4.9 ++++ setup.py	2011-01-09 22:31:09.000000000 +0100
    4.10 +@@ -8,5 +8,5 @@
    4.11         url='http://code.google.com/p/shedskin/',
    4.12         scripts=['scripts/shedskin'],
    4.13 --      packages=['shedskin'],
    4.14 --      package_data={'shedskin': ['lib/*.cpp', 'lib/*.hpp', 'lib/*.py', 'lib/os/*.cpp', 'lib/os/*.hpp', 'lib/os/*.py', 'FLAGS']},
    4.15 -+      packages=['shedskin'],
    4.16 -+      package_data={'shedskin': ['FLAGS']},
    4.17 +       packages=['shedskin'],
    4.18 +-      package_data={'shedskin': ['lib/*.cpp', 'lib/*.hpp', 'lib/*.py', 'lib/os/*.cpp', 'lib/os/*.hpp', 'lib/os/*.py', 'FLAGS', 'illegal']},
    4.19 ++      package_data={'shedskin': ['FLAGS', 'illegal']},
    4.20        )