From 0979d3ddb6ea14d17e52fd0ba2e01f928948384a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 4 Sep 2023 16:21:31 +0100 Subject: gentoo auto-resync : 04:09:2023 - 16:21:31 --- dev-python/sphinxcontrib-apidoc/Manifest | 2 ++ .../sphinxcontrib-apidoc-0.4.0.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.4.0.ebuild (limited to 'dev-python/sphinxcontrib-apidoc') diff --git a/dev-python/sphinxcontrib-apidoc/Manifest b/dev-python/sphinxcontrib-apidoc/Manifest index fd5c4598585c..c66a6a6e129a 100644 --- a/dev-python/sphinxcontrib-apidoc/Manifest +++ b/dev-python/sphinxcontrib-apidoc/Manifest @@ -1,3 +1,5 @@ DIST sphinxcontrib-apidoc-0.3.0.tar.gz 15396 BLAKE2B de726316daa81eae1a8012c8be4acf3850f910af562d23dc17194afc86b40daf632bd5cdd61153299f35f3326b181c3b67e75925f0d95ce4cea81e1766c7828d SHA512 043f9b36eaff7b3f6d23c834dd3947e2b029c66010b3862f1658f03e0fb6c4aac3304f49465dd515a30107a685dc704a0e319675c9d7b27897445a2c315d07a1 +DIST sphinxcontrib-apidoc-0.4.0.tar.gz 15958 BLAKE2B 9cd806eb36cd2aa35c797b35e8e699c4a918e8e3d19e36ea9d79eb73dfce301a24ee33bc647ba180283837488aa00628b4882d08c3d492b196a4f663cad26f48 SHA512 1e33fd6df91adfb65ea511fe5ee55ccff9a237488cca406f46b33a2bf8eb69b884b274e9c94bfd868fef67b2e0dfbb19f5e2d62486c54a85755a9034ca5c715c EBUILD sphinxcontrib-apidoc-0.3.0-r1.ebuild 809 BLAKE2B 9d60f2967092280fa47628bbb63132ad7edd32f9200e2e00555ff2ff135fb8ebab7cfdaff83e5dbe7dd44c31ca2d2e5eb86cd2ee4dee904098d2d1d2d39e994d SHA512 05f445b9067992d76ab747a7cee36ffd32e92fe54dc4476ebe2ae86397e0fcee1e94b0c2f48a8e503d5f5920b72cea35a75a032c325de97dd24d022efd583aa0 +EBUILD sphinxcontrib-apidoc-0.4.0.ebuild 817 BLAKE2B 82777be0ffebd8203f9819f71854a18a480e985a30f2fad36d3f93bf0fdf5144bea75bd0698c5a076a8d50d5d6d906f0f059990f03eb016cb89431913e4d5c8b SHA512 8c21d12752296514ab3b41ad615e9ae97922bc0177961c45997aedeaf905753547f3f5712aa10741770bac50b8ed5e9868ca5b5dfab9e5daa6acbbd30d3eadf7 MISC metadata.xml 409 BLAKE2B 4a1905b020761f1b3e3ffa69e80ca1fc04cb1e9b8fabff5bb92e8f0d95b1d1e47c5bfb337bfe61d6cd0fd5963971370c20ebc751809f218da66b0f30df6c23eb SHA512 832d5ea299a022f6cc60557f5fb433c72a83026cf3b997ca2fd43c278d86e84afdc39db12fbce0811846b44f65ed09397e0b5adcb9221f780d8c98b51b22bbd7 diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.4.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.4.0.ebuild new file mode 100644 index 000000000000..78b537d913ed --- /dev/null +++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.4.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2023 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 +} -- cgit v1.2.3