From df281f48b620c0ca4c13580d7ca338cad4a15ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 5 Nov 2018 21:44:50 +0100 Subject: [PATCH] add debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 37 +++++++++++++++++++++++++++++++++++++ debian/rules | 8 ++++++++ debian/source/format | 1 + debian/watch | 4 ++++ 6 files changed, 56 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7107e9c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pywebpush (1.7.0-1) unstable; urgency=low + + * source package automatically created by stdeb 0.8.5 + + -- Frederic Peters Sun, 04 Nov 2018 14:59:26 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..70c17ab --- /dev/null +++ b/debian/control @@ -0,0 +1,37 @@ +Source: pywebpush +Maintainer: Frederic Peters +Section: python +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python, + flake8, + python-all, + python-coverage, + python-http-ece, + python-mock, + python-nose, + python-py-vapid, + python-requests, + python-setuptools, + python-flake8, + python3-all, + python3-coverage, + python3-flake8, + python3-http-ece, + python3-mock, + python3-nose, + python3-py-vapid, + python3-requests, + python3-setuptools +Standards-Version: 3.9.6 +Homepage: https://github.com/web-push-libs/pywebpush + +Package: python-pywebpush +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: WebPush publication library - Python 2 + +Package: python3-pywebpush +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: WebPush publication library - Python 3 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ae5914f --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +# This file was automatically generated by stdeb 0.8.5 at +# Sun, 04 Nov 2018 14:59:26 +0100 +export PYBUILD_NAME=pywebpush +%: + dh $@ --with python2 --buildsystem=pybuild + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ae5f445 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +# please also check http://pypi.debian.net/pywebpush/watch +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/pywebpush/pywebpush-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \ No newline at end of file