[Python-modules-commits] [django-taggit] 05/09: Add python 3 package.

Michal Cihar nijel at moszumanska.debian.org
Mon Aug 24 12:11:34 UTC 2015


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

nijel pushed a commit to branch master
in repository django-taggit.

commit 012bd791ac1e31cf593644ba5bf0d99b53d7938d
Author: Michal Čihař <nijel at debian.org>
Date:   Mon Aug 24 13:52:19 2015 +0200

    Add python 3 package.
    
    Signed-off-by: Michal Čihař <nijel at debian.org>
---
 debian/changelog |  1 +
 debian/control   | 19 ++++++++++++++++++-
 debian/rules     |  4 +---
 3 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 46c7f3b..a4f7b9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ django-taggit (0.17.0-1) unstable; urgency=medium
 
   * New upstream release.
   * Update debian/watch.
+  * Add python 3 package.
 
  -- Michal Čihař <nijel at debian.org>  Mon, 24 Aug 2015 13:44:42 +0200
 
diff --git a/debian/control b/debian/control
index e0199db..67b6bf7 100644
--- a/debian/control
+++ b/debian/control
@@ -4,12 +4,13 @@ Priority: optional
 Maintainer: Michal Čihař <nijel at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 9)
-Build-Depends-Indep: python (>= 2.6.6-3), python-setuptools
+Build-Depends-Indep: python (>= 2.6.6-3), python-setuptools, python3-setuptools, python3-all-dev
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/django-taggit.git
 Vcs-Git: git://anonscm.debian.org/collab-maint/django-taggit.git
 Homepage: https://github.com/alex/django-taggit
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 
 Package: python-django-taggit
 Architecture: all
@@ -22,3 +23,19 @@ Description: simple tagging for Django
  .
  django-taggit a simpler approach to tagging with Django. Add "taggit" to your
  INSTALLED_APPS then just add a TaggableManager to your model.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-django-taggit
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python3-django
+Breaks: ${python:Breaks}
+Description: simple tagging for Django
+ 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.
+ .
+ django-taggit a simpler approach to tagging with Django. Add "taggit" to your
+ INSTALLED_APPS then just add a TaggableManager to your model.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/rules b/debian/rules
index 83f69b4..051997d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
 
 override_dh_auto_install:
 	dh_auto_install
-	rm -rf $(CURDIR)/debian/python-django-taggit/usr/lib/python2.7/dist-packages/tests
-	rm -rf $(CURDIR)/debian/python-django-taggit/usr/share/pyshared/tests

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/django-taggit.git



More information about the Python-modules-commits mailing list