summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-01 20:11:47 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-01 20:11:47 +0000
commit35b98768a60ccfd3dacd8ba66d24439b543a2a05 (patch)
treeb5a5e8295f0fc901a7ca48f547c58e50a22d38c9
parentStable on amd64 wrt bug #349722 (diff)
downloadgentoo-2-35b98768a60ccfd3dacd8ba66d24439b543a2a05.tar.gz
gentoo-2-35b98768a60ccfd3dacd8ba66d24439b543a2a05.tar.bz2
gentoo-2-35b98768a60ccfd3dacd8ba66d24439b543a2a05.zip
Fix dependencies. Set SUPPORT_PYTHON_ABIS. Avoid breaking strict-aliasing rules.
(Portage version: 2.2.0_alpha11_p6/cvs/Linux x86_64)
-rw-r--r--dev-python/pyode/ChangeLog9
-rw-r--r--dev-python/pyode/pyode-1.2.0_p20100322.ebuild15
2 files changed, 19 insertions, 5 deletions
diff --git a/dev-python/pyode/ChangeLog b/dev-python/pyode/ChangeLog
index 8302456638ff..7155d9f8f260 100644
--- a/dev-python/pyode/ChangeLog
+++ b/dev-python/pyode/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyode
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/ChangeLog,v 1.14 2010/12/25 13:40:29 nelchael Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/ChangeLog,v 1.15 2011/01/01 20:11:47 arfrever Exp $
+
+ 01 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyode-1.2.0_p20100322.ebuild:
+ Fix dependencies. Set SUPPORT_PYTHON_ABIS. Avoid breaking strict-aliasing
+ rules.
*pyode-1.2.0_p20100322 (25 Dec 2010)
diff --git a/dev-python/pyode/pyode-1.2.0_p20100322.ebuild b/dev-python/pyode/pyode-1.2.0_p20100322.ebuild
index fe3e6d9e8292..7c93526d59a7 100644
--- a/dev-python/pyode/pyode-1.2.0_p20100322.ebuild
+++ b/dev-python/pyode/pyode-1.2.0_p20100322.ebuild
@@ -1,10 +1,15 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.2.0_p20100322.ebuild,v 1.1 2010/12/25 13:40:29 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.2.0_p20100322.ebuild,v 1.2 2011/01/01 20:11:47 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
-MY_P=${P/pyode/PyODE}
+MY_P="${P/pyode/PyODE}"
SNAPSHOT_DATE="2010-03-22" # This is a snapshot
DESCRIPTION="Python bindings to the ODE physics engine"
@@ -22,6 +27,10 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/PyODE-snapshot-${SNAPSHOT_DATE}"
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+PYTHON_MODNAME="xode"
+
src_install() {
distutils_src_install
# The build system doesnt error if it fails to build