[Python-modules-commits] r16433 - in packages/python-formencode/trunk/debian (4 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Thu Apr 7 22:22:09 UTC 2011


    Date: Thursday, April 7, 2011 @ 22:22:04
  Author: piotr
Revision: 16433

* New upstream release
* Remove i18n directory from site-packages
* python2.{3,4}-formencode Conflicts/Replaces dropped
* Convert from dh_pysupport to dh_python2
* Change source format to 3.0 (quilt)
* Standards-version bumped to 3.9.2 (no changes needed)

Modified:
  packages/python-formencode/trunk/debian/changelog
  packages/python-formencode/trunk/debian/control
  packages/python-formencode/trunk/debian/rules
  packages/python-formencode/trunk/debian/source/format

Modified: packages/python-formencode/trunk/debian/changelog
===================================================================
--- packages/python-formencode/trunk/debian/changelog	2011-04-07 21:51:07 UTC (rev 16432)
+++ packages/python-formencode/trunk/debian/changelog	2011-04-07 22:22:04 UTC (rev 16433)
@@ -1,3 +1,14 @@
+python-formencode (1.2.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove i18n directory from site-packages
+  * python2.{3,4}-formencode Conflicts/Replaces dropped
+  * Convert from dh_pysupport to dh_python2
+  * Change source format to 3.0 (quilt)
+  * Standards-version bumped to 3.9.2 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Thu, 07 Apr 2011 23:33:35 +0200
+
 python-formencode (1.2.2-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/python-formencode/trunk/debian/control
===================================================================
--- packages/python-formencode/trunk/debian/control	2011-04-07 21:51:07 UTC (rev 16432)
+++ packages/python-formencode/trunk/debian/control	2011-04-07 22:22:04 UTC (rev 16433)
@@ -1,13 +1,12 @@
 Source: python-formencode
 Section: python
 Priority: optional
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python (>= 2.3.5-7),
- python-support (>= 0.6), python-setuptools (>= 0.6a9), python-nose
+Build-Depends: debhelper (>= 5.0.37.2), python-all (>= 2.6.6-3), python-setuptools (>= 0.6a9)
 Maintainer: Fabio Tranchitella <kobold at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
  Piotr Ożarowski <piotr at debian.org>
-Standards-Version: 3.8.0
-XS-Python-Version: all
+Standards-Version: 3.9.2
+X-Python-Version: >= 2.4
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-formencode/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-formencode/trunk/
 Homepage: http://formencode.org
@@ -17,9 +16,6 @@
 Depends: ${python:Depends}, ${misc:Depends}, python-dns, python-pkg-resources,
  python (>= 2.5) | python-elementtree
 Suggests: python-egenix-mxdatetime
-Replaces: python2.3-formencode (<< 0.5.1), python2.4-formencode (<< 0.5.1)
-Conflicts: python2.3-formencode (<< 0.5.1), python2.4-formencode (<< 0.5.1)
-XB-Python-Version: ${python:Versions}
 Description: validation and form generation Python package
  FormEncode is a validation and form generation package. The validation can 
  be used separately from the form generation. The validation works on compound 

Modified: packages/python-formencode/trunk/debian/rules
===================================================================
--- packages/python-formencode/trunk/debian/rules	2011-04-07 21:51:07 UTC (rev 16432)
+++ packages/python-formencode/trunk/debian/rules	2011-04-07 22:22:04 UTC (rev 16433)
@@ -3,6 +3,7 @@
 # GNU copyright 1997 to 1999 by Joey Hess.
 
 PYVERS=$(shell pyversions -r debian/control)
+include /usr/share/python/python.mk
 
 build: build-stamp
 build-stamp:
@@ -22,14 +23,16 @@
 	find . -name '*\.py[co]' -delete
 	dh_clean
 
-install: build
+install: build $(PYVERS:%=install-%)
 	dh_testdir
 	dh_testroot
-	dh_clean -k
 	dh_installdirs
-	for python in $(PYVERS); \
-	    do $$python setup.py install --root=$(CURDIR)/debian/python-formencode --no-compile --single-version-externally-managed; \
-	done
+
+install-python%:
+	python$* setup.py install $(py_setup_install_args) \
+		--skip-build --single-version-externally-managed \
+		--root debian/python-formencode
+	rm -rf debian/python-formencode/$(call py_libdir,$*)/formencode/i18n
 	dh_install -X.po -X.py formencode/i18n/* /usr/share/locale/
 
 # Build architecture-dependent files here.
@@ -44,7 +47,7 @@
 	dh_installchangelogs -i
 	dh_compress -i
 	dh_fixperms -i
-	dh_pysupport -i
+	dh_python2 -i
 	dh_installdeb -i
 	dh_gencontrol -i
 	dh_md5sums -i

Modified: packages/python-formencode/trunk/debian/source/format
===================================================================
--- packages/python-formencode/trunk/debian/source/format	2011-04-07 21:51:07 UTC (rev 16432)
+++ packages/python-formencode/trunk/debian/source/format	2011-04-07 22:22:04 UTC (rev 16433)
@@ -1 +1 @@
-1.0
+3.0 (quilt)




More information about the Python-modules-commits mailing list