diff options
Diffstat (limited to 'dev-python/sphinxcontrib-httpdomain')
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-httpdomain/Manifest b/dev-python/sphinxcontrib-httpdomain/Manifest new file mode 100644 index 000000000000..c2d9f1a6dda4 --- /dev/null +++ b/dev-python/sphinxcontrib-httpdomain/Manifest @@ -0,0 +1,3 @@ +DIST sphinxcontrib-httpdomain-1.8.0.gh.tar.gz 38228 BLAKE2B 46cbe5ef0689777ef560c167c49af5830e38c7efa3a536dd36702114eb87f3c0f2f1c0c9de808738ef081e09c7d47754bc49a039b04184696ee4389acbf18454 SHA512 64d916d58282e94a4fa2b2d0e8abad5c50106b739e6e15015d347af339f517c2c7457c9bc8dc74258cfc371910d1a02b582a2c94f6f98c195a366f68c5b108c4 +EBUILD sphinxcontrib-httpdomain-1.8.0.ebuild 940 BLAKE2B 940e38e3a1205d1e242f992226f37dd7ea73b2f21409a5b6addeda9a76dc956f58bff8607c2304bab624c8eba8e433cdbd20f4c9bac2e2fae99f2dcc09937fac SHA512 f73eaf74610f115955f02b5441c51717a14bc0a895885d124358fdc9dbf8d2e036327269c2b57e420b4109f1a0c3f43a704fd071ff8b976bc5d8b0a3d7a8008b +MISC metadata.xml 417 BLAKE2B ecd20ec2d0b0f8dd3cc1ada969a171268f068f60dc698d644de42e2088f58cc66da59a73c735371d95a22d65a5699a9082e452605ab4d7e4a793d9311aed4a82 SHA512 b92a4542db033a1291b2983539597e651853a4faac6f8144796f59d13a7d75186f96a31c17dda30e280d246cd754a7696c1d1e6b330bbded25a23bb901ed3870 diff --git a/dev-python/sphinxcontrib-httpdomain/metadata.xml b/dev-python/sphinxcontrib-httpdomain/metadata.xml new file mode 100644 index 000000000000..d5752763cdfa --- /dev/null +++ b/dev-python/sphinxcontrib-httpdomain/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">sphinxcontrib-httpdomain</remote-id> + <remote-id type="github">sphinx-contrib/httpdomain</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.8.0.ebuild b/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.8.0.ebuild new file mode 100644 index 000000000000..d24e2b6f89a5 --- /dev/null +++ b/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Sphinx domain for documenting HTTP APIs" +HOMEPAGE="https://pypi.org/project/sphinxcontrib-httpdomain/ + https://github.com/sphinx-contrib/httpdomain" +SRC_URI=" + https://github.com/sphinx-contrib/httpdomain/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/httpdomain-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/bottle[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} |