commit:     900b40b1f919b96e2b24c8b270fc3af916905f74
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 22 17:10:05 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 18:49:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900b40b1

dev-python/sphinxcontrib-httpdomain: new package, add 1.8.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/sphinxcontrib-httpdomain/Manifest       |  1 +
 dev-python/sphinxcontrib-httpdomain/metadata.xml   | 13 +++++++
 .../sphinxcontrib-httpdomain-1.8.0.ebuild          | 41 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-python/sphinxcontrib-httpdomain/Manifest 
b/dev-python/sphinxcontrib-httpdomain/Manifest
new file mode 100644
index 000000000000..03a69a475880
--- /dev/null
+++ b/dev-python/sphinxcontrib-httpdomain/Manifest
@@ -0,0 +1 @@
+DIST sphinxcontrib-httpdomain-1.8.0.gh.tar.gz 38228 BLAKE2B 
46cbe5ef0689777ef560c167c49af5830e38c7efa3a536dd36702114eb87f3c0f2f1c0c9de808738ef081e09c7d47754bc49a039b04184696ee4389acbf18454
 SHA512 
64d916d58282e94a4fa2b2d0e8abad5c50106b739e6e15015d347af339f517c2c7457c9bc8dc74258cfc371910d1a02b582a2c94f6f98c195a366f68c5b108c4

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>[email protected]</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
+}

Reply via email to