debian: disable python3 packages
This commit is contained in:
parent
1ac1eaa96d
commit
d845f14716
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue