diff options
Diffstat (limited to 'dev-python/pyopengl')
-rw-r--r-- | dev-python/pyopengl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyopengl/pyopengl-3.0.1_alpha1.ebuild | 58 |
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-python/pyopengl/ChangeLog b/dev-python/pyopengl/ChangeLog index a7a1f091c18b..7e0ae33ac74e 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.31 2009/06/19 21:45:43 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v 1.32 2009/08/02 06:04:42 arfrever Exp $ + +*pyopengl-3.0.1_alpha1 (02 Aug 2009) + + 02 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pyopengl-3.0.1_alpha1.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. 19 Jun 2009; Brent Baude <ranger@gentoo.org> pyopengl-3.0.0.ebuild: stable ppc64, bug 271976 diff --git a/dev-python/pyopengl/pyopengl-3.0.1_alpha1.ebuild b/dev-python/pyopengl/pyopengl-3.0.1_alpha1.ebuild new file mode 100644 index 000000000000..e1725bcc5b0d --- /dev/null +++ b/dev-python/pyopengl/pyopengl-3.0.1_alpha1.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_alpha1.ebuild,v 1.1 2009/08/02 06:04:42 arfrever Exp $ + +EAPI="2" + +NEED_PYTHON="2.4" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_P="PyOpenGL-${PV/_alpha/a}" + +DESCRIPTION="Python OpenGL bindings" +HOMEPAGE="http://pyopengl.sourceforge.net/" +SRC_URI="mirror://sourceforge/pyopengl/${MY_P}.tar.gz" +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +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 ) )" +DEPEND="${RDEPEND} + dev-python/setuptools" + +RESTRICT_PYTHON_ABIS="3*" + +PYTHON_MODNAME="OpenGL" + +S="${WORKDIR}/${MY_P}" + +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" +} |