debian: build only python2 package
This commit is contained in:
parent
f4dae5ff74
commit
a6eda078b9
|
@ -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,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
|
||||
|
|
Loading…
Reference in New Issue