diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/sphinxcontrib-applehelp/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/sphinxcontrib-applehelp/metadata.xml | 2 | ||||
| -rw-r--r-- | dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild | 44 |
3 files changed, 46 insertions, 1 deletions
diff --git a/dev-python/sphinxcontrib-applehelp/Manifest b/dev-python/sphinxcontrib-applehelp/Manifest index 45dabb0e11ac..5af12bba789a 100644 --- a/dev-python/sphinxcontrib-applehelp/Manifest +++ b/dev-python/sphinxcontrib-applehelp/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-applehelp-1.0.2.tar.gz 24548 BLAKE2B 9532cb990ed97c6773388a66895a066958187e9100d226e2274c26ba07fc5832e42ba407864b69b002da926a79e71ac2d6315125906156214df3920b585d9f71 SHA512 1325ac83ff15dd28d6f2791caf64e6c08d1dd2f0946dc8891f5c4d8fd062a1e8650c9c39a7459195ef41f3b425f5b8d6c5e277ea85621a36dd870ca5162508da +DIST sphinxcontrib-applehelp-1.0.3.gh.tar.gz 20624 BLAKE2B d9dbd5974527044ecf2d5800da1a3e4b169fdfc2f322006c56ff70f85f3690c95f7f1161693c3bbd14c90a76b8e64035fd3f5bec1529a35f723ae0a47c5967d1 SHA512 d790a58a0b95f90f370c80d198f0e4181485d522d4dcc6e03874c2a2d53b20f84770507a0c956610135d1ad85ccaab68cb287b1e1c463d32c5a0447a5ae49f45 diff --git a/dev-python/sphinxcontrib-applehelp/metadata.xml b/dev-python/sphinxcontrib-applehelp/metadata.xml index 31487ef94bdc..f62d98c651ae 100644 --- a/dev-python/sphinxcontrib-applehelp/metadata.xml +++ b/dev-python/sphinxcontrib-applehelp/metadata.xml @@ -7,7 +7,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="pypi">sphinxcontrib-applehelp</remote-id> + <remote-id type="pypi">sphinxcontrib.applehelp</remote-id> <remote-id type="github">sphinx-doc/sphinxcontrib-applehelp</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild b/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild new file mode 100644 index 000000000000..995319a94360 --- /dev/null +++ b/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx extension which outputs Apple help book" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-applehelp/ + https://pypi.org/project/sphinxcontrib.applehelp/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinxcontrib-applehelp/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${PDEPEND} ) +" + +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 +} |
