[Python-modules-commits] r30439 - in packages/django-auth-ldap/trunk/debian (rules)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Mon Sep 1 06:54:13 UTC 2014


    Date: Monday, September 1, 2014 @ 06:54:12
  Author: fladi-guest
Revision: 30439

Switch buildsystem to pybuild.

Modified:
  packages/django-auth-ldap/trunk/debian/rules

Modified: packages/django-auth-ldap/trunk/debian/rules
===================================================================
--- packages/django-auth-ldap/trunk/debian/rules	2014-09-01 06:43:57 UTC (rev 30438)
+++ packages/django-auth-ldap/trunk/debian/rules	2014-09-01 06:54:12 UTC (rev 30439)
@@ -3,38 +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-picklefield
 
 %:
-	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/source 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-auth-ldap \
-		                      --install-layout deb; \
-	done
-	set -e; \
-	for py in $(PY3VERS); do \
-		$$py -B setup.py install --skip-build --root debian/python3-django-auth-ldap \
-		                      --install-layout deb; \
-	done
-
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	django-admin startproject testproject




More information about the Python-modules-commits mailing list