summaryrefslogtreecommitdiff
path: root/dev-python/sphinx-tabs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-15 22:41:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-15 22:41:20 +0100
commit7a0f8a92967dc1c6eab8d6f66ec476905009a287 (patch)
treeb73eed0b6ba49f9ca7e90538a00999ac22531f9c /dev-python/sphinx-tabs
parent35d4e80ab08982deb97a95d1b47156c67b268492 (diff)
gentoo auto-resync : 15:07:2023 - 22:41:20
Diffstat (limited to 'dev-python/sphinx-tabs')
-rw-r--r--dev-python/sphinx-tabs/Manifest1
-rw-r--r--dev-python/sphinx-tabs/sphinx-tabs-3.4.1-r1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/sphinx-tabs/Manifest b/dev-python/sphinx-tabs/Manifest
index 181ac741f8d1..f497078adfc1 100644
--- a/dev-python/sphinx-tabs/Manifest
+++ b/dev-python/sphinx-tabs/Manifest
@@ -1,3 +1,4 @@
DIST sphinx-tabs-3.4.1.gh.tar.gz 524071 BLAKE2B 5aecb9c22a298c1347bf82cbbc16709f3f6cd38b0f0f6e4948411f1fdd79ba17d3e75178b8c092df7b8abc812dd4b0102879774708552a062aad0fe0b0653717 SHA512 b6079d3ae91479d40aaf35926226eb7dd783de7cec0e721cb13a036fc520bb3afda0dffb0669dc5054fc665125c3620261b1ea7ffe685d5b177bc980e3b4d7e4
+EBUILD sphinx-tabs-3.4.1-r1.ebuild 1162 BLAKE2B ea9354de52dc5777625e55d3cdcb062fd3ce8e1450faf12e6fcd9f1b8e581559df713e46aaafa7f5aab730172cf1ad24617469517e053e38fe8a5290efd363f7 SHA512 c96d6519db7b917fdcffa1769ff45898df36ae483a2374d08c637914512274ce63e666b761aeef4864a70afaa707caecc9aba3a5299be89a470a8af87e4613f8
EBUILD sphinx-tabs-3.4.1.ebuild 1327 BLAKE2B 04c1bbc5e14da69d5ca528273f886709218ee41e86f49e437b1aeb394be9d561898226e4b8f0327dbbf1968bc9f9c28ae3db7ff7874aad974a64ac44e86d7e1f SHA512 9b9d00f17965aa26817845a5534c80b161e316a14231d81fe1940efd675c7cfede80573dd48cc6f874f94b71511533984a8e451944ef512ae4dd3290bb144143
MISC metadata.xml 384 BLAKE2B 30013053128e39ca868d7643acbb5da9b87ba83f5fb6657a57dcee48d7322d72d7e7dd5e0d9e27a6b352c968a83f8e71b1c9ca56229fa5fe1eae0641d523a4e6 SHA512 0889534d054123371736de66f805503feab4737fc8b5cf7aa65bbd6f68528f4e871f7c540709b8c34b2d011bd89d889bb94c275e0900f9b3f3701e1628d7a9ee
diff --git a/dev-python/sphinx-tabs/sphinx-tabs-3.4.1-r1.ebuild b/dev-python/sphinx-tabs/sphinx-tabs-3.4.1-r1.ebuild
new file mode 100644
index 000000000000..6980b27acb71
--- /dev/null
+++ b/dev-python/sphinx-tabs/sphinx-tabs-3.4.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Tabbed views for Sphinx"
+HOMEPAGE="
+ https://github.com/executablebooks/sphinx-tabs/
+ https://pypi.org/project/sphinx-tabs/
+"
+SRC_URI="
+ https://github.com/executablebooks/sphinx-tabs/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/pytest-regressions[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+
+EPYTEST_DESELECT=(
+ # Unpackaged rinohtype
+ tests/test_build.py::test_rinohtype_pdf
+)
+
+src_prepare() {
+ # annoying, incorrect version limitations
+ sed -i -e '/install_requires/d' setup.py || die
+
+ distutils-r1_src_prepare
+}