diff --git a/debian/control b/debian/control index c8f1cf1..6c2b56e 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,14 @@ Source: django-ckeditor Section: python Priority: extra Maintainer: Frederic Peters -Build-Depends: python-all, python-setuptools, debhelper, python-django +Build-Depends: debhelper, + dh-python, + python-all, + python-django, + python-setuptools, + python3-all, + python3-django, + python3-setuptools Standards-Version: 3.9.5 X-Python-Version: >= 2.5 Homepage: https://pypi.python.org/pypi/django-ckeditor/ @@ -10,6 +17,15 @@ Homepage: https://pypi.python.org/pypi/django-ckeditor/ Package: python-django-ckeditor Architecture: all Depends: python-django, ${python:Depends}, ${misc:Depends} -Description: Django admin CKEditor integration +Description: Django admin CKEditor integration (Python 2) Provides a ``RichTextField`` and ``CKEditorWidget`` utilizing CKEditor with image upload and browsing support included. + +Package: python3-django-ckeditor +Architecture: all +Depends: python3-django, ${python3:Depends}, ${misc:Depends} +Description: Django admin CKEditor integration (Python 3) + Provides a ``RichTextField`` and ``CKEditorWidget`` utilizing CKEditor with + image upload and browsing support included. + . + This is the Python 3 version of the package. diff --git a/debian/rules b/debian/rules index cbc5d35..a5f83c8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,10 @@ #!/usr/bin/make -f # -*- makefile -*- -# Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export PYBUILD_NAME=django-ckeditor %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_test: