From 6db43469867c6ae1f80fe54681e667138c093690 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 2 Jul 2014 11:38:58 -0500 Subject: initial debian import --- debian/changelog | 29 ++++++++++++++ debian/compat | 1 + debian/control | 65 ++++++++++++++++++++++++++++++++ debian/copyright | 46 ++++++++++++++++++++++ debian/gbp.conf | 2 + debian/patches/series | 1 + debian/patches/touch-requirements.diff | 4 ++ debian/pydist-overrides | 1 + debian/python-gnupg-ng-doc.debhelper.log | 1 + debian/python-gnupg-ng-doc.docs | 1 + debian/python-gnupg-ng.debhelper.log | 1 + debian/python3-gnupg-ng.debhelper.log | 1 + debian/rules | 49 ++++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 3 ++ 15 files changed, 206 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/patches/series create mode 100644 debian/patches/touch-requirements.diff create mode 100644 debian/pydist-overrides create mode 100644 debian/python-gnupg-ng-doc.debhelper.log create mode 100644 debian/python-gnupg-ng-doc.docs create mode 100644 debian/python-gnupg-ng.debhelper.log create mode 100644 debian/python3-gnupg-ng.debhelper.log 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..e0ed659 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,29 @@ +python-gnupg-ng (1.2.6-1) unstable; urgency=medium + + * Update to 1.2.6 release + + -- Ben Carrillo Tue, 01 Jul 2014 10:24:59 -0500 + +python-gnupg-ng (1.2.5.1) unstable; urgency=medium + + * Fix wheezy builds. + + -- Ben Carrillo Fri, 27 Jun 2014 18:35:01 -0500 + +python-gnupg-ng (1.2.5) unstable; urgency=low + + * Update to 1.2.5 release + + -- Ben Carrillo Mon, 23 Dec 2013 02:43:53 -0400 + +python-gnupg-ng (1.2.4) unstable; urgency=medium + + * Fix python-setuputils Dependency version + + -- Micah Anderson Tue, 10 Dec 2013 20:42:02 -0500 + +python-gnupg-ng (1.2.3) unstable; urgency=low + + * Initial release. + + -- Ben Carrillo Thu, 10 Oct 2013 19:13:00 -0300 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..d18e5b1 --- /dev/null +++ b/debian/control @@ -0,0 +1,65 @@ +Source: python-gnupg-ng +Maintainer: Ben Carrillo +Section: python +Priority: optional +Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 9), + python-setuptools (>= 0.6.24), python3-setuptools (>= 0.6.24), + python-sphinx | python3-sphinx, python3 | python3-all | python3-dev | python3-all-dev, + python-psutil | python3-psutil, +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.0 +Standards-Version: 3.9.5 +Uploaders: Micah Anderson +Homepage: https://github.com/isislovecruft/python-gnupg + +Package: python-gnupg-ng +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, + python-psutil (>= 0.5.1), python-setuptools (>= 0.6.24), gnupg +Conflicts: python-gnupg +XB-Python-Version: ${python:Versions} +Replaces: python-gnupg +Provides: ${python:Provides}, python-gnupg +Description: Python wrapper for GnuPG + A Python interface for handling interactions with GnuPG, including keyfile + generation, keyring maintenance, import and export, encryption and decryption, + sending to and recieving from keyservers, and signing and verification. + . + This is a fork of python-gnupg (from version 0.3.2), patched to sanitize + untrusted inputs, due to the necessity of executing subprocess.Popen([...], + shell=True) in order to communicate with GnuPG. Several speed improvements were + also made based on code profiling, and the API has been cleaned up to support + an easier, more Pythonic, interaction. + +Package: python3-gnupg-ng +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, + python3-psutil (>= 0.5.1), python3-setuptools (>= 0.6.24), gnupg +Conflicts: python3-gnupg +XB-Python-Version: ${python3:Versions} +Replaces: python3-gnupg +Provides: ${python:Provides}, python3-gnupg +Description: Python wrapper for GnuPG (Python3) + A Python interface for handling interactions with GnuPG, including keyfile + generation, keyring maintenance, import and export, encryption and decryption, + sending to and recieving from keyservers, and signing and verification. + . + This is a fork of python-gnupg (from version 0.3.2), patched to sanitize + untrusted inputs, due to the necessity of executing subprocess.Popen([...], + shell=True) in order to communicate with GnuPG. Several speed improvements + were also made based on code profiling, and the API has been cleaned up to + support an easier, more Pythonic, interaction. This package contains the + Python 3 version. + +Package: python-gnupg-ng-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, ${sphinxdoc:Depends}, + python-setuptools (>= 0.6.45) | python3-setuptools (>=0.6.24), + python-psutil | python3-psutil +Description: Python wrapper for GnuPG + A Python interface for handling interactions with GnuPG, including keyfile + generation, keyring maintenance, import and export, encryption and decryption, + sending to and recieving from keyservers, and signing and verification. + . + This package contains the documentation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2972e12 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,46 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-gnupg +Upstream-Contact: isis@leap.se +Source: + +Files: * +Copyright: 2012,2013 The LEAP Encryption Access Project + 2013 Isis Lovecruft, 0xA3ADB67A2CDB8B35 + 2013 Andrej B. + 2013 LEAP Encryption Access Project + 2008-2012 Vinay Sajip + 2005 Steve Traugott + 2004 A.M. Kuchling +License: GPL-3+ + This package is released under the GNU GPL, version 3 or a later revision. + For further details see the COPYING file. + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. + . + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. + . + You must obey the GNU General Public License in all respects for all + of the code used other than OpenSSL. If you modify file(s) with this + exception, you may extend this exception to your version of the + file(s), but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. If you delete + this exception statement from all source files in the program, then + also delete it here. + +Files: debian/* +Copyright: 2013 Ben Carrillo +License: GPL3+ + This file is released under the GNU GPL, version 3 or a later revision. + For further details see the COPYING file. + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. + +# REVIEW-ME This needs a licensecheck -r run !!! -- kali diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a3dce5d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +touch-requirements.diff diff --git a/debian/patches/touch-requirements.diff b/debian/patches/touch-requirements.diff new file mode 100644 index 0000000..7d5b845 --- /dev/null +++ b/debian/patches/touch-requirements.diff @@ -0,0 +1,4 @@ +--- /dev/null ++++ b/requirements.txt +@@ -0,0 +1 @@ ++# fake requirements diff --git a/debian/pydist-overrides b/debian/pydist-overrides new file mode 100644 index 0000000..1e49fcc --- /dev/null +++ b/debian/pydist-overrides @@ -0,0 +1 @@ +ordereddict python2.7 diff --git a/debian/python-gnupg-ng-doc.debhelper.log b/debian/python-gnupg-ng-doc.debhelper.log new file mode 100644 index 0000000..6991c52 --- /dev/null +++ b/debian/python-gnupg-ng-doc.debhelper.log @@ -0,0 +1 @@ +dh_auto_configure diff --git a/debian/python-gnupg-ng-doc.docs b/debian/python-gnupg-ng-doc.docs new file mode 100644 index 0000000..1679f8c --- /dev/null +++ b/debian/python-gnupg-ng-doc.docs @@ -0,0 +1 @@ +build/sphinx diff --git a/debian/python-gnupg-ng.debhelper.log b/debian/python-gnupg-ng.debhelper.log new file mode 100644 index 0000000..6991c52 --- /dev/null +++ b/debian/python-gnupg-ng.debhelper.log @@ -0,0 +1 @@ +dh_auto_configure diff --git a/debian/python3-gnupg-ng.debhelper.log b/debian/python3-gnupg-ng.debhelper.log new file mode 100644 index 0000000..6991c52 --- /dev/null +++ b/debian/python3-gnupg-ng.debhelper.log @@ -0,0 +1 @@ +dh_auto_configure diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b8b2e60 --- /dev/null +++ b/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +# Prevent setuptools/distribute from accessing the internet. +export http_proxy = http://127.0.0.1:9 + +package=python-gnupg-ng +package3=python3-gnupg-ng + +export PYBUILD_DESTDIR_python2=debian/$(package)/ +export PYBUILD_DESTDIR_python3=debian/$(package3)/ + +PYVERS=$(shell pyversions -r) +PY3VERS = $(shell py3versions -r) + +%: + dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils + +override_dh_compress: + dh_compress -i -X.rst -X.js -X.html -X.txt + +override_dh_auto_build: + python$* setup.py build_sphinx + set -ex; \ + for python in $(PYVERS) $(PY3VERS); do \ + $$python setup.py build; \ + done + +override_dh_auto_clean: + dh_auto_clean + rm -rf build debian/docs docs/_build *.egg-info __pycache__ + find \( -name '._*' -o -name '*.pyc' \) -delete + +override_dh_auto_install: + set -ex; \ + for python in $(PYVERS); do \ + $$python setup.py install --skip-build --root $(PYBUILD_DESTDIR_python2) \ + --install-layout deb; \ + done + rm $(PYBUILD_DESTDIR_python2)usr/bin/versioneer.py + + set -ex; \ + for python in $(PY3VERS); do \ + $$python setup.py install --skip-build --root $(PYBUILD_DESTDIR_python3) \ + --install-layout deb; \ + done + rm $(PYBUILD_DESTDIR_python3)usr/bin/versioneer.py 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..fb70e25 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://pypi.python.org/packages/source/g/gnupg/gnupg-(.*)\.tar\.gz -- cgit v1.2.3