[Python-modules-commits] r8013 - in packages/migrate/trunk/debian (changelog control rules)

jandd-guest at users.alioth.debian.org jandd-guest at users.alioth.debian.org
Thu Mar 26 23:02:14 UTC 2009


    Date: Thursday, March 26, 2009 @ 23:02:12
  Author: jandd-guest
Revision: 8013

use py_libdir, update python build dependency

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

Modified: packages/migrate/trunk/debian/changelog
===================================================================
--- packages/migrate/trunk/debian/changelog	2009-03-26 21:59:01 UTC (rev 8012)
+++ packages/migrate/trunk/debian/changelog	2009-03-26 23:02:12 UTC (rev 8013)
@@ -5,8 +5,12 @@
   * debian/control:
     - update Standards-Version to 3.8.1 (no changes needed)
     - depend and build depend on sphinx >= 0.6.1
+    - build depends on python-all (>= 2.5.4-1~) instead of python and
+      python-all-dev
+    - remove python-central dependency
   * debian/rules:
-    - add --install-layout=deb
+    - add --no-compile --install-layout=deb
+    - use py_libdir macro from python.mk instead of hardcoded paths
 
  -- Jan Dittberner <jan at dittberner.info>  Sun, 22 Mar 2009 23:43:18 +0100
 

Modified: packages/migrate/trunk/debian/control
===================================================================
--- packages/migrate/trunk/debian/control	2009-03-26 21:59:01 UTC (rev 8012)
+++ packages/migrate/trunk/debian/control	2009-03-26 23:02:12 UTC (rev 8013)
@@ -4,9 +4,8 @@
 Maintainer: Jan Dittberner <jan at dittberner.info>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 5.0.38)
-Build-Depends-Indep: python (>= 2.4), python-all-dev, python-central
- (>= 0.5.6), python-support (>= 0.6.4), python-setuptools (>= 0.6b3),
- python-codespeak-lib, python-sphinx (>= 0.6.1)
+Build-Depends-Indep: python-all (>= 2.5.4-1~), python-support (>= 0.6.4),
+ python-setuptools (>= 0.6b3), python-codespeak-lib, python-sphinx (>= 0.6.1)
 Standards-Version: 3.8.1
 XS-Python-Version: >= 2.4
 Homepage: http://code.google.com/p/sqlalchemy-migrate/

Modified: packages/migrate/trunk/debian/rules
===================================================================
--- packages/migrate/trunk/debian/rules	2009-03-26 21:59:01 UTC (rev 8012)
+++ packages/migrate/trunk/debian/rules	2009-03-26 23:02:12 UTC (rev 8013)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
+include /usr/share/python/python.mk
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
 	| sed -rne 's,^Version: ([^-]+).*,\1,p')
@@ -35,15 +36,16 @@
 	  /usr/share/doc/python-migrate/html/_static
 	touch $@
 
-install: build
-	python setup.py install\
+install: build $(PYVERS:%=install-python%)
+install-python%:
+	python$* setup.py install\
 		--no-compile --install-layout=deb\
 		--root $(CURDIR)/debian/python-migrate
 	# share Egg dir (remove versions from dirname)
-	#	mv debian/python-migrate/usr/lib/python$*/site-packages/sqlalchemy_migrate-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
-	#   debian/python-migrate/usr/lib/python$*/site-packages/sqlalchemy_migrate-${DEB_UPSTREAM_VERSION}.egg-info
+	mv debian/python-migrate$(call py_libdir,$*)/sqlalchemy_migrate-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
+	  debian/python-migrate$(call py_libdir,$*)/sqlalchemy_migrate-${DEB_UPSTREAM_VERSION}.egg-info
 	# make lintian happy
-	chmod +x debian/python-migrate/usr/lib/python$*/site-packages/migrate/versioning/templates/manage.py_tmpl
+	chmod +x debian/python-migrate$(call py_libdir,$*)/migrate/versioning/templates/manage.py_tmpl
 
 binary-indep: build install
 	dh_testdir -i




More information about the Python-modules-commits mailing list