diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-28 05:24:26 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-28 05:24:26 +0000 |
commit | 8c64f101ee70217bf7d9137976660b573015306b (patch) | |
tree | a2f7b9d629c60aad83d35ad390f1dfbc85e12b68 /dev-python/pyopengl | |
parent | Add credits (diff) | |
download | gentoo-2-8c64f101ee70217bf7d9137976660b573015306b.tar.gz gentoo-2-8c64f101ee70217bf7d9137976660b573015306b.tar.bz2 gentoo-2-8c64f101ee70217bf7d9137976660b573015306b.zip |
Version bump. Add optional dependency on dev-tcltk/togl (bug #285352).
(Portage version: 15152-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyopengl')
-rw-r--r-- | dev-python/pyopengl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild | 58 |
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-python/pyopengl/ChangeLog b/dev-python/pyopengl/ChangeLog index a47b19d30b1d..0725a9075613 100644 --- a/dev-python/pyopengl/ChangeLog +++ b/dev-python/pyopengl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyopengl # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v 1.39 2009/11/21 03:27:38 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v 1.40 2009/12/28 05:24:26 arfrever Exp $ + +*pyopengl-3.0.1_beta2 (28 Dec 2009) + + 28 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pyopengl-3.0.1_beta2.ebuild: + Version bump. Add optional dependency on dev-tcltk/togl (bug #285352). *pyopengl-3.0.1_beta1 (21 Nov 2009) diff --git a/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild b/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild new file mode 100644 index 000000000000..a41f04c3cc7f --- /dev/null +++ b/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild,v 1.1 2009/12/28 05:24:26 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="PyOpenGL" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python OpenGL bindings" +HOMEPAGE="http://pyopengl.sourceforge.net/ http://pypi.python.org/pypi/PyOpenGL" +SRC_URI="http://pypi.python.org/packages/source/P/PyOpenGL/${MY_P}.tar.gz + mirror://sourceforge/pyopengl/${MY_P}.tar.gz" +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tk" +# Disabled doc useflag + +RDEPEND="virtual/glut + x11-libs/libXi + x11-libs/libXmu + virtual/opengl + || ( >=dev-lang/python-2.5[tk?] + ( dev-lang/python:2.4[tk?] dev-python/ctypes ) ) + tk? ( dev-tcltk/togl )" +DEPEND="${RDEPEND} + dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="OpenGL" + +src_compile() { + distutils_src_compile + + # upstream does not include docs in the tarball. + #if use doc ; then + # einfo "Generating API docs as requested..." + # mkdir "${S}/api" + # cd "${S}/api" + # PYTHONPATH="${S}" "${python}" "${S}/documentation/pydoc/builddocs.py" || die "generating docs failed" + #fi +} + +src_install() { + distutils_src_install + + # no docs to install + #dohtml -r documentation/{images,style,*.html} + + #use doc && dohtml -r "${S}/api" +} |