[Python-modules-commits] r29157 - in packages/objgraph/trunk/debian (4 files)

wrar-guest at users.alioth.debian.org wrar-guest at users.alioth.debian.org
Sat May 31 17:19:13 UTC 2014


    Date: Saturday, May 31, 2014 @ 17:19:12
  Author: wrar-guest
Revision: 29157

Switch to compat 9 and pybuild.

Modified:
  packages/objgraph/trunk/debian/changelog
  packages/objgraph/trunk/debian/compat
  packages/objgraph/trunk/debian/control
  packages/objgraph/trunk/debian/rules

Modified: packages/objgraph/trunk/debian/changelog
===================================================================
--- packages/objgraph/trunk/debian/changelog	2014-05-31 17:02:52 UTC (rev 29156)
+++ packages/objgraph/trunk/debian/changelog	2014-05-31 17:19:12 UTC (rev 29157)
@@ -1,3 +1,11 @@
+objgraph (1.8.0-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Switch to pybuild.
+  * Switch to debhelper compat level 9.
+
+ -- Andrey Rahmatullin <wrar at wrar.name>  Sat, 31 May 2014 23:08:29 +0600
+
 objgraph (1.8.0-1) unstable; urgency=medium
 
   * New upstream release (Closes: #741822)

Modified: packages/objgraph/trunk/debian/compat
===================================================================
--- packages/objgraph/trunk/debian/compat	2014-05-31 17:02:52 UTC (rev 29156)
+++ packages/objgraph/trunk/debian/compat	2014-05-31 17:19:12 UTC (rev 29157)
@@ -1 +1 @@
-8
+9

Modified: packages/objgraph/trunk/debian/control
===================================================================
--- packages/objgraph/trunk/debian/control	2014-05-31 17:02:52 UTC (rev 29156)
+++ packages/objgraph/trunk/debian/control	2014-05-31 17:19:12 UTC (rev 29157)
@@ -4,7 +4,8 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Stefano Rivera <stefanor at debian.org>
 Build-Depends:
- debhelper (>= 8.1),
+ debhelper (>= 9),
+ dh-python,
  graphviz,
  python-all (>= 2.6.5-13~),
  python-setuptools,

Modified: packages/objgraph/trunk/debian/rules
===================================================================
--- packages/objgraph/trunk/debian/rules	2014-05-31 17:02:52 UTC (rev 29156)
+++ packages/objgraph/trunk/debian/rules	2014-05-31 17:19:12 UTC (rev 29157)
@@ -1,39 +1,16 @@
 #!/usr/bin/make -f
 
-PYVERS :=  $(shell pyversions -r)
-PY3VERS := $(shell py3versions -r)
+export PYBUILD_NAME=objgraph
 
 %:
-	dh $@ --with python2,python3,sphinxdoc
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
-	set -e -x; \
-	for py in $(PYVERS) $(PY3VERS); do \
-		$$py setup.py build; \
-	done
+	dh_auto_build
 	$(MAKE) docs SPHINXOPTS=-NE
 
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e -x; \
-	for py in $(PYVERS) $(PY3VERS); do \
-		$$py setup.py test; \
-	done
-endif
-
-override_dh_auto_install:
-	set -e -x; \
-	for py in $(PYVERS); do \
-		$$py setup.py install --skip-build --root debian/python-objgraph --install-layout=deb; \
-	done
-	set -e -x; \
-	for py in $(PY3VERS); do \
-		$$py setup.py install --skip-build --root debian/python3-objgraph --install-layout=deb; \
-	done
-	find debian/python-objgraph debian/python3-objgraph -name SOURCES.txt -delete
-
 override_dh_auto_clean:
-	dh_auto_clean --buildsystem=python_distutils
+	dh_auto_clean
 	rm -rf build docs/_build
 
 override_dh_installchangelogs:




More information about the Python-modules-commits mailing list