[Python-modules-commits] [python-textile] 04/11: Switch to pybuild buildsystem and build a python3-textile package.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Mon Dec 14 16:30:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository python-textile.
commit 7ecdabf726c2461ecc11e0a50d991ff1f0342cf2
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Mon Dec 14 18:53:42 2015 +0300
Switch to pybuild buildsystem and build a python3-textile package.
Closes: #802167.
---
debian/changelog | 2 ++
debian/compat | 2 +-
debian/control | 26 ++++++++++++++++++++++----
debian/rules | 4 +++-
4 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index dbd18cb..dd6c474 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ python-textile (1:2.2.2-1) UNRELEASED; urgency=low
[ Dmitry Shachnev ]
* New upstream release.
+ * Switch to pybuild buildsystem and build a python3-textile package
+ (closes: #802167).
-- Dmitry Shachnev <mitya57 at debian.org> Mon, 14 Dec 2015 18:34:21 +0300
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index d96a074..22dd8bb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,17 @@ Section: python
Priority: optional
Maintainer: Janos Guljas <janos at resenje.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50), python (>= 2.6.6-3~), python-setuptools
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python (>= 2.6.6-3~),
+ python-nose,
+ python-setuptools,
+ python3-all,
+ python3-nose,
+ python3-setuptools
Standards-Version: 3.9.2
-X-Python-Version: >= 2.5
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
Homepage: https://github.com/textile/python-textile
Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-textile.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-textile.git
@@ -13,9 +21,19 @@ Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-text
Package: python-textile
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
-Description: Python parser for the Textile markup
+Description: Python 2 parser for the Textile markup
Textile is an XHTML generator that uses a simple markup, similar
to the one you can find on most wikis.
.
- This is a Python module that implements a parser and generator
+ This is a Python 2 module that implements a parser and generator
+ that supports the Textile markup syntax.
+
+Package: python3-textile
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python 3 parser for the Textile markup
+ Textile is an XHTML generator that uses a simple markup, similar
+ to the one you can find on most wikis.
+ .
+ This is a Python 3 module that implements a parser and generator
that supports the Textile markup syntax.
diff --git a/debian/rules b/debian/rules
index c040149..56896b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
#!/usr/bin/make -f
+export PYBUILD_NAME=textile
+
%:
- dh --with python2 $@
+ dh $@ --with python2,python3 --buildsystem pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-textile.git
More information about the Python-modules-commits
mailing list