diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cc0913a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,14 @@ +asn1crypto (0.24.0-1) unstable; urgency=medium + + * Add some missing files to debian/copyright. + * New upstream release. + * Bump Standards-Version to 4.1.2 (no changes). + * Upstream now ships a changelog, drop Lintian override. + + -- Tristan Seligmann Sat, 23 Dec 2017 20:29:58 +0200 + +asn1crypto (0.22.0-1) unstable; urgency=low + + * Initial upload (closes: #832804). + + -- Tristan Seligmann Tue, 20 Jun 2017 20:53:15 +0200 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..630a51a --- /dev/null +++ b/debian/control @@ -0,0 +1,59 @@ +Source: asn1crypto +Section: python +Priority: optional +Maintainer: Tristan Seligmann +Build-Depends: + debhelper (>= 9), + dh-python, + pypy, + pypy-setuptools, + python-all, + python-setuptools, + python3-all, + python3-setuptools, +Standards-Version: 4.1.2 +Homepage: https://github.com/wbond/asn1crypto +Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/asn1crypto.git +Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/asn1crypto.git + +Package: python-asn1crypto +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Recommends: ${python:Recommends} +Suggests: ${python:Suggests} +Description: Fast ASN.1 parser and serializer (Python 2) + asn1crypto focuses on: + - Delayed parsing of byte string values + - Persistence of original ASN.1 encoded data until a value is changed + - Lazy loading of child fields + - Utilization of high-level Python stdlib modules + . + This package contains the Python 2 version of asn1crypto. + +Package: python3-asn1crypto +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Recommends: ${python3:Recommends} +Suggests: ${python3:Suggests} +Description: Fast ASN.1 parser and serializer (Python 3) + asn1crypto focuses on: + - Delayed parsing of byte string values + - Persistence of original ASN.1 encoded data until a value is changed + - Lazy loading of child fields + - Utilization of high-level Python stdlib modules + . + This package contains the Python 3 version of asn1crypto. + +Package: pypy-asn1crypto +Architecture: all +Depends: ${misc:Depends}, ${pypy:Depends} +Recommends: ${pypy:Recommends} +Suggests: ${pypy:Suggests} +Description: Fast ASN.1 parser and serializer (PyPy) + asn1crypto focuses on: + - Delayed parsing of byte string values + - Persistence of original ASN.1 encoded data until a value is changed + - Lazy loading of child fields + - Utilization of high-level Python stdlib modules + . + This package contains the PyPy version of asn1crypto. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..dacfe6b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: asn1crypto +Upstream-Contact: wbond +Source: https://github.com/wbond/asn1crypto + +Files: * +Copyright: 2015-2017 Will Bond +License: Expat + +Files: asn1crypto/_ordereddict.py +Copyright: 2009 Raymond Hettinger +License: Expat + +Files: asn1crypto/_elliptic_curve.py +Copyright: 2014 Peter Pearson +License: Expat + +Files: debian/* +Copyright: 2017 Tristan Seligmann +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..b9e777d --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +debian-branch=debian/master +pristine-tar = True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f7e9324 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#! /usr/bin/make -f + +export PYBUILD_NAME=asn1crypto +%: + dh $@ --with python3,python2,pypy --buildsystem=pybuild + +# Disable test suite since the tests are not shipped +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/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..78d49bd --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +# Upstream does not sign their releases +asn1crypto source: debian-watch-may-check-gpg-signature diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..d81db3f --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="^[^/]+.egg-info/" diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..9ee7d8c --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +# try also https://pypi.debian.net/asn1crypto/watch +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/asn1crypto/asn1crypto-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))