public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pyme: pyme-0.8.1-r1.ebuild ChangeLog
@ 2012-05-18  9:25 Amadeusz Zolnowski (aidecoe)
  0 siblings, 0 replies; only message in thread
From: Amadeusz Zolnowski (aidecoe) @ 2012-05-18  9:25 UTC (permalink / raw
  To: gentoo-commits

aidecoe     12/05/18 09:25:39

  Modified:             ChangeLog
  Added:                pyme-0.8.1-r1.ebuild
  Log:
  Fixed bug #416473.
  
  (Portage version: 2.1.10.62/cvs/Linux x86_64)

Revision  Changes    Path
1.34                 dev-python/pyme/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.34&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.34&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/ChangeLog?r1=1.33&r2=1.34

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ChangeLog	24 Feb 2012 03:26:19 -0000	1.33
+++ ChangeLog	18 May 2012 09:25:39 -0000	1.34
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/pyme
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.33 2012/02/24 03:26:19 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.34 2012/05/18 09:25:39 aidecoe Exp $
+
+*pyme-0.8.1-r1 (18 May 2012)
+
+  18 May 2012; Amadeusz Żołnowski <aidecoe@gentoo.org>
+  +files/0.8.1-libgpgme11-1.2-compatibility-fix.patch, +pyme-0.8.1-r1.ebuild:
+  Fixed bug #416473.
 
   24 Feb 2012; Patrick Lauer <patrick@gentoo.org> pyme-0.8.1.ebuild:
   Restricting jython



1.1                  dev-python/pyme/pyme-0.8.1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/pyme-0.8.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/pyme-0.8.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: pyme-0.8.1-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1-r1.ebuild,v 1.1 2012/05/18 09:25:39 aidecoe Exp $

EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"

inherit distutils eutils

DESCRIPTION="GPGME Interface for Python"
HOMEPAGE="http://pyme.sourceforge.net"
SRC_URI="mirror://sourceforge/pyme/${P}.tar.gz"

LICENSE="|| ( GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="examples"

RDEPEND=">=app-crypt/gpgme-0.9.0"
DEPEND="${RDEPEND}
	dev-lang/swig"
RESTRICT="test"

PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")

src_prepare() {
	epatch "${FILESDIR}/${PV}-libgpgme11-1.2-compatibility-fix.patch"

	distutils_src_prepare

	sed \
		-e 's:include/:include/gpgme/:' \
		-e 's/SWIGOPT :=.*/& -D_FILE_OFFSET_BITS=64/' \
		-e 's/shell python/shell $(PYTHON)/' \
		-i Makefile || die "sed Makefile failed"
	sed -e 's/^\(define_macros = \).*/\1[("_FILE_OFFSET_BITS=64", None)]/' -i setup.py || die "sed setup.py failed"
}

src_compile() {
	emake -j1 PYTHON="$(PYTHON -f)" swig || die "emake swig failed"
	distutils_src_compile
}

src_test() {
	testing() {
		PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "$(PYTHON)" examples/genkey.py
	}
	python_execute_function testing
}

src_install() {
	distutils_src_install

	if use examples; then
		insinto /usr/share/doc/${PF}/examples
		doins examples/*
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-18  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18  9:25 [gentoo-commits] gentoo-x86 commit in dev-python/pyme: pyme-0.8.1-r1.ebuild ChangeLog Amadeusz Zolnowski (aidecoe)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox