[pyshp] 04/08: Switch buildsystem to pybuild, enable parallel builds.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun May 3 12:18:49 UTC 2015


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

sebastic pushed a commit to branch master
in repository pyshp.

commit 6cf4ac0684c2b9d18b61300da884dd9946857418
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun May 3 13:49:22 2015 +0200

    Switch buildsystem to pybuild, enable parallel builds.
---
 debian/changelog             |  1 +
 debian/control               |  1 +
 debian/python-pyshp.install  |  1 -
 debian/python3-pyshp.install |  1 -
 debian/rules                 | 13 +++++--------
 5 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3bc8893..d536834 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ pyshp (1.2.1-2) unstable; urgency=medium
   * Add Upstream-Name, Upstream-Contact & Source copyright file headers.
   * Bump debhelper compatibility to 9.
   * Add upstream metadata.
+  * Switch buildsystem to pybuild, enable parallel builds.
 
  -- Ross Gammon <rossgammon at mail.dk>  Sun, 03 May 2015 10:41:52 +0200
 
diff --git a/debian/control b/debian/control
index 481a993..e12a5c4 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Uploaders: David Paleino <dapal at debian.org>,
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
+               dh-python,
                python-all,
                python-setuptools,
                python3-all,
diff --git a/debian/python-pyshp.install b/debian/python-pyshp.install
deleted file mode 100644
index 0105c59..0000000
--- a/debian/python-pyshp.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python2.*/
diff --git a/debian/python3-pyshp.install b/debian/python3-pyshp.install
deleted file mode 100644
index 5b790f6..0000000
--- a/debian/python3-pyshp.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3*/
diff --git a/debian/rules b/debian/rules
index cce659e..7ce83f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,15 +4,12 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export PYBUILD_NAME=pyshp
+
 %:
 	dh $@ \
+		--buildsystem=pybuild \
 		--with python2 \
-		--with python3
+		--with python3 \
+		--parallel
 
-override_dh_auto_install:
-	for py in $(shell pyversions -r); do \
-		$$py setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp/ ; \
-	done
-	for py in $(shell py3versions -r); do \
-		$$py setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp/ ; \
-	done

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



More information about the Pkg-grass-devel mailing list