1.1 --- a/README.txt Sun Apr 11 22:44:43 2010 +0200
1.2 +++ b/README.txt Sun Jun 20 21:42:04 2010 +0200
1.3 @@ -24,6 +24,18 @@
1.4
1.5 cp -R ../shedskin-packaging/debian/ .
1.6
1.7 +Since some problems have arisen in Shed Skin 0.5 with distutils, package data
1.8 +installation and byte-compilation performed by Debian's python-central post-
1.9 +installation scripts, the setup script needs to be patched:
1.10 +
1.11 +cp ../shedskin-packaging/setup.py.diff .
1.12 +patch -p0 < setup.py.diff
1.13 +
1.14 +The shedskin.shared module also needs to be patched:
1.15 +
1.16 +cp ../shedskin-packaging/shared.py.diff .
1.17 +patch -p0 < shared.py.diff
1.18 +
1.19 Using pbuilder, try and build the package (this example is using my signing
1.20 key):
1.21
1.22 @@ -32,11 +44,20 @@
1.23 Some files will appear in /var/cache/pbuilder/result/ (such as the binary
1.24 package files), whereas others will appear in the parent directory.
1.25
1.26 -Release History
1.27 -===============
1.28 +Maintenance Notes
1.29 +-----------------
1.30 +
1.31 +When packaging a new release, update the release history below along with the
1.32 +debian/changelog file:
1.33 +
1.34 +debchange -v 0.5 -D unstable
1.35 +
1.36 +Shed Skin Release History
1.37 +=========================
1.38
1.39 Release Subversion Revision
1.40 ------- -------------------
1.41 +0.5 1507
1.42 0.4 1363
1.43 0.3-2 1165
1.44 0.3-1 1165
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/setup.py.diff Sun Jun 20 21:42:04 2010 +0200
5.3 @@ -0,0 +1,10 @@
5.4 +--- setup.py 2010-06-20 20:55:37.000000000 +0200
5.5 ++++ setup.py 2010-06-20 20:55:47.000000000 +0200
5.6 +@@ -7,6 +7,5 @@
5.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.',
5.8 + url='http://code.google.com/p/shedskin/',
5.9 + scripts=['scripts/shedskin'],
5.10 +- packages=['shedskin'],
5.11 +- package_data={'shedskin': ['lib/*.cpp', 'lib/*.hpp', 'lib/*.py', 'lib/os/*.cpp', 'lib/os/*.hpp', 'lib/os/*.py', 'FLAGS']},
5.12 ++ packages=['shedskin']
5.13 + )
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/shared.py.diff Sun Jun 20 21:42:04 2010 +0200
6.3 @@ -0,0 +1,11 @@
6.4 +--- shedskin/shared.py 2010-06-20 21:19:21.000000000 +0200
6.5 ++++ shedskin/shared.py 2010-06-20 21:19:47.000000000 +0200
6.6 +@@ -39,7 +39,7 @@
6.7 + self.iterations = 0
6.8 + self.lambdawrapper = {}
6.9 + self.sysdir = '/'.join(__file__.split(os.sep)[:-1])
6.10 +- self.libdir = connect_paths(self.sysdir, 'lib')
6.11 ++ self.libdir = connect_paths('/usr/share/shedskin', 'lib')
6.12 + self.main_mod = 'test'
6.13 + self.cpp_keywords = set(['asm', 'auto', 'bool', 'case', 'catch', 'char', 'const', 'const_cast', 'default', 'delete', 'do', 'double', 'dynamic_cast', 'enum', 'explicit', 'export', 'extern', 'false', 'float', 'friend', 'goto', 'inline', 'int', 'long', 'mutable', 'namespace', 'new', 'operator', 'private', 'protected', 'public', 'register', 'reinterpret_cast', 'short', 'signed', 'register', 'sizeof', 'static', 'static_cast', 'struct', 'switch', 'template', 'this', 'throw', 'true', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t'])
6.14 + self.cpp_keywords.update(['stdin', 'stdout', 'stderr', 'std', 'abstract', 'st_mtime', 'st_atime', 'st_ctime', 'errno', 'fileno', 'environ', 'rand', 'optind', 'opterr', 'optopt', 'optarg', 'exit'])