[mipp] 01/02: Switch to pybuild

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sun Feb 21 11:50:11 UTC 2016


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

a_valentino-guest pushed a commit to branch master
in repository mipp.

commit 9ed30e56607a2b6d8973f2201ccc828d00268d2e
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sun Feb 21 11:42:23 2016 +0100

    Switch to pybuild
---
 debian/changelog           |  2 ++
 debian/python-mipp.install |  1 -
 debian/rules               | 22 ++++++----------------
 3 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index adbbc17..1a8ac1c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ mipp (0.9.1-3) UNRELEASED; urgency=medium
   * debian/control
     - standard version bymped to 3.9.7 (no change)
     - VCS URLs updated 
+  * debian/rules
+    - switch to pybuild
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 22 Mar 2015 16:58:15 +0000
 
diff --git a/debian/python-mipp.install b/debian/python-mipp.install
index 9a94cd9..0187c1e 100644
--- a/debian/python-mipp.install
+++ b/debian/python-mipp.install
@@ -1,2 +1 @@
 doc/build/html usr/share/doc/python-mipp
-usr/lib/python2*
diff --git a/debian/rules b/debian/rules
index 1014d1b..28c32d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,31 +4,21 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PY2VERS = $(shell pyversions -r -v)
+
+export PYBUILD_NAME=mipp
+export PYBUILD_TEST_ARGS=tests
 
 
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=python_distutils
+	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
 
 override_dh_auto_build:
-	dh_auto_build --buildsystem=python_distutils
+	dh_auto_build --buildsystem=pybuild
 	$(MAKE) -C doc html
 
 
-override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e -x; \
-	for py in $(PY2VERS); do \
-		env PYTHONPATH=. python$$py -m unittest discover -v tests; \
-	done
-endif
-
-
 override_dh_auto_clean:
-	dh_auto_clean --buildsystem=python_distutils
+	dh_auto_clean --buildsystem=pybuild
 	$(RM) -r mipp.egg-info
 	$(MAKE) -C doc clean
-
-
-.PHONY: override_dh_auto_build, override_dh_autoclean, override_dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mipp.git



More information about the Pkg-grass-devel mailing list