commit: ca6073805c3875acf0938e0061945547bfe26772
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 03:25:06 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 24 04:03:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca607380
dev-python/griffe: Bump to 0.45.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/griffe/Manifest | 1 +
dev-python/griffe/griffe-0.45.2.ebuild | 45 ++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index 28297bf04ffc..ac59d907c361 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1,2 +1,3 @@
DIST griffe-0.45.0.gh.tar.gz 230227 BLAKE2B
9baaf356fe766ffa4537329955dd889e464e9d4521c8c3c35121a8b447de3d1ce6f9a5f91c6141af2bf4aeae02fad478155a705069957570036c53a40061e69f
SHA512
36eb1bb70aa9b7888506c6ad13b8d4dadbccfce4d63924eddd3d4d90936c8b2588edbac9181fcd6e649a5945213402da63df8eb753c46db3db94e36ae5df4435
DIST griffe-0.45.1.gh.tar.gz 230569 BLAKE2B
0b0d7aa1de981befa9af63bfbdd14ee28c026cbfe1fbf4c852d5ede23201bc7d38491c732681a217546fbb002b995956576496e4815d0d3c014d66f64f7bae80
SHA512
f5b1e69e53735ee7a51f581611dba4d321ed0128c759f47a32712de4c4a109326478c62f4e91d453acfb3126258fa486a04189991cf9e7c69be3925790598306
+DIST griffe-0.45.2.gh.tar.gz 230750 BLAKE2B
f81d62232bc4812c68130dc8a060541f143a7762f0e3c9051731f376a61926b7bd3bd32bd7e00d03c5eaa5eeab49c42d29a8045ddd9594f6637f5814c9ce37da
SHA512
d77709281e669eef88fa4c3190f74c862b2de4a9e3b3d0b6bfe6e9df8a608b5dbd92dacf118ffbad98948dc27e190506e9527f994a398fdc635a47fbe5470050
diff --git a/dev-python/griffe/griffe-0.45.2.ebuild
b/dev-python/griffe/griffe-0.45.2.ebuild
new file mode 100644
index 000000000000..482500b13259
--- /dev/null
+++ b/dev-python/griffe/griffe-0.45.2.ebuild
@@ -0,0 +1,45 @@
+# 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}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/jsonschema-4.17[${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
+)