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

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Thu Mar 10 22:34:08 UTC 2011


    Date: Thursday, March 10, 2011 @ 22:33:57
  Author: jandd
Revision: 16095

* switch to dh_python2
* add debian/docs with README
* simplify debian/rules, use dh_python2 and --buildsystem=python_distutils
* debian/control:
  - update Python dependency to 2.6.5-1~
  - drop dependency on python-support
  - bump Standards-Version to 3.9.1
  - rename XS-Python-Version to X-Python-Version
  - remove XB-Python-Version
  - add Breaks: ${python:Breaks}

Added:
  packages/python-adns/trunk/debian/docs
Modified:
  packages/python-adns/trunk/debian/changelog
  packages/python-adns/trunk/debian/control
  packages/python-adns/trunk/debian/rules

Modified: packages/python-adns/trunk/debian/changelog
===================================================================
--- packages/python-adns/trunk/debian/changelog	2011-03-10 22:17:12 UTC (rev 16094)
+++ packages/python-adns/trunk/debian/changelog	2011-03-10 22:33:57 UTC (rev 16095)
@@ -1,3 +1,18 @@
+python-adns (1.2.1-5) UNRELEASED; urgency=low
+
+  * switch to dh_python2
+  * add debian/docs with README
+  * simplify debian/rules, use dh_python2 and --buildsystem=python_distutils
+  * debian/control:
+    - update Python dependency to 2.6.5-1~
+    - drop dependency on python-support
+    - bump Standards-Version to 3.9.1
+    - rename XS-Python-Version to X-Python-Version
+    - remove XB-Python-Version
+    - add Breaks: ${python:Breaks}
+
+ -- Jan Dittberner <jandd at debian.org>  Thu, 10 Mar 2011 23:20:09 +0100
+
 python-adns (1.2.1-4) unstable; urgency=low
 
   * debian/control: update Standards-Version to 3.8.4 (no changes necessary) 

Modified: packages/python-adns/trunk/debian/control
===================================================================
--- packages/python-adns/trunk/debian/control	2011-03-10 22:17:12 UTC (rev 16094)
+++ packages/python-adns/trunk/debian/control	2011-03-10 22:33:57 UTC (rev 16095)
@@ -3,10 +3,10 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Jan Dittberner <jandd at debian.org>
-Build-Depends: debhelper (>= 7.0.50), python-all-dev (>= 2.3.5-11),
- python-support (>= 1.0.2), libadns1-dev (>= 1.2)
-Standards-Version: 3.8.4
-XS-Python-Version: >= 2.3
+Build-Depends: debhelper (>= 7.0.50), python-all-dev (>= 2.6.5-1~),
+ libadns1-dev (>= 1.2)
+Standards-Version: 3.9.1
+X-Python-Version: >= 2.3
 Homepage: http://code.google.com/p/adns-python/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-adns/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-adns/trunk/
@@ -17,7 +17,7 @@
 Conflicts: python2.3-adns (<< 1.0.0-6.2), python2.4-adns (<< 1.0.0-6.2)
 Replaces: python2.3-adns (<< 1.0.0-6.2), python2.4-adns (<< 1.0.0-6.2)
 Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
+Breaks: ${python:Breaks}
 Description: Python bindings to the asynchronous DNS resolver library
  This module provides a Python binding to the adns asynchronous DNS
  resolver library.

Added: packages/python-adns/trunk/debian/docs
===================================================================
--- packages/python-adns/trunk/debian/docs	                        (rev 0)
+++ packages/python-adns/trunk/debian/docs	2011-03-10 22:33:57 UTC (rev 16095)
@@ -0,0 +1 @@
+README

Modified: packages/python-adns/trunk/debian/rules
===================================================================
--- packages/python-adns/trunk/debian/rules	2011-03-10 22:17:12 UTC (rev 16094)
+++ packages/python-adns/trunk/debian/rules	2011-03-10 22:33:57 UTC (rev 16095)
@@ -3,25 +3,5 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PYVERSIONS=`pyversions -r`
-
-override_dh_auto_clean:
-	for python in ${PYVERSIONS}; do \
-		$$python setup.py clean; \
-	done
-
-override_dh_auto_build:
-	for python in ${PYVERSIONS}; do \
-		$$python setup.py build; \
-	done
-
-override_dh_auto_install:
-	for python in ${PYVERSIONS}; do \
-		$$python setup.py install --root=$(CURDIR)/debian/python-adns --install-layout=deb; \
-	done
-
-override_dh_installdocs:
-	dh_installdocs -a README
-
 %:
-	dh $@
+	dh --with python2 --buildsystem=python_distutils $@




More information about the Python-modules-commits mailing list