debian: do not build python3 package

This commit is contained in:
Frédéric Péters 2015-08-19 20:13:00 +02:00 committed by Frederic Peters
parent 41a17b0933
commit 66087fea30
2 changed files with 4 additions and 30 deletions

30
debian/control vendored
View File

@ -8,13 +8,9 @@ Build-Depends: debhelper (>= 8.1.0~),
python-all,
python-babel,
python-django (>= 1.7),
python-sphinx (>= 1.0.7+dfsg),
python3-all,
python3-babel,
python3-django
python-sphinx (>= 1.0.7+dfsg)
Standards-Version: 3.9.6
X-Python-Version: >= 2.5
X-Python3-Version: >= 3.2
X-Python-Version: >= 2.7
Homepage: https://github.com/etianen/django-reversion
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-reversion/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-reversion/trunk/
@ -39,28 +35,6 @@ Description: Provides comprehensive version control facilities for Django
flexible signalling framework.
* Automate your revision management with easy-to-use middleware.
Package: python3-django-reversion
Architecture: all
Depends: python3-django,
${misc:Depends},
${python3:Depends}
Suggests: python-django-reversion-doc
Description: Provides comprehensive version control facilities for Django (Python3 version)
Reversion is an extension to the Django web framework that provides
comprehensive version control facilities.
.
Features:
* Roll back to any point in a model's history - an unlimited undo facility!
* Recover deleted models - never lose data again!
* Admin integration for maximum usability.
* Group related changes into revisions that can be rolled back in a single
transaction.
* Automatically save a new version whenever your model changes using Django's
flexible signalling framework.
* Automate your revision management with easy-to-use middleware.
.
This package contains the Python 3 version of the library.
Package: python-django-reversion-doc
Section: doc
Architecture: all

4
debian/rules vendored
View File

@ -6,12 +6,12 @@
export PYBUILD_NAME=django-reversion
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
dh $@ --with python2,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; \
for python in $(shell pyversions -r) $(shell py3versions -r); do \
for python in $(shell pyversions -r); do \
PYTHONPATH="src" $$python src/tests/runtests.py ; \
done
endif