From 49793cd96833650fac25f3d32d559e65e05ff3dd Mon Sep 17 00:00:00 2001 From: Jonas Genannt Date: Sat, 28 Nov 2015 16:28:02 +0100 Subject: Updated to pybuild --- debian/control | 7 ++++--- debian/rules | 9 ++------- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'debian') 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 Uploaders: Jonas Genannt -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 debian/$(PKG)/usr/share/doc/$(PKG)/overview.html - -- cgit v1.2.3