[Python-modules-commits] [python-django-tagging] 13/15: Add a Python 3 package

Christopher Baines cbaines-guest at moszumanska.debian.org
Wed May 11 11:05:28 UTC 2016


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

cbaines-guest pushed a commit to branch master
in repository python-django-tagging.

commit ae47c4e39d7282d0cc106ed27f260a3b0ea3200e
Author: Christopher Baines <mail at cbaines.net>
Date:   Wed May 11 11:46:35 2016 +0100

    Add a Python 3 package
---
 debian/control | 22 +++++++++++++++++++---
 debian/rules   |  2 +-
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index e6d7526..f6f6c52 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Jonas Genannt <genannt at debian.org>, Christopher Baines <mail at cbaines.net>
 Standards-Version: 3.9.8
-Build-Depends: debhelper (>= 9), python-django (>= 1.7), python-all, dh-python, python-setuptools
-Build-Depends-Indep: python-docutils
+Build-Depends: debhelper (>= 9), python-django (>= 1.7), python3-django (>= 1.7), python-all, python3-all, dh-python, python-setuptools, python3-setuptools,
+Build-Depends-Indep: python-docutils, python3-docutils
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-django-tagging.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-django-tagging.git
 Homepage: https://github.com/Fantomas42/django-tagging
@@ -14,7 +14,7 @@ X-Python-Version: >=2.7
 Package: python-django-tagging
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-django (>= 1.7)
-Description: Generic tagging application for Django projects
+Description: Generic tagging application for Django projects (Python 2)
  This is a generic tagging application for Django, which allows
  association of a number of tags with any Model instance and makes
  retrieval of tags simple.
@@ -22,3 +22,19 @@ Description: Generic tagging application for Django projects
  Models can be expanded with a new TagField; web templates
  can easily include tag clouds and dedicated views are available
  to browse objects by tag.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-django-tagging
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-django (>= 1.7)
+Description: Generic tagging application for Django projects (Python 3)
+ This is a generic tagging application for Django, which allows
+ association of a number of tags with any Model instance and makes
+ retrieval of tags simple.
+ .
+ Models can be expanded with a new TagField; web templates
+ can easily include tag clouds and dedicated views are available
+ to browse objects by tag.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/rules b/debian/rules
index f5f2ae3..2ea77a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 export PYBUILD_NAME=python-django-tagging
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))

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



More information about the Python-modules-commits mailing list