debian: do not build python3 package
This commit is contained in:
parent
785cc9dd4a
commit
e600c88fc2
|
@ -12,15 +12,9 @@ Build-Depends:
|
|||
python-django (>= 1.7),
|
||||
python-mock,
|
||||
python-setuptools,
|
||||
python3-all,
|
||||
python3-babel,
|
||||
python3-django,
|
||||
python3-mock,
|
||||
python3-setuptools,
|
||||
python3-sphinx,
|
||||
python-sphinx,
|
||||
Standards-Version: 4.1.1
|
||||
X-Python-Version: >= 2.5
|
||||
X-Python3-Version: >= 3.2
|
||||
Homepage: https://github.com/etianen/django-reversion
|
||||
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-reversion.git
|
||||
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-reversion.git
|
||||
|
@ -69,27 +63,3 @@ Description: Provides comprehensive version control facilities for Django (Docum
|
|||
* Automate your revision management with easy-to-use middleware.
|
||||
.
|
||||
This package contains the documentation.
|
||||
|
||||
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.
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
export PYBUILD_NAME=django-reversion
|
||||
|
||||
%:
|
||||
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||
dh $@ --with python2,sphinxdoc --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_test:
|
||||
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python{version} tests/manage.py test tests" dh_auto_test
|
||||
true
|
||||
|
||||
override_dh_auto_build:
|
||||
set -e; \
|
||||
|
|
Loading…
Reference in New Issue