diff --git a/debian/control b/debian/control index dacb91c..aa048ed 100644 --- a/debian/control +++ b/debian/control @@ -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. diff --git a/debian/python-django-push-notifications.docs b/debian/python-django-push-notifications.docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/debian/python-django-push-notifications.docs @@ -0,0 +1 @@ +README.rst diff --git a/debian/rules b/debian/rules index ebca02e..69baf49 100755 --- a/debian/rules +++ b/debian/rules @@ -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"