--- pyme-0.8.1+clean.orig/setup.py +++ pyme-0.8.1+clean/setup.py @@ -31,7 +31,7 @@ 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" --- pyme-0.8.1+clean.orig/debian/python-pyme.docs +++ pyme-0.8.1+clean/debian/python-pyme.docs @@ -0,0 +1 @@ +debian/README.Debian --- pyme-0.8.1+clean.orig/debian/changelog +++ pyme-0.8.1+clean/debian/changelog @@ -0,0 +1,112 @@ +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 --- pyme-0.8.1+clean.orig/debian/python-pyme-doc.docs +++ pyme-0.8.1+clean/debian/python-pyme-doc.docs @@ -0,0 +1 @@ +debian/html --- pyme-0.8.1+clean.orig/debian/compat +++ pyme-0.8.1+clean/debian/compat @@ -0,0 +1 @@ +5 --- pyme-0.8.1+clean.orig/debian/rules +++ pyme-0.8.1+clean/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +DEB_PYTHON_SYSTEM=pycentral + +# 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 +include /usr/share/cdbs/1/rules/patchsys-quilt.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 --- pyme-0.8.1+clean.orig/debian/README.source +++ pyme-0.8.1+clean/debian/README.source @@ -0,0 +1,8 @@ +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 --- pyme-0.8.1+clean.orig/debian/watch +++ pyme-0.8.1+clean/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qa.debian.org/watch/sf.php/pyme/ pyme-([\d.]*).tar.gz --- pyme-0.8.1+clean.orig/debian/python-pyme-doc.examples +++ pyme-0.8.1+clean/debian/python-pyme-doc.examples @@ -0,0 +1 @@ +examples/* --- pyme-0.8.1+clean.orig/debian/pycompat +++ pyme-0.8.1+clean/debian/pycompat @@ -0,0 +1 @@ +2 --- pyme-0.8.1+clean.orig/debian/control +++ pyme-0.8.1+clean/debian/control @@ -0,0 +1,46 @@ +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.42), + python-all-dev (>= 2.3.5-11), + python-central (>= 0.4.17), + quilt, + libgpgme11-dev, + swig +Homepage: http://pyme.sourceforge.net +XS-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.8.3 + +Package: python-pyme +Architecture: any +Provides: ${python:Provides} +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +XB-Python-Version: ${python:Versions} +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. --- pyme-0.8.1+clean.orig/debian/README.Debian +++ pyme-0.8.1+clean/debian/README.Debian @@ -0,0 +1,6 @@ +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. --- pyme-0.8.1+clean.orig/debian/copyright +++ pyme-0.8.1+clean/debian/copyright @@ -0,0 +1,34 @@ +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 --- pyme-0.8.1+clean.orig/debian/patches/add_missing_check_version.patch +++ pyme-0.8.1+clean/debian/patches/add_missing_check_version.patch @@ -0,0 +1,10 @@ +--- 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) --- pyme-0.8.1+clean.orig/debian/patches/fix_docs_building.patch +++ pyme-0.8.1+clean/debian/patches/fix_docs_building.patch @@ -0,0 +1,11 @@ +--- 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)) --- pyme-0.8.1+clean.orig/debian/patches/build_with_lfs.patch +++ pyme-0.8.1+clean/debian/patches/build_with_lfs.patch @@ -0,0 +1,22 @@ +--- 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'): --- pyme-0.8.1+clean.orig/debian/patches/series +++ pyme-0.8.1+clean/debian/patches/series @@ -0,0 +1,3 @@ +fix_docs_building.patch +build_with_lfs.patch +add_missing_check_version.patch