commit:     b2136aa6490ea43eda395c5296f04b3d40ac7bc2
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Dec  4 11:44:11 2023 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Wed Dec  6 07:57:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b2136aa6

dev-python/sphinx-design: new package, add 0.5.0

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/sphinx-design/Manifest                  |  1 +
 dev-python/sphinx-design/metadata.xml              | 12 +++++++++
 .../sphinx-design/sphinx-design-0.5.0.ebuild       | 31 ++++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-python/sphinx-design/Manifest 
b/dev-python/sphinx-design/Manifest
new file mode 100644
index 0000000000..cbd0bc11f5
--- /dev/null
+++ b/dev-python/sphinx-design/Manifest
@@ -0,0 +1 @@
+DIST sphinx-design-0.5.0.gh.tar.gz 2588276 BLAKE2B 
2262c8ddcaf108307e2e9d3eab2bfa8e04b7bb891a19450f3c235e81043fe7f886ea74373bb7d8929f6c8fdeae57b7d6b50cd91a9c3a4894d3dc19fbd81ef458
 SHA512 
26369c17d519e9a8f6a4bfdb68db60599e33c1db867037fdced6292439a9fcbe6a312c2d17ada058b14c95878ced7679bf6b64d7d4f13194f19502cd9be93b69

diff --git a/dev-python/sphinx-design/metadata.xml 
b/dev-python/sphinx-design/metadata.xml
new file mode 100644
index 0000000000..b2816e5ae9
--- /dev/null
+++ b/dev-python/sphinx-design/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Gasc Henri</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">sphinx_design</remote-id>
+               <remote-id 
type="github">executablebooks/sphinx-design</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/sphinx-design/sphinx-design-0.5.0.ebuild 
b/dev-python/sphinx-design/sphinx-design-0.5.0.ebuild
new file mode 100644
index 0000000000..af65ddcaa4
--- /dev/null
+++ b/dev-python/sphinx-design/sphinx-design-0.5.0.ebuild
@@ -0,0 +1,31 @@
+# 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_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A sphinx extension for designing beautiful, view size responsive 
web components"
+HOMEPAGE="https://sphinx-design.readthedocs.io 
https://github.com/executablebooks/sphinx-design";
+SRC_URI="https://github.com/executablebooks/sphinx-design/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       <dev-python/myst-parser-3[${PYTHON_USEDEP}]
+       >=dev-python/furo-2022.06.04[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+       find "${S}/docs" -type f -exec sed -i 
's/sphinxcontrib.napoleon/sphinx\.ext\.napoleon/g' {} \;
+       rm -rf "${S}/tests"
+       use doc && HTML_DOCS="${S}/docs/_build/html"
+       distutils-r1_src_prepare
+}
+
+distutils_enable_sphinx docs --no-autodoc

Reply via email to