do not build documentation package

This commit is contained in:
Frédéric Péters 2017-12-28 09:27:55 +01:00
parent e600c88fc2
commit 0ecd67575e
2 changed files with 2 additions and 26 deletions

25
debian/control vendored
View File

@ -11,8 +11,7 @@ Build-Depends:
python-babel,
python-django (>= 1.7),
python-mock,
python-setuptools,
python-sphinx,
python-setuptools
Standards-Version: 4.1.1
X-Python-Version: >= 2.5
Homepage: https://github.com/etianen/django-reversion
@ -41,25 +40,3 @@ Description: Provides comprehensive version control facilities for Django
* Automatically save a new version whenever your model changes using Django's
flexible signalling framework.
* Automate your revision management with easy-to-use middleware.
Package: python-django-reversion-doc
Section: doc
Architecture: all
Depends:
${misc:Depends},
${sphinxdoc:Depends},
Description: Provides comprehensive version control facilities for Django (Documentation)
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 documentation.

3
debian/rules vendored
View File

@ -6,7 +6,7 @@
export PYBUILD_NAME=django-reversion
%:
dh $@ --with python2,sphinxdoc --buildsystem=pybuild
dh $@ --with python2 --buildsystem=pybuild
override_dh_auto_test:
true
@ -17,7 +17,6 @@ override_dh_auto_build:
python setup.py compile_catalog --directory reversion/locale/ --locale $$(basename $$loc) --domain django; \
done
dh_auto_build
PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.rst