--- 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-doc.docs +++ pyme-0.8.1+clean/debian/python-pyme-doc.docs @@ -0,0 +1 @@ +debian/html --- 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/control +++ pyme-0.8.1+clean/debian/control @@ -0,0 +1,47 @@ +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), + patchutils (>= 0.2.25), + 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/wsvn/python-modules/packages/pyme/trunk/?op=log +Standards-Version: 3.8.0 + +Package: python-pyme +Architecture: any +Conflicts: python2.3-pyme (<< 0.7.0-2), python2.4-pyme (<< 0.7.0-2) +Replaces: python2.3-pyme (<< 0.7.0-2), python2.4-pyme (<< 0.7.0-2) +Provides: ${python:Provides} +Depends: ${python:Depends}, ${shlibs: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 +Description: Python interface to the GPGME GnuPG encryption library + This package contains the documentation for Pyme. --- 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/compat +++ pyme-0.8.1+clean/debian/compat @@ -0,0 +1 @@ +5 --- 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/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/simple-patchsys.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.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/pycompat +++ pyme-0.8.1+clean/debian/pycompat @@ -0,0 +1 @@ +2 --- pyme-0.8.1+clean.orig/debian/changelog +++ pyme-0.8.1+clean/debian/changelog @@ -0,0 +1,88 @@ +pyme (0.8.1+clean-1build1) jaunty; urgency=low + + * No change rebuild for python2.6. + + -- Matthias Klose Thu, 26 Feb 2009 13:01:08 +0000 + +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/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-2008 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/01_makefile.patch +++ pyme-0.8.1+clean/debian/patches/01_makefile.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))