[Python-modules-commits] r9075 - in packages/python-chaco/trunk/debian (6 files)

varun at users.alioth.debian.org varun at users.alioth.debian.org
Sat Jul 18 00:09:18 UTC 2009


    Date: Saturday, July 18, 2009 @ 00:09:11
  Author: varun
Revision: 9075

* New upstream release
* Bump Standards-Version to 3.8.2
* Add setup.diff patch to remove unwanted files from installation

Added:
  packages/python-chaco/trunk/debian/patches/
  packages/python-chaco/trunk/debian/patches/series
  packages/python-chaco/trunk/debian/patches/setup.diff
Modified:
  packages/python-chaco/trunk/debian/changelog
  packages/python-chaco/trunk/debian/control
  packages/python-chaco/trunk/debian/rules

Modified: packages/python-chaco/trunk/debian/changelog
===================================================================
--- packages/python-chaco/trunk/debian/changelog	2009-07-17 23:18:57 UTC (rev 9074)
+++ packages/python-chaco/trunk/debian/changelog	2009-07-18 00:09:11 UTC (rev 9075)
@@ -1,3 +1,11 @@
+python-chaco (3.2.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Bump Standards-Version to 3.8.2
+  * Add setup.diff patch to remove unwanted files from installation
+
+ -- Varun Hiremath <varun at debian.org>  Fri, 17 Jul 2009 20:02:24 -0400
+
 python-chaco (3.1.0-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/python-chaco/trunk/debian/control
===================================================================
--- packages/python-chaco/trunk/debian/control	2009-07-17 23:18:57 UTC (rev 9074)
+++ packages/python-chaco/trunk/debian/control	2009-07-18 00:09:11 UTC (rev 9075)
@@ -4,8 +4,8 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Varun Hiremath <varun at debian.org>
 Build-Depends: cdbs, debhelper(>= 6), python-all-dev, python-central (>= 0.6),
- python-setuptools, python-setupdocs, python-numpy
-Standards-Version: 3.8.0
+ python-setuptools, python-setupdocs, python-numpy, quilt
+Standards-Version: 3.8.2
 XS-Python-Version: >=2.4
 Homepage: http://pypi.python.org/pypi/Chaco/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-chaco/trunk

Added: packages/python-chaco/trunk/debian/patches/series
===================================================================
--- packages/python-chaco/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-chaco/trunk/debian/patches/series	2009-07-18 00:09:11 UTC (rev 9075)
@@ -0,0 +1 @@
+setup.diff

Added: packages/python-chaco/trunk/debian/patches/setup.diff
===================================================================
--- packages/python-chaco/trunk/debian/patches/setup.diff	                        (rev 0)
+++ packages/python-chaco/trunk/debian/patches/setup.diff	2009-07-18 00:09:11 UTC (rev 9075)
@@ -0,0 +1,19 @@
+Author: Varun Hiremath <vh63 at cornell.edu>
+Description: Remove files installed in non-standard /usr/enthought directory
+Index: python-chaco-3.2.0/setup.py
+===================================================================
+--- python-chaco-3.2.0.orig/setup.py	2009-07-17 19:32:42.000000000 -0400
++++ python-chaco-3.2.0/setup.py	2009-07-17 19:32:51.000000000 -0400
+@@ -123,11 +123,7 @@
+     cmdclass = {
+         'develop': MyDevelop,
+         'build': MyBuild
+-    },
+-    data_files=[('enthought/chaco/layers/data',
+-        ['enthought/chaco/layers/data/Dialog-error.svg', 
+-         'enthought/chaco/layers/data/Dialog-warning.svg', 
+-         'enthought/chaco/layers/data/range_selection.svg'])],
++    },
+     description = DOCLINES[1],
+     download_url = ('http://www.enthought.com/repo/ETS/Chaco-%s.tar.gz' %
+         INFO['version']),

Modified: packages/python-chaco/trunk/debian/rules
===================================================================
--- packages/python-chaco/trunk/debian/rules	2009-07-17 23:18:57 UTC (rev 9074)
+++ packages/python-chaco/trunk/debian/rules	2009-07-18 00:09:11 UTC (rev 9075)
@@ -4,17 +4,18 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
+DEB_INSTALL_CHANGELOGS_ALL       = docs/CHANGES.txt
 DEB_COMPRESS_EXCLUDE		:= .py
 DEB_PYTHON_INSTALL_ARGS_ALL 	+= --single-version-externally-managed
 DEB_DESTDIR			 = $(CURDIR)/debian/python-chaco
 PYSHARED			 = $(DEB_DESTDIR)`pycentral pycentraldir python-chaco`
 EXAMPLES			 = $(DEB_DESTDIR)/usr/share/doc/python-chaco
 
-install/python-chaco::
+binary-predeb/python-chaco::
 	find $(DEB_DESTDIR) -name "*LICENSE*" -delete
-
-binary-predeb/python-chaco::
+	$(RM) $(DEB_DESTDIR)/usr/share/doc/python-chaco/CHANGES.txt.gz
 	find $(PYSHARED) -type f -print0 | xargs -0 chmod 644
 	find $(EXAMPLES) -type f -print0 | xargs -0 chmod 644
 




More information about the Python-modules-commits mailing list