mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
dev-python/pyrr: drop USE=doc
Does not build with >=dev-python/sphinx-8. Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -9,39 +9,18 @@ PYTHON_COMPAT=( python3_{10..12} )
|
|||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="A cross platform utility library for ModernGL"
|
DESCRIPTION="A cross platform utility library for ModernGL"
|
||||||
HOMEPAGE="https://github.com/adamlwgriffiths/pyrr https://pypi.org/project/pyrr"
|
HOMEPAGE="https://github.com/adamlwgriffiths/pyrr https://pypi.org/project/pyrr/"
|
||||||
SRC_URI="https://github.com/adamlwgriffiths/pyrr/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz"
|
SRC_URI="https://github.com/adamlwgriffiths/pyrr/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz"
|
||||||
S="${WORKDIR}/Pyrr-${PV}"
|
S="${WORKDIR}/Pyrr-${PV}"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-python/multipledispatch[${PYTHON_USEDEP}]
|
dev-python/multipledispatch[${PYTHON_USEDEP}]
|
||||||
<dev-python/numpy-2[${PYTHON_USEDEP}]
|
<dev-python/numpy-2[${PYTHON_USEDEP}]
|
||||||
"
|
"
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
doc? (
|
|
||||||
<dev-python/sphinx-8[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="${BDEPEND}"
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
distutils-r1_python_compile
|
|
||||||
if use doc; then
|
|
||||||
find "${S}/docs" -type f -exec sed -i 's/sphinx\.ext\.pngmath/sphinx\.ext\.imgmath/g' {} \;
|
|
||||||
emake man -C docs
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
distutils-r1_python_install
|
|
||||||
use doc && doman "${S}/docs/build/man/pyrr.1"
|
|
||||||
}
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
python_test() {
|
python_test() {
|
||||||
|
|||||||
Reference in New Issue
Block a user