summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-09-02 05:00:33 +0200
committerMichał Górny <mgorny@gentoo.org>2023-09-02 05:22:17 +0200
commit6ebc68075ffbb96ad1ecbbd096f7e729808ce1f0 (patch)
tree111a4dad26cef2269f0d60082eda1e7fd24fe6c1 /dev-python/griffe
parentdev-python/sqlglot: add 18.1.0 (diff)
downloadgentoo-6ebc68075ffbb96ad1ecbbd096f7e729808ce1f0.tar.gz
gentoo-6ebc68075ffbb96ad1ecbbd096f7e729808ce1f0.tar.bz2
gentoo-6ebc68075ffbb96ad1ecbbd096f7e729808ce1f0.zip
dev-python/griffe: Bump to 0.36.0
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.36.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index 033347651607..4b59b0e6dc46 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -2,3 +2,4 @@ DIST griffe-0.34.0.gh.tar.gz 181554 BLAKE2B 67d9a453cbd4388e7eefce9613b58667fff1
DIST griffe-0.35.0.gh.tar.gz 184348 BLAKE2B eafd03d55091c960ae8686e0e1113ca266b1f980a00ebb12e252e54105dd10f56f1cb76de9fdba0ceefe2c8b7190f3aa1fe3557cac162e96b8ee408ce682f47d SHA512 9308c215232775e1355c7470006f611f1ec413cd7f24300fbc9a4b1b15108d4d20fb31e1be0ddd3b28d84862eb0409d0481a5744899a6db9ea9574987c37d86a
DIST griffe-0.35.1.gh.tar.gz 184480 BLAKE2B 9c2ba347d34ea428d56fe1bcd43b31d1518b2ac55082282ff66432837138fe26f1a61dc001c2c19e3400642b712b9ebea0987e541c0a1178653a6020bca0cf91 SHA512 e6d4b1fd670853eff5e74e2969d6e14e20809c7b859e2a8ec326855848807e066679ea09da6de04819a0f3ea79aa21bf6101c3e06b82bcb15dda6a3da5b8e4d9
DIST griffe-0.35.2.gh.tar.gz 185855 BLAKE2B 325449ae4619a293396e98c2109b765a1ef5e8c3653d3c1fdd1b051627f7d9893338c8b1778563835128d933ead369bd5eae5af72d2eaca8d6b217dde51f6dcd SHA512 c87987ea4c4887ba4d3e73a363b196214f0a2845c7b7a56ab38a090beca89a8ce544531e405478c74827e14b65a5522b7238e7446aff7396d1155b926e396590
+DIST griffe-0.36.0.gh.tar.gz 188450 BLAKE2B df47c19db7d9ca245843b6b3178de060dd319328e809156f0611cb97afa8bed4a8c82d1cd31b03e05147cd94ab88ecc3ea9e7491b65bd3efceaf711bd58d9de7 SHA512 d55b58f3ffa63c6450df045bc871309837f92079d60556a1a98f7a1420385b2bb6ca63d696b4c8780bf8386d6e1732662ef0bbb6237f0a8ff33d4f3bf8a5f263
diff --git a/dev-python/griffe/griffe-0.36.0.ebuild b/dev-python/griffe/griffe-0.36.0.ebuild
new file mode 100644
index 000000000000..c8d57610c9ff
--- /dev/null
+++ b/dev-python/griffe/griffe-0.36.0.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
+)