2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-22 00:12:57 +03:00

dev-python/sphinxcontrib-apidoc: Bump to 0.5.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-01-16 17:55:13 +01:00
parent c019806491
commit f79a4eef07
2 changed files with 42 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sphinxcontrib-apidoc-0.4.0.tar.gz 15958 BLAKE2B 9cd806eb36cd2aa35c797b35e8e699c4a918e8e3d19e36ea9d79eb73dfce301a24ee33bc647ba180283837488aa00628b4882d08c3d492b196a4f663cad26f48 SHA512 1e33fd6df91adfb65ea511fe5ee55ccff9a237488cca406f46b33a2bf8eb69b884b274e9c94bfd868fef67b2e0dfbb19f5e2d62486c54a85755a9034ca5c715c
DIST sphinxcontrib-apidoc-0.5.0.tar.gz 16117 BLAKE2B f486cfdf2cbf74c2ac35e688671f64d7e8a8d5b30c5e932036d1dcb2c58bd32b4bfeb14680311cf3dd1345b0548b0b083a1d30a667f934c08a2c2e431bdc2cdc SHA512 36858dab0915f4aac48b2bab1aeea830e35e1e865ff5f4726df0c9f9c2917d450ed1e27b1db9d143fade09369201b1b6b72f0264e674130f62a67df494c8f646

View File

@@ -0,0 +1,41 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Sphinx extension for running sphinx-apidoc on each build"
HOMEPAGE="
https://pypi.org/project/sphinxcontrib-apidoc/
https://github.com/sphinx-contrib/apidoc/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
BDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
"
RDEPEND="
${BDEPEND}
>=dev-python/sphinx-5.0.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
python_test() {
distutils_write_namespace sphinxcontrib
cd "${T}" || die
epytest "${S}"/tests
}