# HG changeset patch # User Paul Boddie # Date 1314564620 -7200 # Node ID deb95640c059306301bc369c3a4298f9e7ecfd8d # Parent 7a886fb1f0d42c5219c9958463d2effb86d74e2e Added a patch which changes the version number to 0.8 in various places. Fixed the man page packaging. diff -r 7a886fb1f0d4 -r deb95640c059 debian/patches/fix-versions.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/patches/fix-versions.patch Sun Aug 28 22:50:20 2011 +0200 @@ -0,0 +1,43 @@ +Index: shedskin_0.8/setup.py +=================================================================== +--- shedskin_0.8.orig/setup.py 2011-08-28 20:53:43.000000000 +0200 ++++ shedskin_0.8/setup.py 2011-08-28 20:53:52.000000000 +0200 +@@ -19,7 +19,7 @@ + os.chdir(self.cwd) + + setup(name='shedskin', +- version='0.9', ++ version='0.8', + 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.', + url='http://code.google.com/p/shedskin/', + scripts=['scripts/shedskin'], +Index: shedskin_0.8/shedskin/__init__.py +=================================================================== +--- shedskin_0.8.orig/shedskin/__init__.py 2011-08-28 20:52:53.000000000 +0200 ++++ shedskin_0.8/shedskin/__init__.py 2011-08-28 20:53:18.000000000 +0200 +@@ -63,7 +63,7 @@ + + + if not getgx().silent: +- print '*** SHED SKIN Python-to-C++ Compiler 0.9 ***' ++ print '*** SHED SKIN Python-to-C++ Compiler 0.8 ***' + print 'Copyright 2005-2011 Mark Dufour; License GNU GPL version 3 (See LICENSE)' + print + +Index: shedskin_0.8/shedskin/lib/sys.cpp +=================================================================== +--- shedskin_0.8.orig/shedskin/lib/sys.cpp 2011-08-28 20:53:04.000000000 +0200 ++++ shedskin_0.8/shedskin/lib/sys.cpp 2011-08-28 20:53:30.000000000 +0200 +@@ -18,10 +18,10 @@ + argv = new list(); + + #if defined( _MSC_VER ) +- version = new str("Shed Skin Python-to-C++ Compiler 0.9\n[MSVC "); ++ version = new str("Shed Skin Python-to-C++ Compiler 0.8\n[MSVC "); + version = version->__add__(__str(_MSC_VER))->__add__(new str("]")); + #else +- version = new str("Shed Skin Python-to-C++ Compiler 0.9\n[GCC "); ++ version = new str("Shed Skin Python-to-C++ Compiler 0.8\n[GCC "); + version = version->__add__(new str(__VERSION__))->__add__(new str("]")); + #endif + version_info = new tuple2<__ss_int, __ss_int>(5, (__ss_int)2, (__ss_int)6, (__ss_int)6, (__ss_int)0, (__ss_int)0); diff -r 7a886fb1f0d4 -r deb95640c059 debian/patches/series --- a/debian/patches/series Sun Aug 28 20:06:32 2011 +0200 +++ b/debian/patches/series Sun Aug 28 22:50:20 2011 +0200 @@ -1,2 +1,3 @@ setup.py.patch shared.py.patch +fix-versions.patch diff -r 7a886fb1f0d4 -r deb95640c059 debian/patches/setup.py.patch --- a/debian/patches/setup.py.patch Sun Aug 28 20:06:32 2011 +0200 +++ b/debian/patches/setup.py.patch Sun Aug 28 22:50:20 2011 +0200 @@ -2,7 +2,7 @@ Index: shedskin_0.8/setup.py =================================================================== --- shedskin_0.8.orig/setup.py 2011-08-28 18:19:19.000000000 +0200 -+++ shedskin_0.8/setup.py 2011-08-28 19:54:15.000000000 +0200 ++++ shedskin_0.8/setup.py 2011-08-28 20:52:37.000000000 +0200 @@ -25,5 +25,5 @@ scripts=['scripts/shedskin'], cmdclass={'test':run_tests}, diff -r 7a886fb1f0d4 -r deb95640c059 debian/patches/shared.py.patch --- a/debian/patches/shared.py.patch Sun Aug 28 20:06:32 2011 +0200 +++ b/debian/patches/shared.py.patch Sun Aug 28 22:50:20 2011 +0200 @@ -2,7 +2,7 @@ Index: shedskin_0.8/shedskin/shared.py =================================================================== --- shedskin_0.8.orig/shedskin/shared.py 2011-08-28 18:19:19.000000000 +0200 -+++ shedskin_0.8/shedskin/shared.py 2011-08-28 19:54:21.000000000 +0200 ++++ shedskin_0.8/shedskin/shared.py 2011-08-28 20:52:42.000000000 +0200 @@ -39,7 +39,7 @@ self.total_iterations = 0 self.lambdawrapper = {} diff -r 7a886fb1f0d4 -r deb95640c059 debian/rules --- a/debian/rules Sun Aug 28 20:06:32 2011 +0200 +++ b/debian/rules Sun Aug 28 22:50:20 2011 +0200 @@ -7,5 +7,5 @@ dh $@ --with python2 override_dh_auto_build: + rst2man doc/shedskin.rst debian/shedskin.1 dh_auto_build - rst2man doc/shedskin.rst debian/shedskin.1 diff -r 7a886fb1f0d4 -r deb95640c059 debian/shedskin.manpages --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/shedskin.manpages Sun Aug 28 22:50:20 2011 +0200 @@ -0,0 +1,1 @@ +debian/shedskin.1