summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-11-05 12:56:09 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-11-05 12:56:09 (GMT)
commitc7aa13bf36ff56b18961ceb264c1de814feea3ef (patch)
treeded533e3f903d2b9da61803f9dad44a74f95cf84
parent1195cf348823b66800a81b8fe96b123fe27d8c4a (diff)
downloaddjango-ckeditor-c7aa13bf36ff56b18961ceb264c1de814feea3ef.zip
django-ckeditor-c7aa13bf36ff56b18961ceb264c1de814feea3ef.tar.gz
django-ckeditor-c7aa13bf36ff56b18961ceb264c1de814feea3ef.tar.bz2
debian: update packaging and a python3 package
-rw-r--r--debian/control20
-rwxr-xr-xdebian/rules6
2 files changed, 22 insertions, 4 deletions
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 <fpeters@debian.org>
-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: