From 788fd642c0ff4454c09bf8ea18605200e633343c Mon Sep 17 00:00:00 2001 From: Andrej Shadura Date: Sat, 9 Feb 2019 11:30:23 +0100 Subject: Initial packaging --- debian/changelog | 5 +++++ debian/control | 24 ++++++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++++ debian/rules | 13 +++++++++++++ debian/source/format | 1 + debian/watch | 4 ++++ 6 files changed, 77 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright 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..ed8114c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pem (18.2.0-1) unstable; urgency=medium + + * Initial upload. + + -- Andrej Shadura Sat, 09 Feb 2019 11:30:23 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a760ae1 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: pem +Maintainer: Debian Python Modules Team +Uploaders: + Andrej Shadura +Section: python +Priority: optional +Build-Depends: dh-python, python3-setuptools, python3-all, debhelper-compat (= 12) +Standards-Version: 4.3.0 +Homepage: https://pem.readthedocs.io/ +Vcs-Browser: https://salsa.debian.org/python-team/modules/pem +Vcs-Git: https://salsa.debian.org/python-team/modules/pem.git + +Package: python3-pem +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${python3:Depends} +Description: easy PEM file parsing in Python + pem is a Python module for parsing and splitting of PEM files, + i.e. Base64 encoded DER keys and certificates. + . + pem does not attempt to interpret the certificate data in any way. + . + Additionally to the vanilla parsing code, pem also contains helpers + for Twisted that save a lot of boilerplate code. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..645b6c1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://pypi.org/project/pem/ + +Files: * +Copyright: + 2012—2018 Hynek Schlawack +License: MIT + +Files: debian/* +Copyright: 2019 Andrej Shadura +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..30cdff8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=pem +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_install: + dh_auto_install + rm -rf debian/python-pem/trash + +override_dh_auto_test: + : + 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..64d7d84 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +# please also check http://pypi.debian.net/pem/watch +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/pem/pem-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \ No newline at end of file -- cgit v1.2.3