[Python-modules-commits] r3278 - in /packages/pywavelets/trunk/debian: changelog control rules

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Wed Sep 19 20:26:49 UTC 2007


Author: piotr
Date: Wed Sep 19 20:26:49 2007
New Revision: 3278

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3278
Log:
* Fix debian/rules to use new package name
* Add python-wavelets transitional dummy package to make the upgrade process smooth

Modified:
    packages/pywavelets/trunk/debian/changelog
    packages/pywavelets/trunk/debian/control
    packages/pywavelets/trunk/debian/rules

Modified: packages/pywavelets/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pywavelets/trunk/debian/changelog?rev=3278&op=diff
==============================================================================
--- packages/pywavelets/trunk/debian/changelog (original)
+++ packages/pywavelets/trunk/debian/changelog Wed Sep 19 20:26:49 2007
@@ -1,3 +1,11 @@
+pywavelets (0.1.6-3) unstable; urgency=low
+
+  * Fix debian/rules to use new package name
+  * Add python-wavelets transitional dummy package to make the upgrade process
+    smooth
+
+ -- Piotr Ożarowski <piotr at debian.org>  Wed, 19 Sep 2007 20:53:24 +0200
+
 pywavelets (0.1.6-2) unstable; urgency=low
 
   * Rename binary package to python-pywt

Modified: packages/pywavelets/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pywavelets/trunk/debian/control?rev=3278&op=diff
==============================================================================
--- packages/pywavelets/trunk/debian/control (original)
+++ packages/pywavelets/trunk/debian/control Wed Sep 19 20:26:49 2007
@@ -23,3 +23,11 @@
  dimensions.
  .
   Homepage: http://www.pybytes.com/pywavelets/
+
+Package: python-wavelets
+Architecture: all
+Depends: python-pywt
+Description: transitional dummy package
+ This is a dummy package to ease transition to new package name (python-pywt). 
+ .
+ It can be safely removed from your system.

Modified: packages/pywavelets/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pywavelets/trunk/debian/rules?rev=3278&op=diff
==============================================================================
--- packages/pywavelets/trunk/debian/rules (original)
+++ packages/pywavelets/trunk/debian/rules Wed Sep 19 20:26:49 2007
@@ -5,13 +5,15 @@
 
 PYVERS=$(shell pyversions -vr)
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-	| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+	| sed -rne 's,^Version: ([^-]+).*,\1,p')
+PACKAGE_NAME=python-pywt
+MODULE_NAME=PyWavelets
 
 clean: unpatch
 	dh_testdir
 	dh_testroot
 	-rm -rf build build-stamp build-ext-*
-	-rm -rf PyWavelets.egg-info
+	-rm -rf $(MODULE_NAME).egg-info
 	find . -name '*\.py[co]' -delete
 	-rm install-stamp install-ext-*
 	dh_clean
@@ -28,29 +30,29 @@
 install-stamp: build-stamp $(PYVERS:%=install-ext-%)
 install-ext-%:
 	python$* setupegg.py install \
-		--root $(CURDIR)/debian/python-wavelets \
+		--root $(CURDIR)/debian/$(PACKAGE_NAME) \
 		--single-version-externally-managed
 	# share Egg dir (remove versions from dirname)
-	mv debian/python-wavelets/usr/lib/python$*/site-packages/PyWavelets-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
-	   debian/python-wavelets/usr/lib/python$*/site-packages/PyWavelets-${DEB_UPSTREAM_VERSION}.egg-info
+	mv debian/$(PACKAGE_NAME)/usr/lib/python$*/site-packages/$(MODULE_NAME)-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
+	   debian/$(PACKAGE_NAME)/usr/lib/python$*/site-packages/$(MODULE_NAME)-${DEB_UPSTREAM_VERSION}.egg-info
 
 binary-indep:
 
 binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_installchangelogs -a CHANGES.txt
-	dh_installdocs -a
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES.txt
+	dh_installdocs
 	dh_installexamples -a
 	dh_pycentral -a
 	dh_strip -a
-	dh_compress -a -X.py
-	dh_fixperms -a
-	dh_installdeb -a
+	dh_compress -X.py
+	dh_fixperms
+	dh_installdeb
 	dh_shlibdeps -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
 
 binary: binary-indep binary-arch
 




More information about the Python-modules-commits mailing list