summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-27 04:27:42 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-27 04:27:56 +0200
commit0f5bab73ac9c85f9fa0d4652c62f388c9cd1d361 (patch)
treec8cd08144c2407f393eff924c0df93f274e0aced /dev-python
parent34ebee66e4510d2c8f063da44227329b6e1772b1 (diff)
downloadgentoo-0f5bab73ac9c85f9fa0d4652c62f388c9cd1d361.tar.gz
gentoo-0f5bab73ac9c85f9fa0d4652c62f388c9cd1d361.tar.bz2
gentoo-0f5bab73ac9c85f9fa0d4652c62f388c9cd1d361.zip
dev-python/griffe: Bump to 1.13.0
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.13.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index c87695bf7fcc..c7b00e517b8e 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1 +1,2 @@
DIST griffe-1.12.1.gh.tar.gz 414545 BLAKE2B b36e0cbfbd21bb300428b7f67e71535aed9674ab000d00963de450d86e40175ccd94590310f849da34d634d7bcc002718a03bbd58376393d43f0e2a9b06867bb SHA512 87758d04410307635a23a25f84bbada28b588ea134d3d70ce106b7f2bdc2ac9e176c79fc7a25597aa3ca0fec379c8c0d18b393a977a96d1534230cb423db7ac9
+DIST griffe-1.13.0.gh.tar.gz 415295 BLAKE2B 7aa996ec7edf516cb402f1d3b2619bccd056876a65d325ca636870e657c82ca5a415b42b797f382f135289fc75e83a0efb9c1543bdc01e3333c9256e5b2dc4c5 SHA512 e0636eb3103ba40e09e244db30e56197dd954e097d86a6d09c61287242b25e896e16bcc6b4f63309717c51e30f2ae4fd1c4919e9d3341bb5e3160f7ae2f90303
diff --git a/dev-python/griffe/griffe-1.13.0.ebuild b/dev-python/griffe/griffe-1.13.0.ebuild
new file mode 100644
index 000000000000..4accfcc3270d
--- /dev/null
+++ b/dev-python/griffe/griffe-1.13.0.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}