[Python-modules-commits] r5350 - in packages/python-xlrd/trunk/debian (4 files)

thomasbl-guest at users.alioth.debian.org thomasbl-guest at users.alioth.debian.org
Mon May 19 18:59:39 UTC 2008


    Date: Monday, May 19, 2008 @ 18:59:36
  Author: thomasbl-guest
Revision: 5350

* remove usr/share/pyshared/.../{docs,examples}

Added:
  packages/python-xlrd/trunk/debian/patches/setup.py.dpatch
Modified:
  packages/python-xlrd/trunk/debian/control
  packages/python-xlrd/trunk/debian/patches/00list
  packages/python-xlrd/trunk/debian/rules

Modified: packages/python-xlrd/trunk/debian/control
===================================================================
--- packages/python-xlrd/trunk/debian/control	2008-05-19 18:47:08 UTC (rev 5349)
+++ packages/python-xlrd/trunk/debian/control	2008-05-19 18:59:36 UTC (rev 5350)
@@ -5,7 +5,7 @@
 Maintainer: Thomas Bläsing <thomasbl at pool.math.tu-berlin.de>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Standards-Version: 3.7.3
-Build-Depends: python, debhelper (>= 5), dpatch (>= 2.0.29)
+Build-Depends: python, debhelper (>= 5), dpatch (>= 2.0.29), python-central (>= 0.6)
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-xlrd
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-xlrd/trunk/?op=log
 

Modified: packages/python-xlrd/trunk/debian/patches/00list
===================================================================
--- packages/python-xlrd/trunk/debian/patches/00list	2008-05-19 18:47:08 UTC (rev 5349)
+++ packages/python-xlrd/trunk/debian/patches/00list	2008-05-19 18:59:36 UTC (rev 5350)
@@ -1 +1,2 @@
 runxlrd
+setup.py

Added: packages/python-xlrd/trunk/debian/patches/setup.py.dpatch
===================================================================
--- packages/python-xlrd/trunk/debian/patches/setup.py.dpatch	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/patches/setup.py.dpatch	2008-05-19 18:59:36 UTC (rev 5350)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## setup.py.dpatch by  <thomasbl at frosty.local>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: remove usr/pyshared/.../{docs,examples}/*
+
+ at DPATCH@
+diff -urNad xlrd-0.6.1~/setup.py xlrd-0.6.1/setup.py
+--- xlrd-0.6.1~/setup.py	2007-06-10 08:40:44.000000000 +0000
++++ xlrd-0.6.1/setup.py	2008-05-19 20:01:20.000000000 +0000
+@@ -56,12 +56,7 @@
+ if python_version >= (2, 4):
+     args24 = mkargs(
+         package_data={
+-            'xlrd': [
+-                'doc/*.htm*',
+-                # 'doc/*.txt',
+-                'examples/*.*',
+-                ],
+-
++            'xlrd': [],
+             },
+         )
+     args.update(args24)


Property changes on: packages/python-xlrd/trunk/debian/patches/setup.py.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/python-xlrd/trunk/debian/rules
===================================================================
--- packages/python-xlrd/trunk/debian/rules	2008-05-19 18:47:08 UTC (rev 5349)
+++ packages/python-xlrd/trunk/debian/rules	2008-05-19 18:59:36 UTC (rev 5350)
@@ -24,10 +24,7 @@
 binary-indep: install
 	dh_testdir
 	dh_testroot
-	
-	# if activated /us/lib/python2.4/... will be deleted and stuff goes to /usr/share/pyshared/...
-	#dh_pycentral -ppython-xlrd
-
+	dh_pycentral -ppython-xlrd
 	dh_installchangelogs HISTORY.html
 	dh_installdocs
 	dh_installexamples




More information about the Python-modules-commits mailing list