summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-02-12 05:01:07 +0100
committerMichał Górny <mgorny@gentoo.org>2025-02-12 05:08:27 +0100
commitaf4fae6f2e4b482a93c0afe52949e790b7cb33d7 (patch)
tree31d4f515981a2520f87fce7ffd66f30830fb248b
parentd9bf32f41fc626c3ea1e751c98b6cf2c34c910c5 (diff)
downloadgentoo-af4fae6f2e4b482a93c0afe52949e790b7cb33d7.tar.gz
gentoo-af4fae6f2e4b482a93c0afe52949e790b7cb33d7.tar.bz2
gentoo-af4fae6f2e4b482a93c0afe52949e790b7cb33d7.zip
dev-python/griffe: Bump to 1.5.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/griffe/Manifest1
-rw-r--r--dev-python/griffe/griffe-1.5.7.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index caa7f7072ea7..e02e8ea12c51 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1 +1,2 @@
DIST griffe-1.5.6.gh.tar.gz 393058 BLAKE2B f1c425e2f256e14e19e1b9c0e93e46d3fdcc79c82285c2163cacafc2dc0ff326805222f7097f28d7690ffbbd248733603387b3db16c068d581979bc18447fa11 SHA512 a65ed6569503e4b2b57bd7779e3f8b3d46266cf4c0dceeddf6b60db6479d417bb9527a99968e2913b153e45ed9f060d47c2497863daac6b413c10baf95756590
+DIST griffe-1.5.7.gh.tar.gz 393455 BLAKE2B d294a62e131ce5276c52e3f11adef5081c10131156cdb3c112761569d3776091e1c1dfea445252cc3595572baf1caab416ff510d89f84a4511d147f1aa36b762 SHA512 cfea773780a645f92f8ad32b0f2e682561f63cf3082f2e24bd1f944f1a907b35db15883cb7df726d34e03373e73fe5e855f3d00a455cc01cac265bced822b4ed
diff --git a/dev-python/griffe/griffe-1.5.7.ebuild b/dev-python/griffe/griffe-1.5.7.ebuild
new file mode 100644
index 000000000000..9b75031cdcd0
--- /dev/null
+++ b/dev-python/griffe/griffe-1.5.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Signature generator for Python programs"
+HOMEPAGE="
+ https://mkdocstrings.github.io/griffe/
+ https://github.com/mkdocstrings/griffe/
+ https://pypi.org/project/griffe/
+"
+# Tests need files absent from the PyPI tarballs
+SRC_URI="
+ https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+ >=dev-python/colorama-0.4[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+BDEPEND="
+ test? (
+ >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+EPYTEST_DESELECT=(
+ # fragile to installed packages
+ # (failed on PySide2 for me)
+ tests/test_stdlib.py::test_fuzzing_on_stdlib
+)