# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_REQ_USE="tk?" PYTHON_COMPAT=( python2_7 ) PYPI_NO_NORMALIZE=1 PYPI_PN=PyOpenGL inherit distutils-r1 out-of-source-utils pypi virtualx MY_PN="PyOpenGL" MY_P="${MY_PN}-${PV}" DESCRIPTION="Python OpenGL bindings" HOMEPAGE="http://pyopengl.sourceforge.net/ https://pypi.org/project/PyOpenGL/" S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="python2" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="test tk" RDEPEND=" media-libs/freeglut virtual/opengl x11-libs/libXi x11-libs/libXmu tk? ( dev-tcltk/togl ) !