[Python-modules-commits] [python-slimmer] 03/12: switch to pybuild

Jan Dittberner jandd at moszumanska.debian.org
Sun Jan 3 20:53:15 UTC 2016


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

jandd pushed a commit to branch master
in repository python-slimmer.

commit 7bb0f913ad39d9c79daf3cca1ac0f1d7ac676f67
Author: Jan Dittberner <jandd at debian.org>
Date:   Sun Jan 3 20:54:54 2016 +0100

    switch to pybuild
    
    * run wrap-and-sort
    * switch to pybuild, add dh-python to Build-Depends, add X-Python3-
      Version, change debian/rules
---
 debian/changelog |  3 +++
 debian/control   | 10 ++++++++--
 debian/rules     | 18 +++---------------
 3 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 578330c..8e42f24 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,9 @@ python-slimmer (0.1.30-7) UNRELEASED; urgency=low
   * Switch debian/watch to PyPI redirector
   * Update debhelper compatibility to 9 (debian/compat and Build-Depends
     in debian/control)
+  * run wrap-and-sort
+  * switch to pybuild, add dh-python to Build-Depends, add X-Python3-
+    Version, change debian/rules
 
  -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 18:40:56 +0200
 
diff --git a/debian/control b/debian/control
index bd74b43..64c792b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,16 @@ Section: python
 Priority: optional
 Maintainer: Janos Guljas <janos at resenje.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
- Jan Dittberner <jandd at debian.org>
-Build-Depends: debhelper (>= 9), python-all (>= 2.5), python3-all (>= 3.1), python-setuptools, python3-setuptools
+           Jan Dittberner <jandd at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all (>= 2.5),
+               python-setuptools,
+               python3-all (>= 3.1),
+               python3-setuptools
 Standards-Version: 3.9.3
 X-Python-Version: >= 2.4
+X-Python3-Version: >= 3.4
 Homepage: http://pypi.python.org/pypi/slimmer/
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-slimmer.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-slimmer.git
diff --git a/debian/rules b/debian/rules
index 079ea3b..40c0b1c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,6 @@
 #!/usr/bin/make -f
 
-%:
-	dh $@ --with python2,python3
-
-override_dh_auto_install:
-	for pyvers in $(shell pyversions -vr); do \
-		python$$pyvers setup.py install --install-layout=deb \
-			--root $(CURDIR)/debian/python-slimmer; \
-	done
-	for pyvers in $(shell py3versions -vr); do \
-		python$$pyvers setup.py install --install-layout=deb \
-			--root $(CURDIR)/debian/python3-slimmer; \
-	done
+export PYBUILD_NAME=slimmer
 
-override_dh_clean:
-	dh_clean
-	rm -rf build
+%:
+	dh $@ --with python2,python3 --buildsystem pybuild

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



More information about the Python-modules-commits mailing list