summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2019-02-09 11:30:23 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-02-09 11:31:35 +0100
commit788fd642c0ff4454c09bf8ea18605200e633343c (patch)
treebf0bb2bfffaae054f99283fb2fcbe60cdfa7fc6e
parentb06d6e38c71ab6864742c343da2a11c53f95b661 (diff)
Initial packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/control24
-rw-r--r--debian/copyright30
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
6 files changed, 77 insertions, 0 deletions
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 <andrewsh@debian.org> 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 <python-modules-team@lists.alioth.debian.org>
+Uploaders:
+ Andrej Shadura <andrewsh@debian.org>
+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 <andrewsh@debian.org>
+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