r6313 - in packages/trunk/tpclient-pywx/debian: . patches

Barry deFreese bddebian-guest at alioth.debian.org
Wed Mar 26 02:18:38 UTC 2008


Author: bddebian-guest
Date: 2008-03-26 02:18:38 +0000 (Wed, 26 Mar 2008)
New Revision: 6313

Added:
   packages/trunk/tpclient-pywx/debian/patches/01_setup.diff
Modified:
   packages/trunk/tpclient-pywx/debian/changelog
   packages/trunk/tpclient-pywx/debian/patches/series
Log:
01_setup.diff - Patch graphicspath in setup.py.
Another upstream release.


Modified: packages/trunk/tpclient-pywx/debian/changelog
===================================================================
--- packages/trunk/tpclient-pywx/debian/changelog	2008-03-25 23:31:46 UTC (rev 6312)
+++ packages/trunk/tpclient-pywx/debian/changelog	2008-03-26 02:18:38 UTC (rev 6313)
@@ -1,8 +1,9 @@
-tpclient-pywx (0.3.0-1) unstable; urgency=low
+tpclient-pywx (0.3.1-1) unstable; urgency=low
 
   [ Barry deFreese ]
   * Initial release (Closes: #377462)
   * Add quilt patch system
+  * 01_setup.diff - Graphicsdir not being created.
 
  -- Barry deFreese <bddebian at comcast.net>  Mon, 05 Nov 2007 21:33:27 -0500
 

Added: packages/trunk/tpclient-pywx/debian/patches/01_setup.diff
===================================================================
--- packages/trunk/tpclient-pywx/debian/patches/01_setup.diff	                        (rev 0)
+++ packages/trunk/tpclient-pywx/debian/patches/01_setup.diff	2008-03-26 02:18:38 UTC (rev 6313)
@@ -0,0 +1,36 @@
+--- tpclient-pywx-0.3.1.orig/setup.py
++++ tpclient-pywx-0.3.1/setup.py
+@@ -104,16 +104,6 @@
+ 		makedirs(llocalepath)
+ 		shutil.copy2(os.path.join('locale', dir, 'tpclient-pywx.mo'), llocalepath)
+ 
+-	# Graphics files
+-	#########################################################################
+-	graphicspath_temp = os.path.join(temp,   "share/tpclient-pywx/graphics")
+-	graphicspath      = os.path.join(prefix, "share/tpclient-pywx/graphics") 
+-	print 'graphicspath', graphicspath, "(copying to %s)" % graphicspath_temp
+-
+-	if os.path.exists(graphicspath_temp):
+-		shutil.rmtree(graphicspath_temp)
+-	shutil.copytree('graphics', graphicspath_temp)
+-
+ 	# Private python file
+ 	#########################################################################
+ 	codepath_temp = os.path.join(temp,   "share/tpclient-pywx")
+@@ -125,6 +115,16 @@
+ 	except OSError:
+ 		pass
+ 
++	# Graphics files
++	#########################################################################
++	graphicspath_temp = os.path.join(temp,   "share/tpclient-pywx/graphics")
++	graphicspath      = os.path.join(prefix, "share/tpclient-pywx/graphics") 
++	print 'graphicspath', graphicspath, "(copying to %s)" % graphicspath_temp
++
++	if os.path.exists(graphicspath_temp):
++		shutil.rmtree(graphicspath_temp)
++	shutil.copytree('graphics', graphicspath_temp)
++
+ 	privatefiles = ['tpclient-pywx', 'version.py', 'requirements.py', 'utils.py', 'windows', 'extra']
+ 	for file in privatefiles:
+ 		if os.path.isfile(file):

Modified: packages/trunk/tpclient-pywx/debian/patches/series
===================================================================
--- packages/trunk/tpclient-pywx/debian/patches/series	2008-03-25 23:31:46 UTC (rev 6312)
+++ packages/trunk/tpclient-pywx/debian/patches/series	2008-03-26 02:18:38 UTC (rev 6313)
@@ -0,0 +1 @@
+01_setup.diff




More information about the Pkg-games-commits mailing list