summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2004-09-07 22:04:29 +0000
committerRob Cakebread <pythonhead@gentoo.org>2004-09-07 22:04:29 +0000
commit078f007d6a3e93ca0379d7ebf61c6a0e16fc5fc0 (patch)
tree09a8339472f9fd1b8ff0121acd254423ff38ddfd /dev-python/pyme
parentMarked ~amd64 (Manifest recommit) (diff)
downloadgentoo-2-078f007d6a3e93ca0379d7ebf61c6a0e16fc5fc0.tar.gz
gentoo-2-078f007d6a3e93ca0379d7ebf61c6a0e16fc5fc0.tar.bz2
gentoo-2-078f007d6a3e93ca0379d7ebf61c6a0e16fc5fc0.zip
Version bump. Fixed 0.5.1 to compile against gpgme-0.9.0-r1. Added src_test(). Thanks Daniel Black <dragonheart@gentoo.org> Closes bug #59702.
Diffstat (limited to 'dev-python/pyme')
-rw-r--r--dev-python/pyme/ChangeLog6
-rw-r--r--dev-python/pyme/Manifest6
-rw-r--r--dev-python/pyme/files/digest-pyme-0.6.01
-rw-r--r--dev-python/pyme/pyme-0.5.1.ebuild23
-rw-r--r--dev-python/pyme/pyme-0.6.0.ebuild41
5 files changed, 71 insertions, 6 deletions
diff --git a/dev-python/pyme/ChangeLog b/dev-python/pyme/ChangeLog
index f6b60e5bf220..f91e9a2edec8 100644
--- a/dev-python/pyme/ChangeLog
+++ b/dev-python/pyme/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyme
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.5 2004/06/25 01:40:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.6 2004/09/07 22:04:29 pythonhead Exp $
+
+ 07 Sep 2004; Rob Cakebread <pythonhead@gentoo.org> pyme-0.5.1.ebuild:
+ Version bump. Fixed 0.5.1 to compile against gpgme-0.9.0-r1. Added src_test().
+ Thanks Daniel Black <dragonheart@gentoo.org> Closes bug #59702.
04 May 2004; Bryan Østergaard <kloeri@gentoo.org> pyme-0.5.1.ebuild:
Remove default S.
diff --git a/dev-python/pyme/Manifest b/dev-python/pyme/Manifest
index fe76507d3bd2..68bc8f5531e5 100644
--- a/dev-python/pyme/Manifest
+++ b/dev-python/pyme/Manifest
@@ -1,4 +1,6 @@
-MD5 2f8401bf811e69c1651ed44844dd94e5 pyme-0.5.1.ebuild 565
-MD5 26d2c5bf1f43e542e03e36e29444333d ChangeLog 473
+MD5 4e2153e4313fbdc87e5af62047b767d8 ChangeLog 693
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 a3f9ff73a3e27f11a502bb960c7e65f8 pyme-0.5.1.ebuild 866
+MD5 69aa1fb80146a3effd8e07b94b0dc9dd pyme-0.6.0.ebuild 794
MD5 ea2a010c31e7739c292d9f2863b89011 files/digest-pyme-0.5.1 62
+MD5 1efe3c48516f11592d4c741b8bd065d2 files/digest-pyme-0.6.0 61
diff --git a/dev-python/pyme/files/digest-pyme-0.6.0 b/dev-python/pyme/files/digest-pyme-0.6.0
new file mode 100644
index 000000000000..07f1dac554f9
--- /dev/null
+++ b/dev-python/pyme/files/digest-pyme-0.6.0
@@ -0,0 +1 @@
+MD5 3f48cc14e9b7bc82d09a66ed05b54db7 pyme-0.6.0.tar.gz 26228
diff --git a/dev-python/pyme/pyme-0.5.1.ebuild b/dev-python/pyme/pyme-0.5.1.ebuild
index 853d88905639..1e4f908c3a58 100644
--- a/dev-python/pyme/pyme-0.5.1.ebuild
+++ b/dev-python/pyme/pyme-0.5.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.5.1.ebuild,v 1.7 2004/06/25 01:40:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.5.1.ebuild,v 1.8 2004/09/07 22:04:29 pythonhead Exp $
IUSE=""
@@ -9,14 +9,31 @@ MY_P=${P/-/_}
SRC_URI="http://gopher.quux.org:70/devel/pyme/${MY_P}.tar.gz"
HOMEPAGE="http://gopher.quux.org:70/devel/pyme"
-DEPEND=">=app-crypt/gpgme-0.3.9"
+DEPEND="=app-crypt/gpgme-0.3.14-r1
+ >=sys-apps/sed-4"
+
+RDEPEND="=app-crypt/gpgme-0.3.14-r1
+ dev-lang/swig"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~x86"
LICENSE="GPL-2"
inherit distutils
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s:gpgme-config:gpgme3-config:" \
+ Makefile setup.py
+}
+
+src_test() {
+ cd ${S}
+ env PYTHONPATH=$(echo build/lib.*) \
+ ${python} examples/genkey.py || die "genkey test failed"
+}
+
src_install() {
mydoc="examples/*"
distutils_src_install
diff --git a/dev-python/pyme/pyme-0.6.0.ebuild b/dev-python/pyme/pyme-0.6.0.ebuild
new file mode 100644
index 000000000000..c89793d14edf
--- /dev/null
+++ b/dev-python/pyme/pyme-0.6.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/09/07 22:04:29 pythonhead Exp $
+
+IUSE=""
+
+DESCRIPTION="GPGME Interface for Python"
+SRC_URI="mirror://sourceforge/pyme/${P}.tar.gz"
+HOMEPAGE="http://pyme.sourceforge.net"
+
+DEPEND=">=app-crypt/gpgme-0.9.0"
+
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+
+inherit distutils
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:include/:include/gpgme/:' Makefile
+}
+
+src_compile() {
+ emake swig
+ distutils_src_compile
+}
+
+src_install() {
+ mydoc="examples/*"
+ distutils_src_install
+ dohtml -r doc/*
+}
+
+src_test() {
+ cd ${S}
+ env PYTHONPATH=$(echo build/lib.*) \
+ ${python} examples/genkey.py || die "genkey test failed"
+}
+