go for python2

This commit is contained in:
Frederic Peters 2018-11-04 13:33:50 +01:00
parent e995a3ca6a
commit 046d49095b
3 changed files with 26 additions and 2 deletions

25
debian/control vendored
View File

@ -9,9 +9,15 @@ Build-Depends: debhelper (>= 9),
python3-django,
python3-djangorestframework,
python3-mock,
python3-setuptools
python3-setuptools,
python-all,
python-django,
python-djangorestframework,
python-mock,
python-setuptools
Standards-Version: 3.9.8
X-Python3-Version: >= 3.4
X-Python-Version: >= 2.7
Homepage: https://github.com/jleclanche/django-push-notifications/
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-django-push-notifications.git
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-django-push-notifications.git
@ -32,3 +38,20 @@ Description: Send push notifications through GCM or APNS in Django (Python3 vers
bulk notifications.
.
This package contains the Python 3 version of the library.
Package: python-django-push-notifications
Architecture: all
Depends: ${misc:Depends},
${python:Depends}
Description: Send push notifications through GCM or APNS in Django (Python2 version)
A minimal Django app that implements Device models that can send messages
through APNS, FCM/GCM and WNS. It provides three models:
.
* GCMDevice
* APNSDevice
* WNSDevice
.
The app also implements an admin panel, through which you can test single and
bulk notifications.
.
This package contains the Python 2 version of the library.

View File

@ -0,0 +1 @@
README.rst

2
debian/rules vendored
View File

@ -6,7 +6,7 @@
export PYBUILD_NAME=django-push-notifications
%:
dh $@ --with python3 --buildsystem=pybuild
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
dh_auto_test -- --system=custom --test-args="{interpreter} tests/runtests.py"