public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pyme: ChangeLog pyme-0.8.1.ebuild
@ 2009-07-23  3:05 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 5+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-07-23  3:05 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/07/23 03:05:26

  Modified:             ChangeLog
  Added:                pyme-0.8.1.ebuild
  Log:
  Version bump (bug #278716). Fix building with app-crypt/gpgme >= 1.2.0 (bug #278720).
  (Portage version: 13850-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.25                 dev-python/pyme/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?r1=1.24&r2=1.25

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ChangeLog	25 Jan 2009 15:13:04 -0000	1.24
+++ ChangeLog	23 Jul 2009 03:05:26 -0000	1.25
@@ -1,6 +1,13 @@
 # ChangeLog for dev-python/pyme
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.24 2009/01/25 15:13:04 maekke Exp $
+# 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 $
+
+*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
+  (bug #278720).
 
   25 Jan 2009; Markus Meier <maekke@gentoo.org> pyme-0.7.0-r1.ebuild:
   add ~amd64, bug #255694



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

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

Index: pyme-0.8.1.ebuild
===================================================================
# 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.8.1.ebuild,v 1.1 2009/07/23 03:05:26 arfrever Exp $

EAPI="2"

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="doc examples"

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

src_prepare() {
	distutils_src_prepare

	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"
}

src_compile() {
	PYTHON="/usr/bin/python"
	emake -j1 swig || die "emake swig failed"
	distutils_src_compile
}

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() {
#	tests() {
#		PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "${python}" examples/genkey.py || die "genkey test failed"
#	}
#	python_execute_function tests
#}






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/pyme: ChangeLog pyme-0.8.1.ebuild
@ 2009-08-15 16:41 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 5+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-08-15 16:41 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/08/15 16:41:08

  Modified:             ChangeLog pyme-0.8.1.ebuild
  Log:
  Set SUPPORT_PYTHON_ABIS.
  (Portage version: 14065-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.27                 dev-python/pyme/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?r1=1.26&r2=1.27

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ChangeLog	15 Aug 2009 16:21:31 -0000	1.26
+++ ChangeLog	15 Aug 2009 16:41:08 -0000	1.27
@@ -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.26 2009/08/15 16:21:31 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.27 2009/08/15 16:41:08 arfrever Exp $
+
+  15 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  pyme-0.8.1.ebuild:
+  Set SUPPORT_PYTHON_ABIS.
 
   15 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   pyme-0.6.0-r1.ebuild:



1.3                  dev-python/pyme/pyme-0.8.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?r1=1.2&r2=1.3

Index: pyme-0.8.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pyme-0.8.1.ebuild	23 Jul 2009 20:41:45 -0000	1.2
+++ pyme-0.8.1.ebuild	15 Aug 2009 16:41:08 -0000	1.3
@@ -1,8 +1,9 @@
 # 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.8.1.ebuild,v 1.2 2009/07/23 20:41:45 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.3 2009/08/15 16:41:08 arfrever Exp $
 
 EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
 
 inherit distutils eutils
 
@@ -19,6 +20,8 @@
 DEPEND="${RDEPEND}
 	dev-lang/swig"
 
+RESTRICT_PYTHON_ABIS="3*"
+
 src_prepare() {
 	distutils_src_prepare
 
@@ -32,11 +35,17 @@
 }
 
 src_compile() {
-	PYTHON="/usr/bin/python"
-	emake -j1 swig || die "emake swig failed"
+	emake -j1 PYTHON="/usr/bin/python" swig || die "emake swig failed"
 	distutils_src_compile
 }
 
+src_test() {
+	testing() {
+		PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "$(PYTHON)" examples/genkey.py || die "genkey test failed with Python ${PYTHON_ABI}"
+	}
+	python_execute_function testing
+}
+
 src_install() {
 	distutils_src_install
 	use doc && dohtml -r doc/*
@@ -46,15 +55,3 @@
 		doins examples/*
 	fi
 }
-
-src_test() {
-	env PYTHONPATH=$(echo build/lib.*) \
-		"${python}" examples/genkey.py || die "genkey test failed"
-}
-
-#src_test() {
-#	tests() {
-#		PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "${PYTHON}" examples/genkey.py || die "genkey test failed"
-#	}
-#	python_execute_function tests
-#}






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/pyme: ChangeLog pyme-0.8.1.ebuild
@ 2009-09-16 17:30 Christian Faulhammer (fauli)
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Faulhammer (fauli) @ 2009-09-16 17:30 UTC (permalink / raw
  To: gentoo-commits

fauli       09/09/16 17:30:19

  Modified:             ChangeLog pyme-0.8.1.ebuild
  Log:
  stable x86, bug 284984
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.29                 dev-python/pyme/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?r1=1.28&r2=1.29

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog	4 Sep 2009 20:06:12 -0000	1.28
+++ ChangeLog	16 Sep 2009 17:30:19 -0000	1.29
@@ -1,6 +1,9 @@
 # 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.28 2009/09/04 20:06:12 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.29 2009/09/16 17:30:19 fauli Exp $
+
+  16 Sep 2009; Christian Faulhammer <fauli@gentoo.org> pyme-0.8.1.ebuild:
+  stable x86, bug 284984
 
   04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -pyme-0.7.0-r1.ebuild:
   Remove old



1.4                  dev-python/pyme/pyme-0.8.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?r1=1.3&r2=1.4

Index: pyme-0.8.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pyme-0.8.1.ebuild	15 Aug 2009 16:41:08 -0000	1.3
+++ pyme-0.8.1.ebuild	16 Sep 2009 17:30:19 -0000	1.4
@@ -1,6 +1,6 @@
 # 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.8.1.ebuild,v 1.3 2009/08/15 16:41:08 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.4 2009/09/16 17:30:19 fauli Exp $
 
 EAPI="2"
 SUPPORT_PYTHON_ABIS="1"
@@ -13,7 +13,7 @@
 
 LICENSE="|| ( GPL-2 LGPL-2.1 )"
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc x86"
 IUSE="doc examples"
 
 RDEPEND=">=app-crypt/gpgme-0.9.0"






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/pyme: ChangeLog pyme-0.8.1.ebuild
@ 2009-09-27 18:51 Gysbert Wassenaar (nixnut)
  0 siblings, 0 replies; 5+ messages in thread
From: Gysbert Wassenaar (nixnut) @ 2009-09-27 18:51 UTC (permalink / raw
  To: gentoo-commits

nixnut      09/09/27 18:51:00

  Modified:             ChangeLog pyme-0.8.1.ebuild
  Log:
  ppc stable #284984
  (Portage version: 2.1.6.13/cvs/Linux ppc)

Revision  Changes    Path
1.30                 dev-python/pyme/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/ChangeLog?r1=1.29&r2=1.30

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog	16 Sep 2009 17:30:19 -0000	1.29
+++ ChangeLog	27 Sep 2009 18:50:59 -0000	1.30
@@ -1,6 +1,9 @@
 # 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.29 2009/09/16 17:30:19 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.30 2009/09/27 18:50:59 nixnut Exp $
+
+  27 Sep 2009; nixnut <nixnut@gentoo.org> pyme-0.8.1.ebuild:
+  ppc stable #284984
 
   16 Sep 2009; Christian Faulhammer <fauli@gentoo.org> pyme-0.8.1.ebuild:
   stable x86, bug 284984



1.5                  dev-python/pyme/pyme-0.8.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?r1=1.4&r2=1.5

Index: pyme-0.8.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pyme-0.8.1.ebuild	16 Sep 2009 17:30:19 -0000	1.4
+++ pyme-0.8.1.ebuild	27 Sep 2009 18:50:59 -0000	1.5
@@ -1,6 +1,6 @@
 # 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.8.1.ebuild,v 1.4 2009/09/16 17:30:19 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.5 2009/09/27 18:50:59 nixnut Exp $
 
 EAPI="2"
 SUPPORT_PYTHON_ABIS="1"
@@ -13,7 +13,7 @@
 
 LICENSE="|| ( GPL-2 LGPL-2.1 )"
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc x86"
+KEYWORDS="~amd64 ~ia64 ppc ~sparc x86"
 IUSE="doc examples"
 
 RDEPEND=">=app-crypt/gpgme-0.9.0"






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/pyme: ChangeLog pyme-0.8.1.ebuild
@ 2010-10-02 15:10 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 5+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-10-02 15:10 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/10/02 15:10:33

  Modified:             ChangeLog pyme-0.8.1.ebuild
  Log:
  Update EAPI. Fix dependencies. Restrict tests (bug #339409). Avoid breaking strict-aliasing rules. Use Python 2. Don't try to install nonexistent documentation.
  
  (Portage version: 2.2_rc88_p65/cvs/Linux x86_64)

Revision  Changes    Path
1.32                 dev-python/pyme/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ChangeLog	2 Oct 2010 13:31:02 -0000	1.31
+++ ChangeLog	2 Oct 2010 15:10:33 -0000	1.32
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/pyme
 # 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.32 2010/10/02 15:10:33 arfrever Exp $
+
+  02 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  pyme-0.8.1.ebuild:
+  Update EAPI. Fix dependencies. Restrict tests (bug #339409). Avoid breaking
+  strict-aliasing rules. Use Python 2. Don't try to install nonexistent
+  documentation.
 
   02 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   -pyme-0.6.0-r1.ebuild, -files/pyme-swig-compatibility.patch:



1.6                  dev-python/pyme/pyme-0.8.1.ebuild

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

Index: pyme-0.8.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pyme-0.8.1.ebuild	27 Sep 2009 18:50:59 -0000	1.5
+++ pyme-0.8.1.ebuild	2 Oct 2010 15:10:33 -0000	1.6
@@ -1,9 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.ebuild,v 1.5 2009/09/27 18:50:59 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.6 2010/10/02 15:10:33 arfrever Exp $
 
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
 SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
 
 inherit distutils eutils
 
@@ -14,41 +16,40 @@
 LICENSE="|| ( GPL-2 LGPL-2.1 )"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ppc ~sparc x86"
-IUSE="doc examples"
+IUSE="examples"
 
 RDEPEND=">=app-crypt/gpgme-0.9.0"
 DEPEND="${RDEPEND}
 	dev-lang/swig"
+RESTRICT="test"
 
-RESTRICT_PYTHON_ABIS="3*"
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
 
 src_prepare() {
 	distutils_src_prepare
 
-	sed -i \
+	sed \
 		-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 Makefile failed"
+		-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="/usr/bin/python" swig || die "emake swig failed"
+	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 || die "genkey test failed with Python ${PYTHON_ABI}"
+		PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "$(PYTHON)" examples/genkey.py
 	}
 	python_execute_function testing
 }
 
 src_install() {
 	distutils_src_install
-	use doc && dohtml -r doc/*
 
 	if use examples; then
 		insinto /usr/share/doc/${PF}/examples






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-02 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23  3:05 [gentoo-commits] gentoo-x86 commit in dev-python/pyme: ChangeLog pyme-0.8.1.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)
  -- strict thread matches above, loose matches on Subject: below --
2009-08-15 16:41 Arfrever Frehtes Taifersar Arahesis (arfrever)
2009-09-16 17:30 Christian Faulhammer (fauli)
2009-09-27 18:51 Gysbert Wassenaar (nixnut)
2010-10-02 15:10 Arfrever Frehtes Taifersar Arahesis (arfrever)

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