r1201 - in zope-textindexng3/trunk/debian (control rules)

Fabio Tranchitella kobold at alioth.debian.org
Thu Mar 6 16:56:00 UTC 2008


    Date: Thursday, March 6, 2008 @ 16:55:58
  Author: kobold
Revision: 1201

Fixes and changes.

Modified:
  zope-textindexng3/trunk/debian/control
  zope-textindexng3/trunk/debian/rules

Modified: zope-textindexng3/trunk/debian/control
===================================================================
--- zope-textindexng3/trunk/debian/control	2008-03-06 16:05:46 UTC (rev 1200)
+++ zope-textindexng3/trunk/debian/control	2008-03-06 16:55:58 UTC (rev 1201)
@@ -4,7 +4,7 @@
 Maintainer: Debian/Ubuntu Zope team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>, Fabio Tranchitella <kobold at debian.org>
 Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python (>= 2.3.5-7), python-central (>= 0.5), dpatch
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python (>= 2.3.5-7), python-central (>= 0.5), python-setuptools, dpatch
 Build-Depends-Indep: zope-debhelper
 XS-Python-Version: all
 

Modified: zope-textindexng3/trunk/debian/rules
===================================================================
--- zope-textindexng3/trunk/debian/rules	2008-03-06 16:05:46 UTC (rev 1200)
+++ zope-textindexng3/trunk/debian/rules	2008-03-06 16:55:58 UTC (rev 1201)
@@ -15,8 +15,7 @@
 build-stamp:
 	dh_testdir
 	cd extension_modules; for python in $(PYVERS); do \
-		$$python setup.py install --home build; \
-		mv build/lib/python build/lib/$$python; \
+		$$python setup.py build; \
 	done
 	touch build-stamp
 
@@ -31,9 +30,8 @@
 	dh_testroot
 	dh_clean -k -a
 	dh_installdirs -a
-	for python in $(PYVERS); do \
-		mkdir -p debian/$(pkg)-lib/usr/lib/$$python/site-packages; \
-		cp -axp extension_modules/build/lib/$$python/* debian/$(pkg)-lib/usr/lib/$$python/site-packages; \
+	cd extension_modules; for python in $(PYVERS); do \
+		$$python setup.py install --single-version-externally-managed --root=../debian/$(pkg)-lib; \
 	done
 
 install-indep: build-stamp




More information about the pkg-zope-commits mailing list