debian: update packaging and a python3 package

This commit is contained in:
Frédéric Péters 2018-11-05 13:56:09 +01:00
parent 1195cf3488
commit c7aa13bf36
2 changed files with 22 additions and 4 deletions

20
debian/control vendored
View File

@ -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.

6
debian/rules vendored
View File

@ -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: