diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-26 17:15:01 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-26 17:15:01 +0000 |
commit | 4947435e06b3334c75772113ff463642b0982d8e (patch) | |
tree | 365c0f1311bd0e1d57814bb3ae54578437754a78 /dev-python/soya | |
parent | Restrict Jython ABIs. (diff) | |
download | gentoo-2-4947435e06b3334c75772113ff463642b0982d8e.tar.gz gentoo-2-4947435e06b3334c75772113ff463642b0982d8e.tar.bz2 gentoo-2-4947435e06b3334c75772113ff463642b0982d8e.zip |
Fix dependencies. Set SUPPORT_PYTHON_ABIS.
(Portage version: 2.2.0_alpha10_p8/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/soya')
-rw-r--r-- | dev-python/soya/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/soya/soya-0.14.ebuild | 44 |
2 files changed, 30 insertions, 20 deletions
diff --git a/dev-python/soya/ChangeLog b/dev-python/soya/ChangeLog index a1ac619a6c9a..2abf18671f4b 100644 --- a/dev-python/soya/ChangeLog +++ b/dev-python/soya/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/soya # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/soya/ChangeLog,v 1.27 2010/11/08 12:49:09 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/soya/ChangeLog,v 1.28 2010/12/26 17:15:01 arfrever Exp $ + + 26 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + soya-0.14.ebuild: + Fix dependencies. Set SUPPORT_PYTHON_ABIS. 08 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -soya-0.10.2.ebuild, -soya-0.13_rc1.ebuild: diff --git a/dev-python/soya/soya-0.14.ebuild b/dev-python/soya/soya-0.14.ebuild index 76ef402b8294..f724ecd85206 100644 --- a/dev-python/soya/soya-0.14.ebuild +++ b/dev-python/soya/soya-0.14.ebuild @@ -1,54 +1,60 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/soya/soya-0.14.ebuild,v 1.5 2010/11/08 11:50:46 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/soya/soya-0.14.ebuild,v 1.6 2010/12/26 17:15:01 arfrever Exp $ -EAPI=2 -inherit eutils distutils +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" -MY_PV=${PV/_} -MY_P=Soya-${MY_PV} -TUT_P=SoyaTutorial-${MY_PV} +inherit distutils eutils + +MY_PV="${PV/_}" +MY_P="Soya-${MY_PV}" +TUT_P="SoyaTutorial-${MY_PV}" DESCRIPTION="A high-level 3D engine for Python, designed with games in mind" HOMEPAGE="http://oomadness.nekeme.net/Soya/FrontPage" SRC_URI="http://download.gna.org/soya/${MY_P}.tar.bz2 doc? ( http://download.gna.org/soya/${TUT_P}.tar.bz2 ) examples? ( http://download.gna.org/soya/${TUT_P}.tar.bz2 )" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="doc examples" -DEPEND="virtual/opengl - media-libs/freeglut - >=dev-lang/python-2.4.2 +DEPEND=">=dev-games/ode-0.5 + dev-python/editobj >=dev-python/imaging-1.1.5 + >=dev-python/pyopenal-0.1.6 + media-fonts/freefonts >=media-libs/cal3d-0.10 - >=media-libs/glew-1.3.3 + media-libs/freeglut >=media-libs/freetype-2.1.5 - media-fonts/freefonts + >=media-libs/glew-1.3.3 >=media-libs/libsdl-1.2.8[opengl] - >=dev-games/ode-0.5 media-libs/openal - >=dev-python/pyopenal-0.1.6" + virtual/opengl" +RDEPEND="${DEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" src_prepare() { - epatch "${FILESDIR}"/${P}-glu.patch distutils_src_prepare + epatch "${FILESDIR}/${P}-glu.patch" } src_install() { distutils_src_install insinto /usr/share/${PF} - if use doc ; then + if use doc; then cd "${WORKDIR}/${TUT_P}/doc" - doins soya_guide.pdf pudding/pudding.pdf || die + doins soya_guide.pdf pudding/pudding.pdf || die "doins failed" fi - if use examples ; then + if use examples; then cd "${WORKDIR}/${TUT_P}" - doins -r tutorial || die + doins -r tutorial || die "doins failed" fi } |