tags 380914 + patch
thanks
Attached patch will only make necessary changes for the new python
policy, some other issues still has not been resolved, i.e.
* old Standards-Version
* missed space before Homepage pseudo header (dev ref 6.2.4)
* file permission problems, after saving scores I'm getting:
Traceback (most recent call last):
File "/usr/bin/pyracerz", line 276, in ?
if __name__ == '__main__': main()
File "/usr/bin/pyracerz", line 179, in main
race.play()
File "/usr/share/games/pyracerz/modules/game.py", line 546, in play
self.computeScores(currentTrack)
File "/usr/share/games/pyracerz/modules/game.py", line 609, in computeScores
if misc.addHiScore(track, play) == 1:
File "/usr/share/games/pyracerz/modules/misc.py", line 183, in addHiScore
fwrite = file("/var/games/pyracerz/pyracerz.conf", "w+")
IOError: [Errno 13] Permission denied: '/var/games/pyracerz/pyracerz.conf'
--
-=[ Piotr Ozarowski ]=-
-=[ http://www.ozarowski.pl ]=-
diff -u pyracerz-0.2/debian/control pyracerz-0.2/debian/control
--- pyracerz-0.2/debian/control
+++ pyracerz-0.2/debian/control
@@ -3,13 +3,16 @@
Priority: optional
Maintainer: Jose Carlos Medeiros <debian@psabs.com.br>
Uploaders: Ola Lundqvist <opal@debian.org>
-Build-Depends: debhelper (>= 5), docbook-to-man, python (>= 2.3.5)
+Build-Depends: debhelper (>= 5.0.37.2), docbook-to-man
+Build-Depends-Indep: python-central (>= 0.5), python (>= 2.3.5-11)
+XS-Python-Version: current
Standards-Version: 3.6.2
Package: pyracerz
Architecture: all
-Depends: ${shlibs:Depends}, python (>= 2.3.5), python-pygame (>= 1.7.0), libsdl-ttf2.0-0
+Depends: ${python:Depends}, ${shlibs:Depends}, python-pygame (>= 1.7.0), libsdl-ttf2.0-0
Recommends: python-psyco
+XB-Python-Version: ${python:Versions}
Description: multiplayer top view 2D racing game
It features multiplayer (on the same computer), tournaments, high scores,
replays, 6 tracks (really 12, because each track can be used Normal or
diff -u pyracerz-0.2/debian/rules pyracerz-0.2/debian/rules
--- pyracerz-0.2/debian/rules
+++ pyracerz-0.2/debian/rules
@@ -82,6 +82,7 @@
dh_strip
dh_compress
dh_fixperms
+ dh_pycentral
dh_python
dh_installdeb
dh_shlibdeps
only in patch2:
unchanged:
--- pyracerz-0.2.orig/debian/pycompat
+++ pyracerz-0.2/debian/pycompat
@@ -0,0 +1 @@
+2
Attachment:
pgpaYXEzKu8rI.pgp
Description: PGP signature