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

pox-guest at users.alioth.debian.org pox-guest at users.alioth.debian.org
Tue Jun 13 01:14:37 UTC 2006


Author: pox-guest
Date: Tue Jun 13 01:14:35 2006
New Revision: 782

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=782
Log:
pyversions used instead of pycentral

Modified:
    packages/pyenchant/trunk/debian/changelog
    packages/pyenchant/trunk/debian/control
    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=782&op=diff
==============================================================================
--- packages/pyenchant/trunk/debian/changelog (original)
+++ packages/pyenchant/trunk/debian/changelog Tue Jun 13 01:14:35 2006
@@ -3,7 +3,7 @@
   * Convert to python-central
   * Standards-version bumped to 3.7.2 (no changes needed)
 
- -- Piotr Ozarowski <ozarow at gmail.com>  Tue, 30 May 2006 18:51:08 +0200
+ -- Piotr Ozarowski <ozarow at gmail.com>  Tue, 13 Jun 2006 03:10:14 +0200
 
 pyenchant (1.1.5-1) unstable; urgency=low
 

Modified: packages/pyenchant/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyenchant/trunk/debian/control?rev=782&op=diff
==============================================================================
--- packages/pyenchant/trunk/debian/control (original)
+++ packages/pyenchant/trunk/debian/control Tue Jun 13 01:14:35 2006
@@ -3,7 +3,7 @@
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Section: python
 Priority: optional
-Build-Depends: debhelper (>= 5.0.37.1), python-all-dev, python-central (>= 0.4.10), python2.3-setuptools (>= 0.6a9), python2.4-setuptools (>= 0.6a9), libenchant-dev
+Build-Depends: debhelper (>= 5.0.37.1), python (>= 2.3.5-7), python-all-dev, python-central (>= 0.4.10), python2.3-setuptools (>= 0.6b3-1), libenchant-dev
 Standards-Version: 3.7.2
 XS-Python-Version: all
 

Modified: packages/pyenchant/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyenchant/trunk/debian/rules?rev=782&op=diff
==============================================================================
--- packages/pyenchant/trunk/debian/rules (original)
+++ packages/pyenchant/trunk/debian/rules Tue Jun 13 01:14:35 2006
@@ -5,33 +5,32 @@
 PACKAGE_NAME=python-enchant
 MODULE_NAME=pyenchant
 
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-PYVERS=$(shell pycentral showversions)
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
+	| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+PYVERS=$(shell pyversions -v -r debian/control)
 
-build: build-stamp
-build-stamp: $(PYVERS:%=build-python%)
-	touch $@
-build-python%:
-	python$* setup.py build
-	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f *-stamp
 	rm -rf dist build
-	find . -name *\.pyc -exec rm {} \;
+	find . -name *\.py[co] -exec rm {} \;
 	dh_clean
 
-install: build install-prereq $(PYVERS:%=install-python%)
-install-prereq:
+build: build-stamp
+build-stamp: $(PYVERS:%=build-ext-%)
+	touch $@
+build-ext-%:
 	dh_testdir
-	dh_testroot
-	dh_clean -k
+	python$* setup.py build
+	touch $@
 
-install-python%:
+install: install-stamp
+install-stamp: build-stamp $(PYVERS:%=install-ext-%)
+install-ext-%:
 	python$* setup.py install \
-		--no-compile --single-version-externally-managed \
+		--single-version-externally-managed \
 		--root $(CURDIR)/debian/${PACKAGE_NAME}
 	# install only one Egg dir (without python's version number)
 	mv debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
@@ -46,6 +45,7 @@
 	dh_installdocs -a
 	dh_installexamples  -a
 	dh_pycentral -a
+	dh_python -a
 	dh_strip -a
 	dh_compress -a -X.py
 	dh_fixperms -a




More information about the Python-modules-commits mailing list