[Python-modules-commits] r30305 - in packages/django-classy-tags/trunk/debian (changelog rules)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Thu Aug 28 14:05:14 UTC 2014


    Date: Thursday, August 28, 2014 @ 14:05:13
  Author: fladi-guest
Revision: 30305

Switch buildsystem to pybuild.

Modified:
  packages/django-classy-tags/trunk/debian/changelog
  packages/django-classy-tags/trunk/debian/rules

Modified: packages/django-classy-tags/trunk/debian/changelog
===================================================================
--- packages/django-classy-tags/trunk/debian/changelog	2014-08-28 13:58:55 UTC (rev 30304)
+++ packages/django-classy-tags/trunk/debian/changelog	2014-08-28 14:05:13 UTC (rev 30305)
@@ -1,3 +1,9 @@
+django-classy-tags (0.5.1-4) unstable; urgency=low
+
+  * Switch buildsystem to pybuild.
+
+ -- Michael Fladischer <FladischerMichael at fladi.at>  Thu, 28 Aug 2014 15:59:15 +0200
+
 django-classy-tags (0.5.1-3) unstable; urgency=medium
 
   * Add django-1.7.patch to make tests run with Django-1.7 (Closes: #755595).

Modified: packages/django-classy-tags/trunk/debian/rules
===================================================================
--- packages/django-classy-tags/trunk/debian/rules	2014-08-28 13:58:55 UTC (rev 30304)
+++ packages/django-classy-tags/trunk/debian/rules	2014-08-28 14:05:13 UTC (rev 30305)
@@ -3,46 +3,15 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PYVERS :=  $(shell pyversions -r)
-PY3VERS := $(shell py3versions -r)
+export PYBUILD_NAME=django-classy-tags
 
 %:
-	dh $@ --with python2,python3,sphinxdoc
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
-	set -e; \
-	for py in $(PYVERS) $(PY3VERS); do \
-		$$py -B setup.py build; \
-	done
+	dh_auto_build
 	PYTHONPATH=. sphinx-build -b html -d docs/_build/.doctrees -N docs docs/_build/html
 
-override_dh_auto_clean:
-	set -e; \
-	for py in $(PYVERS) $(PY3VERS); do \
-		$$py -B setup.py clean; \
-		rm -rf build; \
-	done
-
-override_dh_auto_install:
-	set -e; \
-	for py in $(PYVERS); do \
-		$$py -B setup.py install --skip-build --root debian/python-django-classy-tags \
-		                      --install-layout deb; \
-	done
-	set -e; \
-	for py in $(PY3VERS); do \
-		$$py -B setup.py install --skip-build --root debian/python3-django-classy-tags \
-		                      --install-layout deb; \
-	done
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e; \
-	for python in $(PYVERS) $(PY3VERS); do \
-		PYTHONPATH="." $$python runtests.py; \
-	done
-endif
-
 override_dh_clean:
 	rm -rf docs/_build
 	dh_clean




More information about the Python-modules-commits mailing list