debian: build only python2 package

This commit is contained in:
Benjamin Dauvergne 2016-09-22 13:20:52 +02:00
parent f4dae5ff74
commit a6eda078b9
2 changed files with 1 additions and 16 deletions

14
debian/control vendored
View File

@ -25,17 +25,3 @@ Description: JSON field for Django models (Python 2)
JSON.
.
This is the Python 2 version of the package.
Package: python3-django-jsonfield
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, python-django (>= 1.3)
Description: JSON field for Django models (Python 3)
This package provides a Django field (jsonfield.JSONField) that you can use to
store arbitrary JSON structures in a simple text field at the database level.
.
Accessing the field returns a decoded object (list, dict, string).
.
In forms, it appears like a TextField but the input is validated to be valid
JSON.
.
This is the Python 3 version of the package.

3
debian/rules vendored
View File

@ -3,9 +3,8 @@
export PYBUILD_NAME=django-jsonfield
%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python2 --buildsystem=pybuild
.PHONY: override_dh_auto_test
override_dh_auto_test:
python2 debian/run_tests.py
python3 debian/run_tests.py