summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-08 19:34:49 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-08 19:55:22 +0100
commitdf731b610431445557cb173fa99c74e360ad8a6e (patch)
tree32cb2ff60e4bd40d067f836103cbc5d4b781a488 /dev-python/griffe
parentdev-python/ipywidgets: Bump to 8.1.2 (diff)
downloadgentoo-df731b610431445557cb173fa99c74e360ad8a6e.tar.gz
gentoo-df731b610431445557cb173fa99c74e360ad8a6e.tar.bz2
gentoo-df731b610431445557cb173fa99c74e360ad8a6e.zip
dev-python/griffe: Bump to 0.40.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/griffe')
-rw-r--r--dev-python/griffe/Manifest1
-rw-r--r--dev-python/griffe/griffe-0.40.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index 2d97ab75c978..121cbd372f21 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -2,3 +2,4 @@ DIST griffe-0.38.1.gh.tar.gz 201135 BLAKE2B cdd1b7a24bb1afa6cdf68cffa696b8a19886
DIST griffe-0.39.0.gh.tar.gz 214713 BLAKE2B e27015592ffc1a817c6236ae7a242f4968ba7ad2c649541bad9c6c31ba0459df4d7122382a6a776117bf80afb563f50a736d3d6851fcceed3113ac8372af0969 SHA512 b872c929f5dd32d7c63f3f199755c8b1e4b9bae05b21b3c4a477f3ba94ca24170907faf0d4e878b43403f448f6d067300d80e612633d801f993f5e13187f572f
DIST griffe-0.39.1.gh.tar.gz 215601 BLAKE2B b6c1d4de8e01a57b6a3d48370228184332e2cb6fe298e7ca1b798b25b49995df8e9a096903f2ea942d534af4c310953d28be77c48c6406ce0096a586173a4e4f SHA512 877989570e0981e37f106c22b7fdb1cebb4847730eea3aaead5ca3647c0af97d2491c7d4afb29f9d5c2f5257349549169c70b47fa323881229eb696dcba34b73
DIST griffe-0.40.0.gh.tar.gz 216145 BLAKE2B a85d765e2692b3bcbf75c02b4fee8867bf5cc0b8bc4aa5941f0407404949f6e3ca372cd00aa76bacbc994edc4f70b7bf25d95ab773993dd08d0885377f1a8003 SHA512 4b52e6f0df988f2c225cef6cbf913a858fd2f09c1ebfc3e1a9cf984aa0d362ed6768322a32fcaa43fdc8bd4dfa0f8ed25bee5b2721e47a38d2962cc5a712e114
+DIST griffe-0.40.1.gh.tar.gz 216435 BLAKE2B 0b2e304db94dadd113e72fd49d593a56fb4a115d18bde46a76f27a28e44d7efc7620e0782eb9960a32278c63ca79c7a499a5214cc3856794dc9d89c4333f44ec SHA512 6e7d3d120cee4270f6455ac46a43e03da7f77e6b8c2776eea3a49d0809737cdebf24ca413d1fb05c025b820d5dd55717781d33749b29dc60edcfa5848c890d7b
diff --git a/dev-python/griffe/griffe-0.40.1.ebuild b/dev-python/griffe/griffe-0.40.1.ebuild
new file mode 100644
index 000000000000..73f99c53e1af
--- /dev/null
+++ b/dev-python/griffe/griffe-0.40.1.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
+)