[pykdtree] 01/03: Switch to pybuild
Antonio Valentino
a_valentino-guest at moszumanska.debian.org
Sun Feb 21 12:54:04 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 pykdtree.
commit 905aabc93f59a16c566dfe51f3b050e59de19b9b
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Sun Feb 21 12:46:56 2016 +0000
Switch to pybuild
---
debian/changelog | 1 +
debian/rules | 18 +++---------------
2 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d14b32d..ad52254 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ pykdtree (1.0-1) UNRELEASED; urgency=medium
* Refresh all patches
* Update license file
* debian/gbp.conf added
+ * Switch to pybuild
-- Antonio Valentino <antonio.valentino at tiscali.it> Sun, 03 Aug 2014 08:09:59 +0000
diff --git a/debian/rules b/debian/rules
index c1ed095..a980722 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,21 +4,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-PY2VERS = $(shell pyversions -r -v)
+export PYBUILD_NAME=pykdtree
-%:
- dh $@ --with python2 --buildsystem=python_distutils
-
-
-override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
- set -e -x; \
- for py in $(PY2VERS); do \
- cd $(CURDIR)/build/lib.*-$$py; \
- env PYTHONPATH=. python$$py /usr/bin/nosetests -v pykdtree.test_tree; \
- done
-endif
-
-.PHONY: override_dh_auto_test
+%:
+ dh $@ --with python2 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pykdtree.git
More information about the Pkg-grass-devel
mailing list