commit: d5751f066c399086cfc39f2786d1a6ac9a9c951c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 27 04:56:56 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 27 05:03:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5751f06
dev-python/griffe: Bump to 1.5.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/griffe/Manifest | 1 +
dev-python/griffe/griffe-1.5.4.ebuild | 49 +++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index 8f9dcf37b69a..fbd1fa01a8d8 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1 +1,2 @@
DIST griffe-1.5.1.gh.tar.gz 385601 BLAKE2B
0d38626937af61000d2e0e1520353b00b103b33eccb9dc356e93615d0a85cc3a23d51cf9967e98666fbebb81368486bd1c87731ee9ea4f102586cce56abe3002
SHA512
9c4edbba478adb480aff15590c2b2a0c9619298652f34606f872088b05a60ce39d2f3ae8ca6a60c6fdc03a1e7ac1c8ec3a0ac6bae21043d349b87edd95b8e500
+DIST griffe-1.5.4.gh.tar.gz 391756 BLAKE2B
61f027aaaff3a1476c74646322d01db4c7f1dc2cc6c70b5d6dc27c53b71967a2304870e916120e5777612f36ce3b208227e06824bb6b5a3db0216e1016f416c5
SHA512
fa924f62a03c94f1ad45cbbff8f38262b24883ff464e3c72bce08bcdfee0722aa54a84660894e2a75a7294a041d3c928e2ce2e210c8229951d0b7e8453c88351
diff --git a/dev-python/griffe/griffe-1.5.4.ebuild
b/dev-python/griffe/griffe-1.5.4.ebuild
new file mode 100644
index 000000000000..b3ab8d048238
--- /dev/null
+++ b/dev-python/griffe/griffe-1.5.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 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[${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
+)