debian: disable python3 packages

This commit is contained in:
Frederic Peters 2016-09-29 20:40:07 +02:00
parent 1ac1eaa96d
commit d845f14716
2 changed files with 2 additions and 20 deletions

20
debian/control vendored
View File

@ -4,8 +4,7 @@ Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Brian May <bam@debian.org>
Build-Depends: debhelper (>=8.1.0), dh-python,
python-all, python-setuptools, python-django,
python3-all (>= 2.6.6-3~), python3-setuptools, python3-django
python-all, python-setuptools, python-django
Standards-Version: 3.9.8
Homepage: https://github.com/carljm/django-model-utils/
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-model-utils.git
@ -27,20 +26,3 @@ Description: Django model mixins and utilities — Python 2
* TimeStampedModel: self-updating created and modified fields.
.
This package installs the library for Python 2.
Package: python3-django-model-utils
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Django model mixins and utilities — Python 3
Django is a high-level web application framework that loosely follows
the model-view-controller design pattern.
.
The django-model-utils library provides some mixins and utilities
for Django:
.
* QueryManager: one-line definition of Managers returning a
custom QuerySet.
* InheritanceCastModel: more efficient use of model inheritance
* TimeStampedModel: self-updating created and modified fields.
.
This package installs the library for Python 3.

2
debian/rules vendored
View File

@ -4,7 +4,7 @@
export PYBUILD_NAME=django-model-utils
%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python2 --buildsystem=pybuild
.PHONY: override_dh_auto_test
override_dh_auto_test: