summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-01-30 07:43:48 +0100
committerMichał Górny <mgorny@gentoo.org>2026-01-30 08:03:59 +0100
commitae78de7dec69acadcd502b2cf3a05d33f654062e (patch)
tree0d034bd0da93adbf5fffd272b6417054653c4472 /dev-python
parent2f83219b130355855b322f57edbaaa30e54faf10 (diff)
downloadgentoo-ae78de7dec69acadcd502b2cf3a05d33f654062e.tar.gz
gentoo-ae78de7dec69acadcd502b2cf3a05d33f654062e.tar.bz2
gentoo-ae78de7dec69acadcd502b2cf3a05d33f654062e.zip
dev-python/sphinxcontrib-trio: Bump to 1.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sphinxcontrib-trio/Manifest1
-rw-r--r--dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.2.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-trio/Manifest b/dev-python/sphinxcontrib-trio/Manifest
index 4a31a932f9f5..3479fed1e2f0 100644
--- a/dev-python/sphinxcontrib-trio/Manifest
+++ b/dev-python/sphinxcontrib-trio/Manifest
@@ -1 +1,2 @@
DIST sphinxcontrib-trio-1.1.2.tar.gz 24131 BLAKE2B 5ddaf5ed6c85905275e206fdd966745ce4dd7296595c488864df291cb7202725ccab722f306dd9d6c27d660f5cb3e43bf9ab2fe50e8aa5a7232c2615dddbdfd0 SHA512 cb90f37f463fbdd3f810eb6d76b4bdaaabe83317de0ad747fcee55980849d691e272884ecdfcbee58851cf536f268f2520caba281d7550fe3250e92c69164434
+DIST sphinxcontrib_trio-1.2.0.tar.gz 25473 BLAKE2B 249de6287593a8ef840e1555e719ebe81ae1306ddd0efdca219dd97f915965b16b055b0d86d8fb1db7fac8569c4e64ff47eb63acf0e289d58de632ae97a5a662 SHA512 6f9aae3ffc75e7124f22c90dad39d06e1d89984970a0f1135907e92f920317213e2cf918b45739644b2301100051fc2be490346eb71e82a63edd24c69122930e
diff --git a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.2.0.ebuild b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.2.0.ebuild
new file mode 100644
index 000000000000..0010fcc187a9
--- /dev/null
+++ b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{12..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Make Sphinx better at documenting Python functions and methods"
+HOMEPAGE="
+ https://github.com/python-trio/sphinxcontrib-trio
+ https://pypi.org/project/sphinxcontrib-trio/
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/sphinx[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/cssselect[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ )
+"
+
+# AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
+#distutils_enable_sphinx docs/source
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # https://github.com/python-trio/sphinxcontrib-trio/issues/260
+ tests/test_sphinxcontrib_trio.py::test_end_to_end
+ )
+
+ local -x PYTHONPATH="${BUILD_DIR}/install$(python_get_sitedir)"
+ epytest
+}