[Python-modules-commits] r13451 - in packages/pastescript/trunk/debian (changelog rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Wed Jun 16 21:46:41 UTC 2010


    Date: Wednesday, June 16, 2010 @ 21:46:40
  Author: piotr
Revision: 13451

Remove all pth files, including the ones without Python version in filename

Modified:
  packages/pastescript/trunk/debian/changelog
  packages/pastescript/trunk/debian/rules

Modified: packages/pastescript/trunk/debian/changelog
===================================================================
--- packages/pastescript/trunk/debian/changelog	2010-06-16 21:44:33 UTC (rev 13450)
+++ packages/pastescript/trunk/debian/changelog	2010-06-16 21:46:40 UTC (rev 13451)
@@ -1,3 +1,9 @@
+pastescript (1.7.3-7) UNRELEASED; urgency=low
+
+  * Remove all pth files, including the ones without Python version in filename
+
+ -- Piotr Ożarowski <piotr at debian.org>  Wed, 16 Jun 2010 23:45:42 +0200
+
 pastescript (1.7.3-6) unstable; urgency=low
 
   * Revert the change from -4, setuptools is back in Depends (closes: 572609)

Modified: packages/pastescript/trunk/debian/rules
===================================================================
--- packages/pastescript/trunk/debian/rules	2010-06-16 21:44:33 UTC (rev 13450)
+++ packages/pastescript/trunk/debian/rules	2010-06-16 21:46:40 UTC (rev 13451)
@@ -2,7 +2,6 @@
 
 #export DH_VERBOSE=1
 
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 PYVERS=$(shell pyversions -vr)
 PKGDIR=$(CURDIR)/debian/python-pastescript
 
@@ -45,7 +44,7 @@
 		--install-lib=/usr/lib/python$*/site-packages \
 		--single-version-externally-managed
 	# pth file is not needed since all paste* packages are installed in the same directory
-	rm -f $(PKGDIR)/usr/lib/python$*/site-packages/PasteScript-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
+	rm -f $(PKGDIR)/usr/lib/python$*/site-packages/PasteScript-*-nspkg.pth
 	# python-support's namespace feature will handle this
 	rm -f $(PKGDIR)/usr/lib/python$*/site-packages/paste/__init__.py
 	# create /usr/bin/pasterX.Y symlink




More information about the Python-modules-commits mailing list