From a6eda078b905255a8e00d1b862daa9af8d57edaa Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 22 Sep 2016 13:20:52 +0200 Subject: [PATCH] debian: build only python2 package --- debian/control | 14 -------------- debian/rules | 3 +-- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/debian/control b/debian/control index 01fcc37..792848c 100644 --- a/debian/control +++ b/debian/control @@ -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. diff --git a/debian/rules b/debian/rules index 78b4d8f..4bc9cab 100755 --- a/debian/rules +++ b/debian/rules @@ -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