[Python-modules-commits] [python-spur] 01/01: Use pybuild instead of python_distutils

Ruben Undheim rubund-guest at moszumanska.debian.org
Mon May 25 09:51:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository python-spur.

commit 9390927a791fee7f3cdd6492927b2444a59caad3
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Mon May 25 11:50:46 2015 +0200

    Use pybuild instead of python_distutils
---
 debian/rules | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/debian/rules b/debian/rules
index 96aa53a..c9d5e52 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,24 +2,12 @@
 #DH_VERBOSE = 1
 
 %:
-	dh $@ --with python2,python3 --buildsystem=python_distutils
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
-	$(RM) -r build
+	$(RM) -r .pybuild
 	dh_auto_clean
 
-override_dh_auto_build:
-	dh_auto_build
-	set -ex; for python in $(shell py3versions -r); do \
-		$$python setup.py build; \
-	done
-
-override_dh_auto_install:
-	dh_auto_install
-	set -ex; for python in $(shell py3versions -r); do \
-		$$python setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp; \
-	done
-
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k CHANGES

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-spur.git



More information about the Python-modules-commits mailing list