diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyme/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyme/files/pyme-swig-compatibility.patch | 10 | ||||
-rw-r--r-- | dev-python/pyme/pyme-0.6.0-r1.ebuild | 62 |
3 files changed, 6 insertions, 74 deletions
diff --git a/dev-python/pyme/ChangeLog b/dev-python/pyme/ChangeLog index d7a8111e18ee..2e00e51563b4 100644 --- a/dev-python/pyme/ChangeLog +++ b/dev-python/pyme/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyme -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.30 2009/09/27 18:50:59 nixnut Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.31 2010/10/02 13:31:02 arfrever Exp $ + + 02 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -pyme-0.6.0-r1.ebuild, -files/pyme-swig-compatibility.patch: + Delete. 27 Sep 2009; nixnut <nixnut@gentoo.org> pyme-0.8.1.ebuild: ppc stable #284984 diff --git a/dev-python/pyme/files/pyme-swig-compatibility.patch b/dev-python/pyme/files/pyme-swig-compatibility.patch deleted file mode 100644 index 41163ce4e8f3..000000000000 --- a/dev-python/pyme/files/pyme-swig-compatibility.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- gpgme.i.old 2006-04-12 14:08:14.000000000 -0400 -+++ gpgme.i 2006-04-12 13:46:23.000000000 -0400 -@@ -35,6 +35,7 @@ - return NULL; - } - } -+%typemap(freearg) const char * ""; - - // Release returned buffers as necessary. - %typemap(newfree) char * "free($1);"; diff --git a/dev-python/pyme/pyme-0.6.0-r1.ebuild b/dev-python/pyme/pyme-0.6.0-r1.ebuild deleted file mode 100644 index ac2f23e2dd58..000000000000 --- a/dev-python/pyme/pyme-0.6.0-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.6.0-r1.ebuild,v 1.4 2009/08/15 16:21:31 arfrever Exp $ - -inherit distutils eutils flag-o-matic - -DESCRIPTION="GPGME Interface for Python" -HOMEPAGE="http://pyme.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~sparc ppc" -IUSE="doc examples" - -RDEPEND=">=app-crypt/gpgme-0.9.0" -DEPEND="${RDEPEND} - dev-lang/swig" - -pkg_setup() { - append-flags -D_FILE_OFFSET_BITS=64 -} - -src_unpack() { - distutils_src_unpack - - sed -i \ - -e 's:include/:include/gpgme/:' \ - -e 's/SWIGOPT :=.*/& -D_FILE_OFFSET_BITS=64/' \ - -e 's:$(PYTHON):/usr/bin/python:' \ - -e '/-rm doc\/\*\.html$/d' \ - Makefile || die "sed in Makefile failed" - - # Make it build with swig >=1.3.28 - # patch is originally written for 0.7.0 but works for this - # version as well. - epatch "${FILESDIR}/${PN}-swig-compatibility.patch" -} - -src_compile() { - emake -j1 swig || die "emake swig failed" - distutils_src_compile - - if use doc; then - emake docs || die "emake docs failed" - fi -} - -src_install() { - distutils_src_install - use doc && dohtml -r doc/* - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins examples/* - fi -} - -src_test() { - PYTHONPATH="$(ls -d build/lib.*)" \ - ${python} examples/genkey.py || die "genkey test failed" -} |