[Python-modules-commits] r17808 - in packages/py-radix/trunk/debian (7 files)

myon at users.alioth.debian.org myon at users.alioth.debian.org
Mon Jul 11 21:10:37 UTC 2011


    Date: Monday, July 11, 2011 @ 21:10:35
  Author: myon
Revision: 17808

* Use dh_python2. Closes: #616954.
* Bump standards version, use dh 7, use 3.0 (quilt), radically strip down
  debian/rules.

Added:
  packages/py-radix/trunk/debian/docs
Modified:
  packages/py-radix/trunk/debian/changelog
  packages/py-radix/trunk/debian/compat
  packages/py-radix/trunk/debian/control
  packages/py-radix/trunk/debian/rules
  packages/py-radix/trunk/debian/source/format
Deleted:
  packages/py-radix/trunk/debian/pycompat

Modified: packages/py-radix/trunk/debian/changelog
===================================================================
--- packages/py-radix/trunk/debian/changelog	2011-07-11 18:54:53 UTC (rev 17807)
+++ packages/py-radix/trunk/debian/changelog	2011-07-11 21:10:35 UTC (rev 17808)
@@ -1,3 +1,11 @@
+py-radix (0.5-3) unstable; urgency=low
+
+  * Use dh_python2. Closes: #616954.
+  * Bump standards version, use dh 7, use 3.0 (quilt), radically strip down
+    debian/rules.
+
+ -- Christoph Berg <myon at debian.org>  Mon, 11 Jul 2011 22:51:49 +0200
+
 py-radix (0.5-2) unstable; urgency=low
 
   [ Sandro Tosi ]

Modified: packages/py-radix/trunk/debian/compat
===================================================================
--- packages/py-radix/trunk/debian/compat	2011-07-11 18:54:53 UTC (rev 17807)
+++ packages/py-radix/trunk/debian/compat	2011-07-11 21:10:35 UTC (rev 17808)
@@ -1 +1 @@
-5
+7

Modified: packages/py-radix/trunk/debian/control
===================================================================
--- packages/py-radix/trunk/debian/control	2011-07-11 18:54:53 UTC (rev 17807)
+++ packages/py-radix/trunk/debian/control	2011-07-11 21:10:35 UTC (rev 17808)
@@ -3,9 +3,8 @@
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Christoph Berg <myon at debian.org>
-Build-Depends: debhelper (>> 5), python-all-dev (>= 2.3), python, python-central (>= 0.5), quilt
-Standards-Version: 3.8.1
-XS-Python-Version: all
+Build-Depends: debhelper (>> 7), python-all-dev (>= 2.6.6-3~)
+Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/py-radix/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/py-radix/trunk/
 Homepage: http://www.mindrot.org/projects/py-radix/
@@ -13,9 +12,8 @@
 Package: python-radix
 Section: python
 Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}
+Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
 Description: radix tree implementation for storage of IPv4 and IPv6 networks
  py-radix is an implementation of a radix tree for Python, which supports
  storage and lookups of IPv4 and IPv6 networks. This is a Python equivalent to

Added: packages/py-radix/trunk/debian/docs
===================================================================
--- packages/py-radix/trunk/debian/docs	                        (rev 0)
+++ packages/py-radix/trunk/debian/docs	2011-07-11 21:10:35 UTC (rev 17808)
@@ -0,0 +1 @@
+README

Deleted: packages/py-radix/trunk/debian/pycompat
===================================================================
--- packages/py-radix/trunk/debian/pycompat	2011-07-11 18:54:53 UTC (rev 17807)
+++ packages/py-radix/trunk/debian/pycompat	2011-07-11 21:10:35 UTC (rev 17808)
@@ -1 +0,0 @@
-2

Modified: packages/py-radix/trunk/debian/rules
===================================================================
--- packages/py-radix/trunk/debian/rules	2011-07-11 18:54:53 UTC (rev 17807)
+++ packages/py-radix/trunk/debian/rules	2011-07-11 21:10:35 UTC (rev 17808)
@@ -1,55 +1,4 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
 
-include /usr/share/quilt/quilt.make
-
-PYDEF=$(shell pyversions -d)
-PYVERS=$(shell pyversions -r)
-
-build build-indep build-arch: build-stamp
-build-stamp: $(PYVERS:%=build-ext-%) patch
-	touch $@
-
-build-ext-%:
-	# Building for $*
-	dh_testdir
-	$(subst $(PYDEF),python,$*) setup.py build
-	touch $@
-	# ... done
-
-install-clean: build-stamp
-	dh_clean -k
-
-install: install-clean $(PYVERS:%=install-ext-%)
-
-install-ext-%: install-clean
-	# Installing for $*
-	$(subst $(PYDEF),python,$*) setup.py install --root $(CURDIR)/debian/python-radix
-	# ... done
-
-binary-indep:
-
-binary-arch: install
-	# Building .deb
-	dh_installchangelogs -a ChangeLog
-	dh_installdocs -a README
-	dh_installman -a
-	dh_installexamples -a
-	dh_strip -a
-	dh_compress -a
-	dh_pycentral -a
-	dh_fixperms -a
-	dh_shlibdeps -a
-	dh_installdeb -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
-
-binary: binary-indep binary-arch
-
-clean: unpatch
-	dh_testdir
-	rm -rf build
-	dh_clean build-stamp build-ext-*
-
-.PHONY: build build-indep build-arch clean binary binary-indep binary-arch install configure patch unpatch
+%:
+	dh --with python2 $@

Modified: packages/py-radix/trunk/debian/source/format
===================================================================
--- packages/py-radix/trunk/debian/source/format	2011-07-11 18:54:53 UTC (rev 17807)
+++ packages/py-radix/trunk/debian/source/format	2011-07-11 21:10:35 UTC (rev 17808)
@@ -1 +1 @@
-1.0
+3.0 (quilt)




More information about the Python-modules-commits mailing list