[Python-modules-commits] r704 - in /packages/pyenchant/trunk/debian: changelog rules

pox-guest at users.alioth.debian.org pox-guest at users.alioth.debian.org
Wed May 31 00:47:04 UTC 2006


Author: pox-guest
Date: Wed May 31 00:47:03 2006
New Revision: 704

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=704
Log:
cleanups

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

Modified: packages/pyenchant/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyenchant/trunk/debian/changelog?rev=704&op=diff
==============================================================================
--- packages/pyenchant/trunk/debian/changelog (original)
+++ packages/pyenchant/trunk/debian/changelog Wed May 31 00:47:03 2006
@@ -1,4 +1,4 @@
-pyenchant (1.1.5-2) unstable; urgency=low
+pyenchant (1.1.5-2) UNRELEASED; urgency=low
 
   * Convert to python-central
   * Standards-version bumped (no changes needed)

Modified: packages/pyenchant/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyenchant/trunk/debian/rules?rev=704&op=diff
==============================================================================
--- packages/pyenchant/trunk/debian/rules (original)
+++ packages/pyenchant/trunk/debian/rules Wed May 31 00:47:03 2006
@@ -2,15 +2,15 @@
 
 #export DH_VERBOSE=1
 
-PYVERS=$(subst -dev,,\
-           $(subst python,,\
-             $(filter python%-dev,\
-               $(shell sed -n '/^Build-Depends/s/,//gp' debian/control))))
-PYVER   := $(shell python -c 'import sys; print sys.version[:3]')
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-
 PACKAGE_NAME=python-enchant
 MODULE_NAME=pyenchant
+
+
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+PYVERS=$(subst -dev,,\
+	$(subst python,,\
+	  $(filter python%-dev,\
+	    $(shell sed -n '/^Build-Depends/s/,//gp' debian/control))))
 
 
 build: build-stamp
@@ -36,7 +36,6 @@
 	: # dh: Set ${pycentral:Depends}
 	echo 'pycentral:Depends=python (>= 2.3), python (<< 2.5), python-central' \
 		>> debian/${PACKAGE_NAME}.substvars
-	
 
 install-prereq:
 	dh_testdir
@@ -62,11 +61,11 @@
 			-C debian/${PACKAGE_NAME}/usr/share/pycentral/${PACKAGE_NAME}
 	# install only one Egg dir (without version number)
 	if ! test -d \
-		debian/${PACKAGE_NAME}/usr/share/pycentral/${PACKAGE_NAME}/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}.egg-info; \
+		debian/${PACKAGE_NAME}/usr/share/pycentral/${PACKAGE_NAME}/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}.egg-info;\
 		then \
-		mv debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}-py$*.egg-info debian/${PACKAGE_NAME}/usr/share/pycentral/${PACKAGE_NAME}/site-packages/${MODULE_NAME}-${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/share/pycentral/${PACKAGE_NAME}/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}.egg-info;\
 	fi
-	
 	find debian/${PACKAGE_NAME}/usr/lib/python$* ! -type d ! -name '*.so' | xargs rm -f
 
 binary-indep:




More information about the Python-modules-commits mailing list