summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-15 16:21:31 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-15 16:21:31 +0000
commitd84063d1ce140954896fb8cff96a2b0e99a663de (patch)
treeb7eeb07777d449dd065cb4f967985c201fdbbec0 /dev-python/pyme
parentVersion bump (diff)
downloadgentoo-2-d84063d1ce140954896fb8cff96a2b0e99a663de.tar.gz
gentoo-2-d84063d1ce140954896fb8cff96a2b0e99a663de.tar.bz2
gentoo-2-d84063d1ce140954896fb8cff96a2b0e99a663de.zip
Fix building with >=app-crypt/gpgme-1.2.0 (bug #278720).
(Portage version: 14065-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyme')
-rw-r--r--dev-python/pyme/ChangeLog8
-rw-r--r--dev-python/pyme/pyme-0.6.0-r1.ebuild11
2 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/pyme/ChangeLog b/dev-python/pyme/ChangeLog
index f5f86c07ec24..001808890e48 100644
--- a/dev-python/pyme/ChangeLog
+++ b/dev-python/pyme/ChangeLog
@@ -1,12 +1,16 @@
# 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.25 2009/07/23 03:05:26 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.26 2009/08/15 16:21:31 arfrever Exp $
+
+ 15 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyme-0.6.0-r1.ebuild:
+ Fix building with >=app-crypt/gpgme-1.2.0 (bug #278720).
*pyme-0.8.1 (23 Jul 2009)
23 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+pyme-0.8.1.ebuild:
- Version bump (bug #278716). Fix building with app-crypt/gpgme >= 1.2.0
+ Version bump (bug #278716). Fix building with >=app-crypt/gpgme-1.2.0
(bug #278720).
25 Jan 2009; Markus Meier <maekke@gentoo.org> pyme-0.7.0-r1.ebuild:
diff --git a/dev-python/pyme/pyme-0.6.0-r1.ebuild b/dev-python/pyme/pyme-0.6.0-r1.ebuild
index 9168eda1ae32..ac2f23e2dd58 100644
--- a/dev-python/pyme/pyme-0.6.0-r1.ebuild
+++ b/dev-python/pyme/pyme-0.6.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# 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.3 2008/05/12 07:57:42 hawking Exp $
+# $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
+inherit distutils eutils flag-o-matic
DESCRIPTION="GPGME Interface for Python"
HOMEPAGE="http://pyme.sourceforge.net/"
@@ -17,11 +17,16 @@ 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"