[pyorbital] 04/05: Switch to pybuild
Antonio Valentino
a_valentino-guest at moszumanska.debian.org
Sun Feb 21 11:51:36 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 pyorbital.
commit e27ea3bfd2baac09049701a82f42ac56db3208c4
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Sun Feb 21 09:57:58 2016 +0000
Switch to pybuild
---
debian/changelog | 1 +
debian/rules | 27 +++++----------------------
2 files changed, 6 insertions(+), 22 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b87f796..73be13e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pyorbital (1.0.1-1) UNRELEASED; urgency=medium
* New upstream version
* Remove 0002-relax-astronomy-test-condition.patch applied upstream
+ * Switch to pybuild build system
-- Antonio Valentino <antonio.valentino at tiscali.it> Sun, 21 Feb 2016 09:25:03 +0000
diff --git a/debian/rules b/debian/rules
index f1f741c..744bc24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,33 +2,16 @@
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
-PY2VERS = $(shell pyversions -r -v)
+
+export PYBUILD_NAME=pyorbital
%:
- 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 setup.py test; \
- done
-endif
-
-
-override_dh_auto_clean:
- dh_auto_clean --buildsystem=python_distutils
- $(RM) -r pyorbital.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/pyorbital.git
More information about the Pkg-grass-devel
mailing list