aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control7
-rwxr-xr-xdebian/rules9
2 files changed, 6 insertions, 10 deletions
diff --git a/debian/control b/debian/control
index f7aca4c..1e0435d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,16 +3,17 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Jonas Genannt <jonas.genannt@capi2name.de>
-Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 9), python (>= 2.6.6-3~), python-django
+Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9), python-django (>= 1.7), python-all, dh-python, python-setuptools
Build-Depends-Indep: python-docutils
Vcs-Git: git://anonscm.debian.org/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
+X-Python-Version: >=2.7
Package: python-django-tagging
Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-django (>= 1.0)
+Depends: ${python:Depends}, ${misc:Depends}, python-django (>= 1.7)
Description: Generic tagging application for Django projects
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 b76798a..7db46f7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,10 @@
#!/usr/bin/make -f
PKG = $(shell dh_listpackages)
+export PYBUILD_NAME = python-django-tagging
%:
- dh $@ --with python2
+ dh $@ --with python2 --buildsystem=pybuild
override_dh_auto_test:
PYTHONPATH=. DJANGO_SETTINGS_MODULE=tagging.tests.settings python /usr/bin/django-admin test
-
-override_dh_installdocs:
- dh_installdocs
- # Generate documentation
- rst2html <docs/overview.txt >debian/$(PKG)/usr/share/doc/$(PKG)/overview.html
-