r5900 - in packages/trunk/tpclient-pywx/debian: . patches
Barry deFreese
bddebian-guest at alioth.debian.org
Fri Feb 22 14:39:49 UTC 2008
Author: bddebian-guest
Date: 2008-02-22 14:39:49 +0000 (Fri, 22 Feb 2008)
New Revision: 5900
Removed:
packages/trunk/tpclient-pywx/debian/patches/01_requirements_chmod.diff
Modified:
packages/trunk/tpclient-pywx/debian/changelog
packages/trunk/tpclient-pywx/debian/control
packages/trunk/tpclient-pywx/debian/rules
Log:
Update for new upstream.
Modified: packages/trunk/tpclient-pywx/debian/changelog
===================================================================
--- packages/trunk/tpclient-pywx/debian/changelog 2008-02-22 14:27:19 UTC (rev 5899)
+++ packages/trunk/tpclient-pywx/debian/changelog 2008-02-22 14:39:49 UTC (rev 5900)
@@ -1,9 +1,8 @@
-tpclient-pywx (0.2.2-1) UNRELEASED; urgency=low
+tpclient-pywx (0.3.0-1) unstable; urgency=low
[ Barry deFreese ]
* Initial release (Closes: #377462)
* Add quilt patch system
- * 01_requirements_chmod.diff - Fix check on permissions
-- Barry deFreese <bddebian at comcast.net> Mon, 05 Nov 2007 21:33:27 -0500
Modified: packages/trunk/tpclient-pywx/debian/control
===================================================================
--- packages/trunk/tpclient-pywx/debian/control 2008-02-22 14:27:19 UTC (rev 5899)
+++ packages/trunk/tpclient-pywx/debian/control 2008-02-22 14:39:49 UTC (rev 5900)
@@ -13,7 +13,7 @@
Package: tpclient-pywx
Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python, python-numarray, python-wxgtk2.6, python-tp-netlib, python-tp-clientlib, python-gnome2
+Depends: ${python:Depends}, ${misc:Depends}, python, python-numarray, python-wxgtk2.8, python-tp-netlib, python-tp-client, python-gnome2
Recommends: python-imaging, python-pyopenssl, python-psyco [i386 hurd-i386 netbsd-i386 kfreebsd-i386]
XB-Python-Version: ${python:Versions}
Description: Thousand Parsec Python client
Deleted: packages/trunk/tpclient-pywx/debian/patches/01_requirements_chmod.diff
===================================================================
--- packages/trunk/tpclient-pywx/debian/patches/01_requirements_chmod.diff 2008-02-22 14:27:19 UTC (rev 5899)
+++ packages/trunk/tpclient-pywx/debian/patches/01_requirements_chmod.diff 2008-02-22 14:39:49 UTC (rev 5900)
@@ -1,15 +0,0 @@
-diff -urN tpclient-pywx.orig/requirements.py tpclient-pywx/requirements.py
---- tpclient-pywx.orig/requirements.py 2007-03-05 06:04:58.000000000 -0500
-+++ tpclient-pywx/requirements.py 2008-01-08 10:56:42.000000000 -0500
-@@ -144,7 +144,10 @@
- else:
- print location
- # Check the file is executable
-- os.chmod(location, stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR|stat.S_IRGRP|stat.S_IXGRP|stat.S_IROTH|stat.S_IXOTH)
-+ try:
-+ os.chmod(location, stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR|stat.S_IRGRP|stat.S_IXGRP|stat.S_IROTH|stat.S_IXOTH)
-+ except OSError, e:
-+ print "Could not make the client's file executable", e
-
- # Register the URL Handlers
- try:
Modified: packages/trunk/tpclient-pywx/debian/rules
===================================================================
--- packages/trunk/tpclient-pywx/debian/rules 2008-02-22 14:27:19 UTC (rev 5899)
+++ packages/trunk/tpclient-pywx/debian/rules 2008-02-22 14:39:49 UTC (rev 5900)
@@ -6,7 +6,7 @@
include /usr/share/quilt/quilt.make
-PYVERS=$(shell pyversions -r)
+PYVERS=$(shell pyversions -vr)
build: build-stamp
build-stamp: patch
@@ -26,11 +26,16 @@
dh_clean
rm -rf build
-install: build
+install: install-stamp
+install-stamp: build $(PYVERS:%=install-ext-%)
+install-ext-%:
dh_testdir
dh_testroot
dh_clean -k
+ python$* setup.py --temp=$(CURDIR)/debian/tpclient-pywx/usr \
+ --prefix=/usr install
+
dh_installdirs
dh_install
@@ -40,11 +45,11 @@
dh_installchangelogs
dh_installdocs
dh_link
- dh_compress
+ dh_compress -X.py
dh_fixperms
- chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/tpclient-pywx
- chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/doc/tp-pywx-installed
- chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/extra/wxFloatCanvas/FloatCanvas.py
+# chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/tpclient-pywx
+# chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/doc/tp-pywx-installed
+# chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/extra/wxFloatCanvas/FloatCanvas.py
dh_pysupport
dh_installdeb
dh_gencontrol
More information about the Pkg-games-commits
mailing list