summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-11 20:35:46 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-11 21:08:41 +0200
commitc481fb59602cf34e283a1ef6a4e40e476c9d2a8c (patch)
tree39029fc9626a5fa6c57ad6ee9d81d9724aa575b4 /dev-python
parent7c4dfa920e0d990e9a2c4dd298812c2dc627fc4e (diff)
downloadgentoo-c481fb59602cf34e283a1ef6a4e40e476c9d2a8c.tar.gz
gentoo-c481fb59602cf34e283a1ef6a4e40e476c9d2a8c.tar.bz2
gentoo-c481fb59602cf34e283a1ef6a4e40e476c9d2a8c.zip
dev-python/griffe: Bump to 1.11.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/griffe/Manifest1
-rw-r--r--dev-python/griffe/griffe-1.11.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index f728a397c135..0c65ba0fc737 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1,2 +1,3 @@
DIST griffe-1.10.0.gh.tar.gz 413051 BLAKE2B 261cfa96f1dd2e2157ff2ddedab50d4df500a05bb801a5f59da74279b6858a6c478933063ac0515892d9fae7298cb6a24d51479f722e9825b018b9fba0b50cc4 SHA512 ee7fc9aff2f0bfee6f8fbc07e2b6374a546ef9194c59c1d720d5930707dc6ae771c30119fd95345e3a93457bf8ce29155237eb6b5482fbc56f39a219b2dad948
DIST griffe-1.11.0.gh.tar.gz 413868 BLAKE2B 6e071d8f6ae816a6fa334c249e2ded1bcef63ff9846fb464c0ed95e55fa73b3155ce3d80d80af54f09317235bf71d269b927e0f3e57bbded6e0ba93a00ffd80f SHA512 86476488cbfd28a49b02eac668f26c7cd605b8273b90edfec30efc83dd6168398b48a581f5bf47191b8e70709966e9bd47a36cf3b2043643687780049fe26eaf
+DIST griffe-1.11.1.gh.tar.gz 413977 BLAKE2B 437c2c294c6cd1f7f891c3c9119cb76fb5d57d667505d1ac901b953a59f035594a6554a463292bd9e166c14eef89a1fdc7217f7994ce992c03d4f9cd68f0cfcb SHA512 a7a01a955c1a46420077915fee4b7b15253e20d519b659450b530fee0ac7c851e7b8f264676845d3c369b4964f3b9fdf4e4f0640e6cda1eb7d54b6a1a8fb4939
diff --git a/dev-python/griffe/griffe-1.11.1.ebuild b/dev-python/griffe/griffe-1.11.1.ebuild
new file mode 100644
index 000000000000..4accfcc3270d
--- /dev/null
+++ b/dev-python/griffe/griffe-1.11.1.ebuild
@@ -0,0 +1,46 @@
+# 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=( pypy3_11 python3_{11..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/mkdocstrings-0.28.0[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # fragile to installed packages
+ # (failed on PySide2 for me)
+ tests/test_stdlib.py::test_fuzzing_on_stdlib
+)
+
+export PDM_BUILD_SCM_VERSION=${PV}