[Python-modules-commits] [django-hvad] 02/04: remove all python2 packaging

Hans-Christoph Steiner eighthave at moszumanska.debian.org
Thu Jan 4 13:33:03 UTC 2018


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

eighthave pushed a commit to branch master
in repository django-hvad.

commit 64e2a684e906f4bd501ad15d88d946c13c5fecd2
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Thu Jan 4 13:07:04 2018 +0100

    remove all python2 packaging
    
    https://lintian.debian.org/tags/new-package-should-not-package-python2-module.html
---
 debian/control | 21 ---------------------
 debian/rules   |  2 +-
 2 files changed, 1 insertion(+), 22 deletions(-)

diff --git a/debian/control b/debian/control
index 6babf62..1429520 100644
--- a/debian/control
+++ b/debian/control
@@ -5,9 +5,6 @@ Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.
 Uploaders: Hans-Christoph Steiner <hans at eds.org>
 Build-Depends: debhelper (>=9),
                dh-python,
-               python-all (>= 2.7),
-               python-django (>= 1.8),
-               python-setuptools,
                python3-all (>= 3.4),
                python3-django (>= 1.8),
                python3-setuptools,
@@ -15,26 +12,8 @@ Standards-Version: 4.1.3
 Homepage: https://github.com/KristianOellegaard/django-hvad     
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-hvad.git
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-hvad.git
-X-Python-Version: >= 2.7
 X-Python3-Version: >= 3.4
 
-Package: python-django-hvad
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends},
-Description: Painless translations in Django
- Painless translations in django, using the regular ORM. Integrates
- easily into existing projects and apps. Easy convertible from
- django-multilingual-ng.
- .
- This project adds support for model translations in Django. It is
- designed to be unobtrusive, efficient and reliable. On the technical
- side, it uses an automatically created Translations Model to store
- translatable fields in arbitrary languages with a foreign key to the
- main model, enabling fast queries.
- .
- Started in 2011, hvad has grown mature and is now used on large scale
- applications.
-
 Package: python3-django-hvad
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends},
diff --git a/debian/rules b/debian/rules
index 365a675..dd65695 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 export PYBUILD_NAME=django-hvad
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 
 override_dh_auto_test:

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



More information about the Python-modules-commits mailing list