summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-05 11:06:37 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-05 11:08:46 +0200
commit958a0cb5a050fd3ccb4d1d54fd5fb24e6866fa6f (patch)
tree901f16d1997478a2fbf2e7251bea8fab463fa050 /dev-python/pyopengl_accelerate
parentdev-python/pyopengl_accelerate: Remove old (diff)
downloadgentoo-958a0cb5a050fd3ccb4d1d54fd5fb24e6866fa6f.tar.gz
gentoo-958a0cb5a050fd3ccb4d1d54fd5fb24e6866fa6f.tar.bz2
gentoo-958a0cb5a050fd3ccb4d1d54fd5fb24e6866fa6f.zip
Rename dev-python/{pyopengl_accelerate → pyopengl-accelerate}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyopengl_accelerate')
-rw-r--r--dev-python/pyopengl_accelerate/Manifest1
-rw-r--r--dev-python/pyopengl_accelerate/metadata.xml16
-rw-r--r--dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.8.ebuild63
3 files changed, 0 insertions, 80 deletions
diff --git a/dev-python/pyopengl_accelerate/Manifest b/dev-python/pyopengl_accelerate/Manifest
deleted file mode 100644
index 2207d15fd9f2..000000000000
--- a/dev-python/pyopengl_accelerate/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pyopengl-release-3.1.8.gh.tar.gz 3599436 BLAKE2B 7f33345d68d66d3cc81278eaa5f54298694f41f40583ee08a1f9f677705fb4414b6b2afbcd7b9345199b5f573478bfeba050e185b6534cbb19b45cb25c241b47 SHA512 d95014a36bd889fa014043e4640ba7f319bb996cb56e5f7086ee05d39c53d3928512d52b0ce181d7c144775a4da7eff7403cada0f91f23f56a699a1b023e00e6
diff --git a/dev-python/pyopengl_accelerate/metadata.xml b/dev-python/pyopengl_accelerate/metadata.xml
deleted file mode 100644
index daac0a05e972..000000000000
--- a/dev-python/pyopengl_accelerate/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">PyOpenGL-accelerate</remote-id>
- <remote-id type="sourceforge">pyopengl</remote-id>
- <remote-id type="github">mcfletch/pyopengl</remote-id>
- </upstream>
- <use>
- <flag name="numpy">Building NumPy native format handlers.</flag>
- </use>
-</pkgmetadata>
diff --git a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.8.ebuild b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.8.ebuild
deleted file mode 100644
index 3b324795fb9c..000000000000
--- a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.8.ebuild
+++ /dev/null
@@ -1,63 +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..13} )
-
-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
-}