summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-18 07:36:09 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-18 08:03:01 +0200
commit586c1e832a173284732773718119cd0c9dd8459d (patch)
tree5c2c818ffcd47eb09a41eb9ad20ed9757e401f15 /dev-python
parent72ae18b892389a77f29abf8a65158019e95421a1 (diff)
downloadgentoo-586c1e832a173284732773718119cd0c9dd8459d.tar.gz
gentoo-586c1e832a173284732773718119cd0c9dd8459d.tar.bz2
gentoo-586c1e832a173284732773718119cd0c9dd8459d.zip
dev-python/griffe: Bump to 0.32.3
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-0.32.3.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index 797a55b978ab..78ac0d442f8c 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1 +1,2 @@
DIST griffe-0.32.2.gh.tar.gz 176746 BLAKE2B 1ca95c62e1e5e3507d292c5bd6e837b8c41acf21f50472c7ebcbc3839ad43008c747d6942da60cc4f5de84115f5f76ad919c3c26e776c25eaf818084033b31c2 SHA512 04132681e16d64cf912a395b090f4ae61f2cad54c9be15f1d1a020675f945646a0895f76a828126da994b4e7cdf83f02b519e87992fd43bb50e7f3492d870247
+DIST griffe-0.32.3.gh.tar.gz 176939 BLAKE2B 291878054cac7d2fd4daea922c0439dd839611af7c425e838414d01fab76b4799adeff5fe14ed078172a38180d49c93ea4238b3256f1668d4daa2c74f68007a8 SHA512 cf163c9f873eff04d5c932a197a4768c14813d8e4aa5e0c5223544f7eb8c34b0b5eb3838c669a034c71b25c909b2857d88ddf40431b5604f86613c6b3c871aa5
diff --git a/dev-python/griffe/griffe-0.32.3.ebuild b/dev-python/griffe/griffe-0.32.3.ebuild
new file mode 100644
index 000000000000..c8d57610c9ff
--- /dev/null
+++ b/dev-python/griffe/griffe-0.32.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 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 ~riscv"
+
+RDEPEND="
+ >=dev-python/colorama-0.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/jsonschema-4.17.3[${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
+)