[Python-modules-commits] [django-modeltranslation] 05/05: Clean up the packaging a bit more

Raphaël Hertzog hertzog at moszumanska.debian.org
Mon Jun 27 21:06:00 UTC 2016


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

hertzog pushed a commit to branch master
in repository django-modeltranslation.

commit 67fb6df9ffffa4408b71f66121c45b53229d7091
Author: Raphaël Hertzog <hertzog at debian.org>
Date:   Mon Jun 27 22:54:59 2016 +0200

    Clean up the packaging a bit more
---
 debian/control | 31 ++++++++++++++++++-------------
 debian/rules   |  4 +++-
 debian/watch   |  6 +-----
 3 files changed, 22 insertions(+), 19 deletions(-)

diff --git a/debian/control b/debian/control
index a02082d..df1bb9e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,21 +2,28 @@ Source: django-modeltranslation
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Sophie Brun <sophie at freexian.com>
-Build-Depends: debhelper (>=9),dh-python,python-all (>= 2.6.6-3~),python3-all, python-sphinx, python-django
+Uploaders:
+ Sophie Brun <sophie at freexian.com>,
+ Raphaël Hertzog <hertzog at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.6.6-3~),
+ python-django,
+ python-sphinx,
+ python3-all
 Standards-Version: 3.9.8
 Homepage: https://github.com/deschler/django-modeltranslation/
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
-#Vcs-Git: git://anonscm.debian.org/collab-maint/django-modeltranslation.git
-#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/django-modeltranslation.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-modeltranslation.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-modeltranslation.git
 
 Package: python-django-modeltranslation
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python:Depends}
 Suggests: python-django-modeltranslation-doc
-Description: Translation models for Django applications (Python 2)
- This package contains translates Django models using a registration approach.
+Description: Translate dynamic content of Django models (Python 2)
  The modeltranslation application can be used to translate dynamic content of
  existing models to an arbitrary number of languages without having to change
  the original model classes. It uses a registration approach (comparable to
@@ -27,10 +34,9 @@ Description: Translation models for Django applications (Python 2)
 
 Package: python3-django-modeltranslation
 Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}
 Suggests: python-django-modeltranslation-doc
-Description: Translation models for Django applications (Python 3)
- This package contains translates Django models using a registration approach.
+Description: Translate dynamic content of Django models (Python 3)
  The modeltranslation application can be used to translate dynamic content of
  existing models to an arbitrary number of languages without having to change
  the original model classes. It uses a registration approach (comparable to
@@ -42,9 +48,8 @@ Description: Translation models for Django applications (Python 3)
 Package: python-django-modeltranslation-doc
 Architecture: all
 Section: doc
-Depends: ${sphinxdoc:Depends}, ${misc:Depends}
-Description: Translation models for Django applications (common documentation)
- This package contains translates Django models using a registration approach.
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Translate dynamic content of Django models (common documentation)
  The modeltranslation application can be used to translate dynamic content of
  existing models to an arbitrary number of languages without having to change
  the original model classes. It uses a registration approach (comparable to
diff --git a/debian/rules b/debian/rules
index 8fc8466..978ee50 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,4 +10,6 @@ override_dh_auto_build:
 	PYTHONPATH=. sphinx-build -b html -N docs/modeltranslation build/html
 
 override_dh_auto_test:
-	python ./runtests.py
+	for python in $(shell pyversions -s; py3versions -s); do \
+	    $$python ./runtests.py; \
+	done
diff --git a/debian/watch b/debian/watch
index fbd27df..a338c70 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,8 +2,4 @@ version=4
 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%django-modeltranslation-$1.tar.gz%, \
 uversionmangle=s/rc/~rc/" \
    https://github.com/deschler/django-modeltranslation/tags \
-   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
-
-# PyPI
-# https://pypi.python.org/packages/source/<initial>/django-modeltranslation/ \
-#   django-modeltranslation-(.+)\.tar\.gz debian uupdate
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz

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



More information about the Python-modules-commits mailing list