dev-python/pyopengl_accelerate: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-10-05 11:04:13 +02:00
parent 1c2911cb31
commit cecc450238
2 changed files with 0 additions and 63 deletions

View File

@@ -1,2 +1 @@
DIST pyopengl-release-3.1.7.gh.tar.gz 3310131 BLAKE2B 37d64a0e0f3ced1965a7285ac7a0afb774b1e5ef630e42d86e40bb65176af7f0aa44accee50d3b32eb87a13c76535a3239359ea2c5bea385e20f1b1ec1a8b636 SHA512 a6cd28b15964e55e8a808477138ad03eb212501d9f4723603c405932963aedca83b91ff19e510ca181cc9800f2a22968b2913b70a975b7797f3bcad112c6c0b4
DIST pyopengl-release-3.1.8.gh.tar.gz 3599436 BLAKE2B 7f33345d68d66d3cc81278eaa5f54298694f41f40583ee08a1f9f677705fb4414b6b2afbcd7b9345199b5f573478bfeba050e185b6534cbb19b45cb25c241b47 SHA512 d95014a36bd889fa014043e4640ba7f319bb996cb56e5f7086ee05d39c53d3928512d52b0ce181d7c144775a4da7eff7403cada0f91f23f56a699a1b023e00e6

View File

@@ -1,62 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
MY_P=pyopengl-release-${PV}
DESCRIPTION="Accelerate module for PyOpenGL"
HOMEPAGE="
https://pyopengl.sourceforge.net/
https://github.com/mcfletch/pyopengl/
https://pypi.org/project/PyOpenGL-accelerate/"
SRC_URI="
https://github.com/mcfletch/pyopengl/archive/release-${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}/accelerate
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="numpy"
DEPEND="
numpy? (
dev-python/numpy[${PYTHON_USEDEP}]
)
"
RDEPEND="
${DEPEND}
dev-python/pyopengl[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_configure() {
rm src/*.c || die
if ! use numpy; then
cat > "${T}"/numpy.py <<-EOF || die
raise ImportError("building numpy extension disabled")
EOF
fi
}
python_compile() {
local -x PYTHONPATH=${T}:${PYTHONPATH}
distutils-r1_python_compile
}
python_test() {
cd "${T}" || die
epytest "${S}"/tests
}