# HG changeset patch # User Paul Boddie # Date 1314572295 -7200 # Node ID d37b9f876e1bc59549a17209cb76fec9e4a352e1 # Parent deb95640c059306301bc369c3a4298f9e7ecfd8d Fixed the man page, adding another patch. diff -r deb95640c059 -r d37b9f876e1b debian/patches/fix-manpage.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/patches/fix-manpage.patch Mon Aug 29 00:58:15 2011 +0200 @@ -0,0 +1,51 @@ +Index: shedskin_0.8/doc/shedskin.rst +=================================================================== +--- shedskin_0.8.orig/doc/shedskin.rst 2011-08-28 22:54:42.000000000 +0200 ++++ shedskin_0.8/doc/shedskin.rst 2011-08-28 22:55:46.000000000 +0200 +@@ -17,6 +17,22 @@ + + shedskin [OPTION]... FILE + ++DESCRIPTION ++=========== ++ ++Shed Skin is an experimental Python-to-C++ compiler designed to speed up the execution of Python programs. It converts programs written in a static subset of Python to C++. The C++ code can be compiled to executable code, which can be run either as a standalone program or as a module imported and called from CPython. ++ ++LIMITATIONS ++=========== ++(See the documentation for a more detailed overview.) ++ ++1. Variables must be (implicitly) statically typed. Abstract types (as in C++) are supported. ++2. Several Python features cannot be used or only partially. For example, nested functions and variable numbers of arguments are not supported. ++3. Programs cannot freely use the standard library, only those available in ``lib/``. ++ ++OPTIONS ++======= ++ + -a --ann Output annotated source code (.ss.py) + + -b --nobounds Disable bounds checking +@@ -39,23 +55,6 @@ + + -w --nowrap Disable wrap-around checking + +-DESCRIPTION +-=========== +- +-Shed Skin is an experimental Python-to-C++ compiler designed to speed up the execution of Python programs. It converts programs written in a static subset of Python to C++. The C++ code can be compiled to executable code, which can be run either as a standalone program or as a module imported and called from CPython. +- +-LIMITATIONS +-=========== +-(See the documentation for a more detailed overview.) +- +-1. Variables must be (implicitly) statically typed. Abstract types (as in C++) are supported. +-2. Several Python features cannot be used or only partially. For example, nested functions and variable numbers of arguments are not supported. +-3. Programs cannot freely use the standard library, only those available in ``lib/``. +- +-OPTIONS +-======= +- +- + THANKS + ====== + Google, Bearophile, Hakan Ardo, Brian Blais, Paul Boddie, François Boutines, Djamel Cherif, Mark Dewing, James Coughlan, Victor Garcia, Luis M. Gonzales, Karel Heyse, Denis de Leeuw Duarte, Michael Elkins, Enzo Erbano, FFAO, Fahrzim Hemmati, Van Lindberg, David Marek, Douglas McNeil, Andy Miller, Jeff Miller, Danny Milosavljevic, Joaquin Abian Monux, John Nagle, Harri Pasanen, Brent Pedersen, Joris van Rantwijk, Jeremie Roquet, Mike Schrick, SirNotAppearingInThisManPage, Thomas Spura, Dave Tweed, Jaroslaw Tworek, Pavel Vinogradov, Jason Ye, Joris van Zwieten diff -r deb95640c059 -r d37b9f876e1b debian/patches/fix-versions.patch --- a/debian/patches/fix-versions.patch Sun Aug 28 22:50:20 2011 +0200 +++ b/debian/patches/fix-versions.patch Mon Aug 29 00:58:15 2011 +0200 @@ -1,7 +1,7 @@ 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 +--- shedskin_0.8.orig/setup.py 2011-08-28 22:51:53.000000000 +0200 ++++ shedskin_0.8/setup.py 2011-08-28 22:52:01.000000000 +0200 @@ -19,7 +19,7 @@ os.chdir(self.cwd) @@ -13,8 +13,8 @@ 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 +--- shedskin_0.8.orig/shedskin/__init__.py 2011-08-28 18:19:19.000000000 +0200 ++++ shedskin_0.8/shedskin/__init__.py 2011-08-28 22:52:01.000000000 +0200 @@ -63,7 +63,7 @@ @@ -26,8 +26,8 @@ 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 +--- shedskin_0.8.orig/shedskin/lib/sys.cpp 2011-08-28 18:19:19.000000000 +0200 ++++ shedskin_0.8/shedskin/lib/sys.cpp 2011-08-28 22:52:01.000000000 +0200 @@ -18,10 +18,10 @@ argv = new list(); @@ -41,3 +41,19 @@ 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); +Index: shedskin_0.8/doc/shedskin.rst +=================================================================== +--- shedskin_0.8.orig/doc/shedskin.rst 2011-08-28 22:54:04.000000000 +0200 ++++ shedskin_0.8/doc/shedskin.rst 2011-08-28 22:54:18.000000000 +0200 +@@ -7,9 +7,9 @@ + --------------------------------------------------- + + :Author: mark.dufour@gmail.com +-:Date: 2010-10-16 ++:Date: 2011-08-28 + :Copyright: GPL version 3 or later +-:Version: 0.6 ++:Version: 0.8 + :Manual section: 1 + + SYNOPSIS diff -r deb95640c059 -r d37b9f876e1b debian/patches/setup.py.patch --- a/debian/patches/setup.py.patch Sun Aug 28 22:50:20 2011 +0200 +++ b/debian/patches/setup.py.patch Mon Aug 29 00:58:15 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 20:52:37.000000000 +0200 ++++ shedskin_0.8/setup.py 2011-08-28 22:51:53.000000000 +0200 @@ -25,5 +25,5 @@ scripts=['scripts/shedskin'], cmdclass={'test':run_tests}, diff -r deb95640c059 -r d37b9f876e1b debian/patches/shared.py.patch --- a/debian/patches/shared.py.patch Sun Aug 28 22:50:20 2011 +0200 +++ b/debian/patches/shared.py.patch Mon Aug 29 00:58:15 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 20:52:42.000000000 +0200 ++++ shedskin_0.8/shedskin/shared.py 2011-08-28 22:51:58.000000000 +0200 @@ -39,7 +39,7 @@ self.total_iterations = 0 self.lambdawrapper = {}