debian/0000755000000000000000000000000011677467174007212 5ustar debian/python-pyme.docs0000644000000000000000000000002510417461757012342 0ustar debian/README.Debian debian/python-pyme-doc.examples0000644000000000000000000000001310417461757013770 0ustar examples/* debian/changelog0000644000000000000000000001204711677467174011070 0ustar pyme (1:0.8.1-2build1) precise; urgency=low * Rebuild to drop python2.6 dependencies. -- Matthias Klose Sat, 31 Dec 2011 02:07:56 +0000 pyme (1:0.8.1-2) unstable; urgency=low * debian/control: + Bump Standards-Version to 3.9.2. No changes needed. * Switch to dpkg-source 3.0 (quilt) format. + Update debian/source/format accordingly. + No need to remove manually debian/ from the upstream source tarball. + Add debian/patches/fix_setup_dash_ftbfs.patch including changes on setup.py previously found in diff.gz. + debian/control: - Remove Build-Depends on quilt. + debian/rules: - Do not include patchsys-quilt.mk anymore. * Use dh_python2 rather than now deprecated dh_pycentral. Closes: #616934. + debian/control: - Rename now deprecated XS-Python-Version to X-Python-Version. - Remove now deprecated XB-Python-Version. - Bump cdbs version to 0.4.90-1~. - Bump python-all-dev version to 2.6.6-3~. - Remove Build-Depends on python-central. + debian/rules: - Remove DEB_PYTHON_SYSTEM. -- Arnaud Fontaine Mon, 18 Apr 2011 10:39:58 +0900 pyme (0.8.1+clean-4) unstable; urgency=low * Team upload. * debian/patches: + Add fix_import_error.patch to fix import error with Python >= 2.6 (closes: #589382). Thanks to Martin Manns for the bug report and to Uldis Ansmits for the patch. * debian/control: + Update Standards-Version to 3.9.1. No changes needed. -- Jakub Wilk Mon, 23 Aug 2010 16:27:23 +0200 pyme (0.8.1+clean-3) unstable; urgency=low * debian/patches: + Add add_missing_check_version.patch to fix breakage in signing. Thanks to Marek Hulán. Closes: #550596. -- Arnaud Fontaine Tue, 27 Oct 2009 17:24:56 +0000 pyme (0.8.1+clean-2) unstable; urgency=low [ Arnaud Fontaine ] * debian/patches: + Add build_with_lfs.patch as required by libgpgme. Closes: #546679. * Use quilt to manage patches. * debian/copyright: + Update copyright years. * debian/control: + Drop now useless Conflicts and Replaces. + Update Standards-Version to 3.8.3. - Add README.source. + Add ${misc:Depends} to python-pyme and python-pyme-doc Depends in case the result of a call to debhelper tools adds extra dependencies. [ Sandro Tosi ] * debian/control: + Switch Vcs-Browser field to viewsvn. -- Arnaud Fontaine Fri, 09 Oct 2009 17:04:22 +0100 pyme (0.8.1+clean-1) unstable; urgency=low * New upstream release. + Update 01_makefile.patch as a part of the diff has been merged upstream. * Get rid of debian/ directory in upstream source and add a note about that in debian/copyright. -- Arnaud Fontaine Tue, 02 Dec 2008 16:23:52 +0000 pyme (0.8.0-2) unstable; urgency=low * Apply patch which fixes FTBFS with dash. Thanks to Adrien Cunin. Closes: #493110. -- Arnaud Fontaine Fri, 15 Aug 2008 18:51:26 +0200 pyme (0.8.0-1) unstable; urgency=low * New upstream release. * debian/control: + Update Standards-Version to 3.8.0. + Wrap Uploaders and Build-Depends fields. * debian/copyright: + Update copyright years. * debian/patches: + Drop 02_gpgme.patch because it has been applied upstream. + Update 01_makefile.patch. -- Arnaud Fontaine Mon, 30 Jun 2008 18:03:16 +0200 pyme (0.7.0-4) unstable; urgency=low [ Arnaud Fontaine ] * New email address. * debian/control: + Update Standards-Version to 3.7.3. No changes needed. [ Piotr Ożarowski ] * debian/control: + Vcs-Svn, Vcs-Browser and Homepage fields added (dpkg support them now). [ Sandro Tosi ] * debian/control - Uniforming Vcs-Browser field. -- Arnaud Fontaine Sat, 23 Feb 2008 11:53:33 +0000 pyme (0.7.0-3) unstable; urgency=low * Update Standards-Version to 3.7.2. No changes needed. * New Python policy changes. Closes: #373499. + Add debian/pycompat. + debian/compat: - Update debhelper compatibility to 5. + debian/rules: - Add DEB_PYTHON_SYSTEM=pycentral. - Clean debian/rules. + debian/control.in: - Remove all versioned packages. - Add XB-Python-Version field for binary package. - Add XS-Python-Version field for source package. - Add Conflicts and Replaces fields against previous revisions. -- Arnaud Fontaine Sat, 24 Jun 2006 16:23:45 +0200 pyme (0.7.0-2) unstable; urgency=low * Add debian/patches/01_gpgme.patch in order to fix FTBFS issue due to swig version 1.3.28. Closes: #358648. * Move swig stuff from pre-build rules to post-patches in order to patch gpgme.i before executing swig (debian/rules). -- Arnaud Fontaine Wed, 12 Apr 2006 22:21:01 +0200 pyme (0.7.0-1) unstable; urgency=low * New upstream release. Thanks to Igor Belyi and John Goerzen for maintaining unofficial debian package. Closes: #322168. -- Arnaud Fontaine Thu, 12 Jan 2006 13:57:34 +0100 debian/python-pyme-doc.docs0000644000000000000000000000001410417461757013103 0ustar debian/html debian/rules0000755000000000000000000000154111552735507010261 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Common rules include /usr/share/cdbs/1/rules/buildcore.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk # In order to run `make swig' one time only for the build STAMP_MAKE_SWIG=debian/stamp-make-swig # Don't compress .py, .glade and .gladep files DEB_COMPRESS_EXCLUDE := .py .glade .gladep # Documentations DEB_HTML_DOC=debian/html DEB_DESTDIR=debian/python-pyme # Run `make swig' before building post-patches:: if ! test -f $(STAMP_MAKE_SWIG); then \ PYTHON=/usr/bin/python make swig; \ touch $(STAMP_MAKE_SWIG); \ else \ echo "make swig already done"; \ fi install/python-pyme-doc:: make docs cp -r $(DEB_SRCDIR)/doc $(DEB_HTML_DOC) clean:: # Clean the source tree -rm -rf $(DEB_HTML_DOC) $(STAMP_MAKE_SWIG) make reallyclean debian/README.source0000644000000000000000000000055511263666041011357 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. You can find explanations about quilt usage in the following file: /usr/share/doc/quilt/README.source -- Arnaud Fontaine , Fri, 9 Oct 2009 17:06:48 +0100 debian/README.Debian0000644000000000000000000000027010417461757011242 0ustar Please note: The documentation for this package is in python-pyme-doc. When you install that package, you can find the documentation and examples in /usr/share/doc/python-pyme-doc. debian/control0000644000000000000000000000330411552735507010603 0ustar Source: pyme Section: python Priority: optional Maintainer: Arnaud Fontaine Uploaders: Debian Python Modules Team , Gustavo Franco Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.90-1~), python-all-dev (>= 2.6.6-3~), libgpgme11-dev, swig Homepage: http://pyme.sourceforge.net X-Python-Version: all Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyme/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyme/trunk/ Standards-Version: 3.9.2 Package: python-pyme Architecture: any Provides: ${python:Provides} Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Suggests: python-pyme-doc Description: Python interface to the GPGME GnuPG encryption library Pyme is, for the most part, a direct interface to the C GPGME library. However, it is re-packaged in a more Pythonic way -- object-oriented with classes and modules. Take a look at the classes defined here -- they correspond directly to certain object types in GPGME for C. . Features: * Feature-rich, full implementation of the GPGME library. Supports all GPGME features except interactive editing (coming soon). Callback functions may be written in pure Python. * Ability to sign, encrypt, decrypt, and verify data. * Ability to list keys, export and import keys, and manage the keyring. * Fully object-oriented with convenient classes and modules. Package: python-pyme-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Python interface to the GPGME GnuPG encryption library This package contains the documentation for Pyme. debian/examples0000644000000000000000000000003710221335223010720 0ustar examples/*.py examples/*.glade debian/copyright0000644000000000000000000000271411263666041011132 0ustar This package was debianized by Arnaud Fontaine on Mon, 12 Jan 2005 13:57:34 +0100. Igor Belyi and John Goerzen have maintained unofficially the package, thanks for their work. It was downloaded from http://sourceforge.net/project/showfiles.php?group_id=104883, the upstream source has been repackaged only on purpose to get rid of debian/ directory, no other changes have been made. Tue, 19 Nov 2002 14:32:36 -0600. Copyright: Copyright (C) 2004-2009 Igor Belyi Copyright (C) 2002 John Goerzen This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Debian users may find the GPL in /usr/share/common-licenses/LGPL-2.1 debian/pycompat0000644000000000000000000000000210447247734010751 0ustar 2 debian/source/0000755000000000000000000000000011552736213010473 5ustar debian/source/format0000644000000000000000000000001411552735507011706 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000011111552735507010222 0ustar version=3 http://qa.debian.org/watch/sf.php/pyme/ pyme-([\d.]*)\.tar\.gz debian/patches/0000755000000000000000000000000011552736213010622 5ustar debian/patches/fix_docs_building.patch0000644000000000000000000000060111263666041015313 0ustar --- a/Makefile 2008-12-02 16:56:41.000000000 +0000 +++ b/Makefile 2008-12-02 16:56:54.000000000 +0000 @@ -75,7 +75,7 @@ reallyclean: clean rm -f doc/*.html doc/gpgme/*.html $(CFILE) $(PYPATH)/$(PYFILE) $(HFILE) -docs: build +docs: rm -f doc/*.html cd doc; for MOD in $(DOCMODS); do PYTHONPATH=`echo ../build/lib* | sed -e "s# #:#"` pydoc -w $$MOD; done ifneq (, $(PYSRCURL)) debian/patches/series0000644000000000000000000000017711552735507012051 0ustar fix_setup_dash_ftbfs.patch fix_docs_building.patch build_with_lfs.patch add_missing_check_version.patch fix_import_error.patch debian/patches/add_missing_check_version.patch0000644000000000000000000000055211271626625017033 0ustar --- a/pyme/core.py +++ b/pyme/core.py @@ -58,6 +58,7 @@ class Context(GpgmeWrapper): self.own = False else: tmp = pygpgme.new_gpgme_ctx_t_p() + check_version() errorcheck(pygpgme.gpgme_new(tmp)) self.wrapped = pygpgme.gpgme_ctx_t_p_value(tmp) pygpgme.delete_gpgme_ctx_t_p(tmp) debian/patches/build_with_lfs.patch0000644000000000000000000000164611263666041014650 0ustar --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ SWIGSOURCE = $(FILE).i DOCMODSDIRS := $(shell find pyme -type d | grep -v CVS | sed 'sx/x.xg') DOCMODSFILES := $(shell find pyme -name "*.py" | egrep -v __init__ | grep -v gpgme.py | sed 'sx/x.xg') DOCMODS := $(DOCMODSDIRS) $(DOCMODSFILES:.py=) -SWIGOPT := $(shell gpgme-config --cflags) -I/usr/include +SWIGOPT := $(shell gpgme-config --cflags) -I/usr/include -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE PYMEVERS := $(shell python -c "from pyme.version import *;print versionstr") SYSTEM = $(shell uname -s | sed 's/_.*//') ifeq ($(SYSTEM),MINGW32) --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def getconfig(what): return [x for x in confdata.split(' ') if x != ''] include_dirs = [os.getcwd()] -define_macros = [] +define_macros = [("_FILE_OFFSET_BITS", "64"), ("LARGEFILE_SOURCE", None)] library_dirs = [] libs = getconfig('libs') for item in getconfig('cflags'): debian/patches/fix_setup_dash_ftbfs.patch0000644000000000000000000000075211552735507016045 0ustar Description: Fix FTBFS with dash as /bin/sh. Author: Adrien Cunin Bug-Debian: http://bugs.debian.org/493110 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ sys.path.append("pyme") import version def getconfig(what): - cmd = os.popen("sh gpgme-config --%s" % what, "r") + cmd = os.popen("sh -c 'gpgme-config --%s'" % what, "r") confdata = cmd.read() confdata = confdata.replace("\n", " ") assert cmd.close() == None, "error getting GPG config" debian/patches/fix_import_error.patch0000644000000000000000000000116511434501062015226 0ustar Description: Fix import error with Python >= 2.6. Author: Uldis Ansmits Bug-Debian: http://bugs.debian.org/589382 Origin: http://sourceforge.net/mailarchive/forum.php?thread_name=3e30c11b0911252347n43c46a1am993ef916b0ef543c@mail.gmail.com&forum_name=pyme-help --- a/helpers.c +++ b/helpers.c @@ -29,7 +29,7 @@ void pygpgme_exception_init(void) { if (GPGMEError == NULL) { PyObject *errors; - errors = PyImport_ImportModule("errors"); + errors = PyImport_ImportModule("pyme.errors"); if (errors) { GPGMEError=PyDict_GetItemString(PyModule_GetDict(errors), "GPGMEError"); Py_XINCREF(GPGMEError); debian/compat0000644000000000000000000000000210447247734010400 0ustar 5 debian/docs0000644000000000000000000000003110773511714010041 0ustar debian/README.Debian doc