diff options
Diffstat (limited to 'dev-python/soya')
-rw-r--r-- | dev-python/soya/Manifest | 1 | ||||
-rw-r--r-- | dev-python/soya/files/soya-0.15_rc1-glu.patch | 12 | ||||
-rw-r--r-- | dev-python/soya/soya-0.15_rc1.ebuild | 66 |
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-python/soya/Manifest b/dev-python/soya/Manifest index a8bd0d0c9196..0d711eed3356 100644 --- a/dev-python/soya/Manifest +++ b/dev-python/soya/Manifest @@ -1,2 +1,3 @@ DIST Soya-0.14.tar.bz2 905659 SHA256 dcb93206d7154dc575ec6eeb7fa3ecfd6bfb78fa233db639e423857cd2a99590 SHA512 3a6d8d0523cd13d1e9e8e2260612f23dfd2d33526b40d11ea1568a3b3c3eb7172ab94b8c8e9490203128c1fbe0b840d29a04d1c7b9d93bd273eb318ad286b711 WHIRLPOOL 1e0df42cb2a066ed9d5faa043c85844729a8f637051c945ad573c3d9510b8c650583b0e5e4162b8ca4ea098c500181e2d11729e39272c9a2fadecf6b0cb83141 +DIST Soya-0.15rc1.tar.bz2 910576 SHA256 2567714bc312a171bb5b31cb854804a78cff878e8d5cd2352cf37f48c8eb6dd6 SHA512 698ad3ebb446b49dc6fb70f53cfa6b1d9f35fc854d6f5fd1dafcb1478fce01c8de694a86af02580bb2b149f086122450f1bd6fe002f87d45a5c7555911c23fc6 WHIRLPOOL 93f87c5b93fe243e3828268fb157f66fc4288c3da2cfafa3c269f0c68f486751d3958db2c705ee07c2f342f95024fdefaa6aae35e1d69fdcba96504ac7f9ac98 DIST SoyaTutorial-0.14.tar.bz2 5223674 SHA256 86d5b8189e7f7b4269976a65f23a51291bb99c6272f2884cbd129a6e9cc6cbec SHA512 484bc93c2561aa1f2c8bd7101b75c8ea5d42a2bae7c0431ef1e7719bd86da2f47fb68129d60ce1923b26cce1b7915ab6576d0c5f6c8ee889736971be166b4623 WHIRLPOOL 035bb56a66e231cb2d7600003519c9eeca540a9eae2ccbfd15c7bda09450bc4ad5ef086f8f871d0f8284cd397e26df34a74a74e7323272b972f1789de771a612 diff --git a/dev-python/soya/files/soya-0.15_rc1-glu.patch b/dev-python/soya/files/soya-0.15_rc1-glu.patch new file mode 100644 index 000000000000..39463e725a5e --- /dev/null +++ b/dev-python/soya/files/soya-0.15_rc1-glu.patch @@ -0,0 +1,12 @@ +diff -rupN a/setup.py b/setup.py +--- a/setup.py 2010-01-18 15:39:57.000000000 -0600 ++++ b/setup.py 2012-07-19 21:19:48.054609136 -0500 +@@ -109,7 +109,7 @@ if endian == "big": + if sys.platform[:3] == "win": + LIBS = ["m", "glew32", "SDL", "SDL_mixer", "freetype", "cal3d", "stdc++", "ode"] + else: +- LIBS = ["m", "GLEW", "SDL", "freetype", "cal3d", "stdc++","ode"] ++ LIBS = ["m", "GLEW", "GLU", "SDL", "freetype", "cal3d", "stdc++","ode"] + FRAMEWORKS=[] + + SOYA_PYREX_SOURCES = ["_soya.pyx", "matrix.c", "chunk.c"] diff --git a/dev-python/soya/soya-0.15_rc1.ebuild b/dev-python/soya/soya-0.15_rc1.ebuild new file mode 100644 index 000000000000..2a37bda25db1 --- /dev/null +++ b/dev-python/soya/soya-0.15_rc1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 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.8 2012/02/27 14:50:16 patrick Exp $ + +EAPI=6 +PYTHON_COMPAT=(python2_7) + +inherit distutils-r1 eutils + +MY_PN="Soya" +MY_PV="${PV/_}" +MY_P="Soya-${MY_PV}" +TUT_P="SoyaTutorial-0.14" + +DESCRIPTION="A high-level 3D engine for Python, designed with games in mind" +HOMEPAGE="http://home.gna.org/oomadness/en/soya3d/index.html" +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=">=dev-games/ode-0.10[-double-precision] + dev-python/editobj + dev-python/pillow + >=dev-python/pyopenal-0.1.6 + media-fonts/freefonts + >=media-libs/cal3d-0.10 + media-libs/freeglut + >=media-libs/freetype-2.1.5 + >=media-libs/glew-1.3.3:* + >=media-libs/libsdl-1.2.8[opengl] + media-libs/openal + virtual/opengl" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}" + +PATCHES=( + "${FILESDIR}/${P}-glu.patch" +) + +src_unpack() { + if [ ${A} != "" ]; then + unpack ${A} + fi + + mv "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_PN}" +} + +src_install() { + distutils-r1_src_install + + insinto /usr/share/${PF} + if use doc; then + cd "${WORKDIR}/${TUT_P}/doc" + doins soya_guide.pdf pudding/pudding.pdf || die "doins failed" + fi + if use examples; then + cd "${WORKDIR}/${TUT_P}" + doins -r tutorial || die "doins failed" + fi +} |