summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-06-27 19:28:52 +0000
committerAli Polatel <hawking@gentoo.org>2007-06-27 19:28:52 +0000
commit0e603a897b27a2c9bca03ef758e9a00f46928546 (patch)
tree6e795746368f3f64e8ef34c132f483da25b4f55f /dev-python/pyme
parentKeyworded ~x86-fbsd, #183308 thanks to Nathan Smith. (diff)
downloadhistorical-0e603a897b27a2c9bca03ef758e9a00f46928546.tar.gz
historical-0e603a897b27a2c9bca03ef758e9a00f46928546.tar.bz2
historical-0e603a897b27a2c9bca03ef758e9a00f46928546.zip
add swig to DEPEND (bug #152073), add doc and examples use flags, fix compilation for recent swig versions
Package-Manager: portage-2.1.3_rc5
Diffstat (limited to 'dev-python/pyme')
-rw-r--r--dev-python/pyme/ChangeLog8
-rw-r--r--dev-python/pyme/Manifest15
-rw-r--r--dev-python/pyme/files/digest-pyme-0.6.0-r13
-rw-r--r--dev-python/pyme/pyme-0.6.0-r1.ebuild58
4 files changed, 79 insertions, 5 deletions
diff --git a/dev-python/pyme/ChangeLog b/dev-python/pyme/ChangeLog
index e5c4a853d518..6821171a5d55 100644
--- a/dev-python/pyme/ChangeLog
+++ b/dev-python/pyme/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyme
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.16 2007/02/22 00:40:42 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.17 2007/06/27 19:28:52 hawking Exp $
+
+*pyme-0.6.0-r1 (27 Jun 2007)
+
+ 27 Jun 2007; Ali Polatel <hawking@gentoo.org> +pyme-0.6.0-r1.ebuild:
+ add swig to DEPEND (bug #152073), add doc and examples use flags,
+ fix compilation for swig >=1.3.28
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-python/pyme/Manifest b/dev-python/pyme/Manifest
index a9f413a4a176..15c1ca56c132 100644
--- a/dev-python/pyme/Manifest
+++ b/dev-python/pyme/Manifest
@@ -9,6 +9,10 @@ EBUILD pyme-0.5.1.ebuild 846 RMD160 b369da510d97972c2434f1527910c7106e2172c6 SHA
MD5 bded4b36d59dbf9ae6221ecc34d1846a pyme-0.5.1.ebuild 846
RMD160 b369da510d97972c2434f1527910c7106e2172c6 pyme-0.5.1.ebuild 846
SHA256 f9b9c4e48b22942e29ff2cbe8b7dc821a9e24a1acea2e0592825fccef8d1f0a8 pyme-0.5.1.ebuild 846
+EBUILD pyme-0.6.0-r1.ebuild 1301 RMD160 e1fe78e3845e07ddfc9d59ddfb07e6853cabd6f3 SHA1 99a445e81e548951553393ea42159103c4ab4d09 SHA256 99e7d61d1d6350917994c85d984541eddc67b6a7cd0fd01d7362dae26553a743
+MD5 125395e5279d0173e0bcf8f0baf89e95 pyme-0.6.0-r1.ebuild 1301
+RMD160 e1fe78e3845e07ddfc9d59ddfb07e6853cabd6f3 pyme-0.6.0-r1.ebuild 1301
+SHA256 99e7d61d1d6350917994c85d984541eddc67b6a7cd0fd01d7362dae26553a743 pyme-0.6.0-r1.ebuild 1301
EBUILD pyme-0.6.0.ebuild 800 RMD160 56c4213237602ea6e0ff4eddaa738a22b0a6523a SHA1 35196bde0a27fd72c460a9cd0de4e81d7f751ec8 SHA256 99b800d25c677fafc1f1b9b3a837adfa31b51257256e9f8260d27fe945bf7d04
MD5 d8082382de1fc58ffc2b8eea45b304c0 pyme-0.6.0.ebuild 800
RMD160 56c4213237602ea6e0ff4eddaa738a22b0a6523a pyme-0.6.0.ebuild 800
@@ -21,10 +25,10 @@ EBUILD pyme-0.7.0.ebuild 880 RMD160 de1186eb8ef2e419ecbc955b27edf117f9848c23 SHA
MD5 9fa1925437343c115a6f8e32642c3b70 pyme-0.7.0.ebuild 880
RMD160 de1186eb8ef2e419ecbc955b27edf117f9848c23 pyme-0.7.0.ebuild 880
SHA256 aba2a003554230f2818e1f1f3829d75019388c2ceedf5eadddcce2f8b8014f4d pyme-0.7.0.ebuild 880
-MISC ChangeLog 1974 RMD160 76de810713785b68f242c3c7f3f381b635e82a93 SHA1 76476bffc9cec32023ecb4445f1dde37bddc5618 SHA256 9d44c17b73d68981b5e10a96b8fe82a9935cb8477bec2065a23147fa805f4f37
-MD5 8918605b1e448419b9a6c5f0cb9bde18 ChangeLog 1974
-RMD160 76de810713785b68f242c3c7f3f381b635e82a93 ChangeLog 1974
-SHA256 9d44c17b73d68981b5e10a96b8fe82a9935cb8477bec2065a23147fa805f4f37 ChangeLog 1974
+MISC ChangeLog 2182 RMD160 c2edbc4469f45bb0d0a20813295a15d583af99c5 SHA1 f2ca57160b6d7528bf271ed6bff61823f9594aa6 SHA256 b28021e31fd3c7450b70b31d146e002af0fe61e566ad423a2afdfd0cdf6c53e0
+MD5 e10845fe9a1833425fa29ba3e0e9d11b ChangeLog 2182
+RMD160 c2edbc4469f45bb0d0a20813295a15d583af99c5 ChangeLog 2182
+SHA256 b28021e31fd3c7450b70b31d146e002af0fe61e566ad423a2afdfd0cdf6c53e0 ChangeLog 2182
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
@@ -35,6 +39,9 @@ SHA256 8c93c74e6fa94ebb35e544810f73842d4751c4cc538da85391cbfaf24440e6b9 files/di
MD5 522394f4622cd08abe8214c25585ef63 files/digest-pyme-0.6.0 229
RMD160 81a02d3dee3c7c8dfe4a7be32e5e32bbcdb875d3 files/digest-pyme-0.6.0 229
SHA256 1da17bc998bb3d733b2f99dfe98c734e79db5586884331fd87603c48805b2d38 files/digest-pyme-0.6.0 229
+MD5 522394f4622cd08abe8214c25585ef63 files/digest-pyme-0.6.0-r1 229
+RMD160 81a02d3dee3c7c8dfe4a7be32e5e32bbcdb875d3 files/digest-pyme-0.6.0-r1 229
+SHA256 1da17bc998bb3d733b2f99dfe98c734e79db5586884331fd87603c48805b2d38 files/digest-pyme-0.6.0-r1 229
MD5 4b3dfa51d50e031e8c5cc0b6bcbfdb7b files/digest-pyme-0.7.0 229
RMD160 6f93868ee4eee55a187c71a4202bf7a50a0d9dc7 files/digest-pyme-0.7.0 229
SHA256 8bd7e02158c9553a78780aff2cb0443db9284d0730150d61e0697fd89dfaae9f files/digest-pyme-0.7.0 229
diff --git a/dev-python/pyme/files/digest-pyme-0.6.0-r1 b/dev-python/pyme/files/digest-pyme-0.6.0-r1
new file mode 100644
index 000000000000..342f367af78a
--- /dev/null
+++ b/dev-python/pyme/files/digest-pyme-0.6.0-r1
@@ -0,0 +1,3 @@
+MD5 3f48cc14e9b7bc82d09a66ed05b54db7 pyme-0.6.0.tar.gz 26228
+RMD160 d310f396002ac598ff6b50fb75483743b2b47747 pyme-0.6.0.tar.gz 26228
+SHA256 b90569c72ea6012150e7d1309cc4db27a11dfc19a2e7f68fe3c76cc611343bfa pyme-0.6.0.tar.gz 26228
diff --git a/dev-python/pyme/pyme-0.6.0-r1.ebuild b/dev-python/pyme/pyme-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..804287982532
--- /dev/null
+++ b/dev-python/pyme/pyme-0.6.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 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.1 2007/06/27 19:28:52 hawking Exp $
+
+inherit distutils eutils
+
+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"
+
+DEPEND=">=app-crypt/gpgme-0.9.0
+ dev-lang/swig"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e 's:include/:include/gpgme/:' \
+ -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}-0.7.0-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"
+}