diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e97cdcb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-jose (3.1.0-1+swh1) unstable-swh; urgency=medium + + * Initial release. + + -- Antoine Lambert Mon, 16 Mar 2020 16:33:02 +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..96d38bf --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: python-jose +Section: python +Priority: optional +Maintainer: Software Heritage Developers +Build-Depends: debhelper (>=9), + dh-python, + python3-all, + python3-setuptools, + python3-pycryptodome, + python3-pytest, + python3-pytest-cov, + python3-pytest-runner, + python3-six, + python3-rsa, + python3-ecdsa, + python3-pyasn1 +Standards-Version: 3.1.0 +Homepage: https://github.com/mpdavis/python-jose +Vcs-Browser: https://github.com/mpdavis/python-jose.git +Vcs-Git: https://github.com/mpdavis/python-jose.git +X-Python3-Version: >= 3.1 + +Package: python3-jose +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, +Description: A JOSE implementation in Python + The JavaScript Object Signing and Encryption (JOSE) technologies - + JSON Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), + and JSON Web Algorithms (JWA) - collectively can be used to encrypt + and/or sign content using a variety of algorithms. While the full + set of permutations is extremely large, and might be daunting to some, + it is expected that most applications will only use a small set of + algorithms to meet their needs. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..18a0985 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-jose +Upstream-Contact: Michael Davis +Source: https://pypi.python.org/pypi/python-jose + +Files: * +Copyright: 2015-2019, Michael Davis and individual contributors +License: EXPAT + +License: EXPAT + 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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..7f63e3e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +upstream-branch=debian/upstream +upstream-tag=debian/upstream/%(version)s +debian-branch=debian/unstable-swh +pristine-tar=True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..65808a4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=python-jose + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_install: + dh_install + rm -rfv $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/.coverage 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/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..a864479 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,5 @@ +# The RFCs are included as comments in python-jose tests. This +# might be a problem in the official Debian archive, but we don't +# need lintian complaining about it here. + +python-jose source: license-problem-non-free-RFC-BCP78 tests/rfc/*