[Python-modules-commits] [python-fs] 09/17: Switch to pybuild, add dh-python to Build-Depends, add X-Python- Version

Jan Dittberner jandd at moszumanska.debian.org
Sun Jan 3 19:30:05 UTC 2016


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

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

commit ddfaef7ee40c8dcead37cef98f6011afd9f8b3b2
Author: Jan Dittberner <jandd at debian.org>
Date:   Sun Jan 3 17:55:46 2016 +0100

    Switch to pybuild, add dh-python to Build-Depends, add X-Python- Version
---
 debian/changelog | 2 ++
 debian/control   | 3 ++-
 debian/rules     | 4 +++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f7d7b2c..0104d9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ python-fs (0.5.4-1) UNRELEASED; urgency=medium
   * Use pypi redirector for debian/watch file
   * Change Homepage in debian/control to new PyPI URL
   * Update Source and Copyright years in debian/copyright
+  * Switch to pybuild, add dh-python to Build-Depends, add X-Python-
+    Version
 
  -- Jan Dittberner <jandd at debian.org>  Sun, 03 Jan 2016 18:21:51 +0100
 
diff --git a/debian/control b/debian/control
index b45a7a8..9f475cf 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,9 @@ Priority: optional
 Maintainer: Janos Guljas <janos at debian.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)
+Build-Depends: debhelper (>= 9), dh-python, python-all
 Standards-Version: 3.9.5
+X-Python-Version: >= 2.7
 Homepage: http://pypi.python.org/pypi/fs/
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-fs.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-fs.git
diff --git a/debian/rules b/debian/rules
index 8e4f4eb..3bdf45f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+PYBUILD_NAME=fs
+
 %:
-	dh $@ --with python2 --buildsystem=python_distutils
+	dh $@ --with python2,python3 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list