[Python-modules-commits] [django-taggit] 07/09: Py3 packaging

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 2e7a2a7c803ebbf6131744ce1d5f658add81c2bc
Author: Michal Čihař <nijel at debian.org>
Date:   Mon Aug 24 13:57:46 2015 +0200

    Py3 packaging
    
    Signed-off-by: Michal Čihař <nijel at debian.org>
---
 debian/control | 6 +++---
 debian/rules   | 6 ++----
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 67b6bf7..151c728 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ 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, python3-setuptools, python3-all-dev
+Build-Depends-Indep: python (>= 2.6.6-3), python-setuptools, python3-setuptools, python3-all-dev, dh-python
 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
@@ -28,8 +28,8 @@ Description: simple tagging for Django
 
 Package: python3-django-taggit
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python3-django
-Breaks: ${python:Breaks}
+Depends: ${python3:Depends}, ${misc:Depends}, python3-django
+Breaks: ${python3: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
diff --git a/debian/rules b/debian/rules
index 051997d..0398cce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=django-taggit
 %:
-	dh $@ --with python2,python3
-
-override_dh_auto_install:
-	dh_auto_install
+	dh $@ --fail-missing --with python2,python3 --buildsystem=pybuild

-- 
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