debian/0000755000000000000000000000000012313576626007201 5ustar debian/copyright0000644000000000000000000000134212111245625011120 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat Upstream-Name: pygpgme Upstream-Maintainer: James Henstridge Upstream-Source: https://launchpad.net/pygpgme Files: * Copyright: Copyright 2006, James Henstridge License: LGPL-2.1+ On Debian systems the full text of the GNU Lesser General Public License can be found in the `/usr/share/common-licenses/LGPL-2.1' file. Files: debian/* Copyright: 2009, Miguel Di Ciurcio Filho 2009, Jonathan Wiltshire License: GPL-3 On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-3' file. debian/changelog0000644000000000000000000000507112313576626011056 0ustar pygpgme (0.3-0ubuntu3) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:22 +0000 pygpgme (0.3-0ubuntu2) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:31:50 +0000 pygpgme (0.3-0ubuntu1) raring; urgency=low * New upstream release. * Add python-gpgme-dbg.preinst to handle transitioning /usr/share/doc/python-gpgme-dbg from a symlink to a directory. * Fix debian/watch file to find new releases. * Drop all patches in debian/patches. See comments from the upstream author in BTS #665731. * Build python3 packages as upstream now supports it. * Bump debian/compat to 9. -- Andrew Starr-Bochicchio Wed, 20 Feb 2013 20:50:18 -0500 pygpgme (0.2-2) unstable; urgency=low * Upload to unstable. -- Jonathan Wiltshire Sat, 07 Jan 2012 22:09:27 +0000 pygpgme (0.2-1) experimental; urgency=low * New upstream release (Closes: #638795) * Convert to dh_python2 * Refresh patches for new upstream * debian/python-gpgme.examples: Upstream no longer ships example file * Remove quilt logic, not necessary with format 3.0 (quilt) * Convert to debhelper 8 and dh auto-sequencer -- Jonathan Wiltshire Mon, 17 Oct 2011 00:47:49 +0100 pygpgme (0.1+bzr20090820-3) unstable; urgency=low * Compile with Large File Support by default -- Jonathan Wiltshire Sun, 17 Apr 2011 13:13:27 +0100 pygpgme (0.1+bzr20090820-2) unstable; urgency=low * Build for Python 2.7 as supported version * debian/control: Use only X-Python-Version * Bump required build-dependency for python-support * Update my email address * Standards version 3.9.2 * debian/rules, debian/patches/testsuite-all-versions: Run test suite at build time, for each supported Python version * Source format 3.0 (quilt) -- Jonathan Wiltshire Sun, 17 Apr 2011 00:11:00 +0100 pygpgme (0.1+bzr20090820-1) unstable; urgency=low * Sync to Upstream bzr 2009-08-20 * Fix "Fails to create a Context unless gpgme_check_version is called manually" using custom patch until upstream doesn't fix it (Closes: #549921) -- Miguel Di Ciurcio Filho Wed, 14 Oct 2009 20:05:15 +0000 pygpgme (0.1+bzr20090429-1) unstable; urgency=low * Initial release. (Closes: #511170: ITP: pygpgme -- A Python wrapper for the GPGME library) -- Miguel Di Ciurcio Filho Thu, 16 Jul 2009 19:30:00 -0300 debian/compat0000644000000000000000000000000212111276167010370 0ustar 9 debian/python-gpgme-dbg.preinst0000644000000000000000000000045212111251301013730 0ustar #!/bin/sh set -e case "$1" in install|upgrade) DOCDIR=/usr/share/doc/python-gpgme-dbg if [ -L $DOCDIR ]; then rm $DOCDIR; fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012111276663010622 5ustar debian/control0000644000000000000000000000477512111276656010615 0ustar Source: pygpgme Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Miguel Di Ciurcio Filho Build-Depends: debhelper (>= 9), python-all-dev (>= 2.6.6-3~), python3-all-dev, libgpgme11-dev, python-all-dbg (>= 2.6.6-3~), python3-all-dbg Standards-Version: 3.9.2 Homepage: https://launchpad.net/products/pygpgme X-Python-Version: >= 2.4 X-Python3-Version: >= 3.2 Uploaders: Jonathan Wiltshire Package: python-gpgme Architecture: any Provides: ${python:Provides} Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: python wrapper for the GPGME library (Python 2) PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format. It is built on top of the GNU Privacy Guard and the GPGME library. . This is the Python 2 version of the package. Package: python-gpgme-dbg Priority: extra Architecture: any Section: debug Provides: ${python:Provides} Depends: python-gpgme (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: python-dbg Description: python wrapper for the GPGME library (debug extension) (Python 2) PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format. It is built on top of the GNU Privacy Guard and the GPGME library. . This package contains the extension built for the Python debug interpreter. . This is the Python 2 version of the package. Package: python3-gpgme Architecture: any Provides: ${python3:Provides} Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: python wrapper for the GPGME library (Python 3) PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format. It is built on top of the GNU Privacy Guard and the GPGME library. . This is the Python 3 version of the package. Package: python3-gpgme-dbg Priority: extra Architecture: any Section: debug Provides: ${python3:Provides} Depends: python3-gpgme (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: python3-dbg Description: python wrapper for the GPGME library (debug extension) (Python 3) PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format. It is built on top of the GNU Privacy Guard and the GPGME library. . This package contains the extension built for the Python debug interpreter. . This is the Python 3 version of the package. debian/rules0000755000000000000000000000377212111271541010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this line to make output verbose # export DH_VERBOSE=1 PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) #PKGDIR=$(CURDIR)/debian/python-gpgme #clean: # Enforce removal of *.pyc files. Apparently dh_clean does # not perform find on provided filename patterns. # rm -rf build/ # find . -name *.pyc -exec rm -f {} \; # find . -name *.so -exec rm -f {} \; # dh_clean install-stamp build-stamp \ # $(PYVERS:%=install-python%) $(PYVERS:%=build-python%) \ # $(PYVERS:%=install-debug-python%) $(PYVERS:%=build-debug-python%) override_dh_auto_clean: ./setup.py clean dh_clean ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) test-python%: make PYTHON=python$* check override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) endif build-python%: python$* setup.py build python$*-dbg setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build override_dh_auto_install: set -e; \ for py in $(PYTHON2); do \ python$$py setup.py install --root=$(CURDIR)/debian/python-gpgme --install-layout=deb; \ python$$py-dbg setup.py install --root=$(CURDIR)/debian/python-gpgme-dbg --install-layout=deb; \ done set -e; \ for py in $(PYTHON3); do \ python$$py setup.py install --root=$(CURDIR)/debian/python3-gpgme --install-layout=deb; \ python$$py-dbg setup.py install --root=$(CURDIR)/debian/python3-gpgme-dbg --install-layout=deb; \ done dh_install override_dh_strip: ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) # Stripped symbols go into python-gpgme-dbg dh_strip -ppython-gpgme --dbg-package=python-gpgme-dbg dh_strip -ppython3-gpgme --dbg-package=python3-gpgme-dbg endif get-orig-source: REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*bzr([0-9]{4})([0-9]{2})([0-9]{2}).*,\1-\2-\3,p'); \ VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p'); \ bzr export --root=pygpgme-$$VER -r date:$$REV ../pygpgme_$$VER.orig.tar.gz lp:pygpgme %: dh $@ --with python2,python3 -Spython_distutils debian/source/0000755000000000000000000000000012111276663010473 5ustar debian/source/format0000644000000000000000000000001412111245625011673 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000036212111245625011345 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/python-gpgme.docs0000644000000000000000000000000712111245625012452 0ustar README debian/watch0000644000000000000000000000012712111253252010211 0ustar version=3 https://launchpad.net/pygpgme/ .*/pygpgme-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))