debian/0000755000000000000000000000000012214641736007174 5ustar debian/watch0000644000000000000000000000017112214636362010223 0ustar version=3 https://github.com/toofishes/python-pgpdump/releases \ .*/v?(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) debian/python3-pgpdump.install0000644000000000000000000000002112040405371013621 0ustar usr/lib/python3* debian/copyright0000644000000000000000000000221412040076001011106 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pgpdump Upstream-Contact: Dan McGee Source: https://github.com/toofishes/python-pgpdump Files: * Copyright: 1998, Kazuhiko Yamamoto 2011-2012, Dan McGee License: BSD Files: ./debian/* Copyright: 2012 Hans-Christoph Steiner License: public domain License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. License: public domain I hereby release these files into the public domain. debian/patches/0000755000000000000000000000000012040125441010606 5ustar debian/patches/series0000644000000000000000000000003412040125233012017 0ustar add_tests_to_setup_py.patch debian/patches/add_tests_to_setup_py.patch0000644000000000000000000000156212040125407016241 0ustar Description: add tests to setup.py This python module includes a test script, but it is not included in the setup.py. This patch does just that. Author: Hans-Christoph Steiner Bug: https://github.com/toofishes/python-pgpdump/issues/11 Forwarded: https://github.com/toofishes/python-pgpdump/issues/11 Last-Update: <2012-10-18> --- python-pgpdump-1.3.orig/setup.py +++ python-pgpdump-1.3/setup.py @@ -1,4 +1,7 @@ -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup from pgpdump import __version__, __author__ @@ -21,5 +24,6 @@ setup( url = 'https://github.com/toofishes/python-pgpdump', keywords = 'pgp gpg rfc2440 rfc4880 crypto cryptography', classifiers = classifiers, - packages = ['pgpdump'] + packages = ['pgpdump'], + test_suite='pgpdump.test' ) debian/changelog0000644000000000000000000000050212214641442011035 0ustar python-pgpdump (1.4-1) unstable; urgency=low * updated to latest upstream release -- Hans-Christoph Steiner Fri, 13 Sep 2013 12:36:03 -0400 python-pgpdump (1.3-1) unstable; urgency=low * Initial release (Closes: #690900) -- Hans-Christoph Steiner Fri, 19 Oct 2012 22:27:51 -0400 debian/python-pgpdump.install0000644000000000000000000000002112040405371013536 0ustar usr/lib/python2* debian/control0000644000000000000000000000444312214641546010603 0ustar Source: python-pgpdump Maintainer: Debian Python Modules Team Uploaders: Hans-Christoph Steiner Section: python Priority: optional Build-Depends: python-all (>= 2.7.0~), python3-all, debhelper (>= 8.0.0~), python-setuptools (>= 0.6b3), python3-setuptools X-Python-Version: >= 2.7 X-Python3-Version: >= 3.1 Standards-Version: 3.9.4 Homepage: https://pypi.python.org/pypi/pgpdump/ Vcs-Git: git://anonscm.debian.org/collab-maint/python-pgpdump.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-pgpdump.git;a=summary Package: python-pgpdump Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: PGP packet parser library (Python 2) python-pgpdump is a Python library for parsing PGP packets as specified in RFC2440 and RFC4880. It is derived from pgpdump, a C program published at: http://www.mew.org/~kazu/proj/pgpdump/ The intent is to support what people actually have to do with PGP packets 95% of the time. This module does not aim to be a complete PGP parser, as it currently does not decode every PGP packet type. Currently supported things include: . * Signature packets * Public key packets * ASCII-armor decoding and CRC check . A single codebase with dependencies on only the standard Python library is compatible across Python 2.7, Python 3.2, and PyPy 1.8. . This is the Python 2 version of the package. Package: python3-pgpdump Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: PGP packet parser library (Python 3) python-pgpdump is a Python library for parsing PGP packets as specified in RFC2440 and RFC4880. It is derived from pgpdump, a C program published at: http://www.mew.org/~kazu/proj/pgpdump/ The intent is to support what people actually have to do with PGP packets 95% of the time. This module does not aim to be a complete PGP parser, as it currently does not decode every PGP packet type. Currently supported things include: . * Signature packets * Public key packets * ASCII-armor decoding and CRC check . A single codebase with dependencies on only the standard Python library is compatible across Python 2.7, Python 3.2, and PyPy 1.8. . This is the Python 3 version of the package. debian/compat0000644000000000000000000000000212040405371010360 0ustar 8 debian/rules0000755000000000000000000000123612040376046010252 0ustar #!/usr/bin/make -f PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) %: dh $@ --with python2,python3 --buildsystem=python_distutils ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) test-python%: python$* setup.py test -vv override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) endif build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info debian/source/0000755000000000000000000000000012040070075010461 5ustar debian/source/format0000644000000000000000000000001412040070075011667 0ustar 3.0 (quilt)