commit:     e2ba0e612751addc8e17f8feaf1aec09b65fa168
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 16:26:47 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 17:48:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2ba0e61

dev-python/griffe: Bump to 0.41.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/griffe/Manifest             |  1 +
 dev-python/griffe/griffe-0.41.0.ebuild | 45 ++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index a3207492b0c9..3200b3b55e52 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1 +1,2 @@
 DIST griffe-0.40.1.gh.tar.gz 216435 BLAKE2B 
0b2e304db94dadd113e72fd49d593a56fb4a115d18bde46a76f27a28e44d7efc7620e0782eb9960a32278c63ca79c7a499a5214cc3856794dc9d89c4333f44ec
 SHA512 
6e7d3d120cee4270f6455ac46a43e03da7f77e6b8c2776eea3a49d0809737cdebf24ca413d1fb05c025b820d5dd55717781d33749b29dc60edcfa5848c890d7b
+DIST griffe-0.41.0.gh.tar.gz 216110 BLAKE2B 
ce7865bc38afc60b61ca530937599a25a45e5eb1ed905d989558da39246bf4fd75cf109f8158cd11a1d83c5d369a30d15fda1fa2d301b6ce0b54f198e21284a3
 SHA512 
48fbe053755027dca9c5cb00ed9eff07667114585381a4ff017de508bcd555a54ea457c652719d43e28878eef26a985517d4b14d4992a8681d60be9090507814

diff --git a/dev-python/griffe/griffe-0.41.0.ebuild 
b/dev-python/griffe/griffe-0.41.0.ebuild
new file mode 100644
index 000000000000..73f99c53e1af
--- /dev/null
+++ b/dev-python/griffe/griffe-0.41.0.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..12} )
+
+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
+)

Reply via email to