summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-17 08:00:20 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-17 09:34:55 +0200
commit8ad3b7a956634cff3b2947c9a0140d59123a37e5 (patch)
tree0e2e03c23c388e98957204781b31f7352d31e882 /dev-python/griffe
parentdev-python/pypdf: Bump to 3.12.2 (diff)
downloadgentoo-8ad3b7a956634cff3b2947c9a0140d59123a37e5.tar.gz
gentoo-8ad3b7a956634cff3b2947c9a0140d59123a37e5.tar.bz2
gentoo-8ad3b7a956634cff3b2947c9a0140d59123a37e5.zip
dev-python/griffe: Bump to 0.32.2
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.32.2.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index dc20588af284..c9da05211d2f 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -5,3 +5,4 @@ DIST griffe-0.30.1.gh.tar.gz 166243 BLAKE2B 7ae9820b63788d27b0078723a81443a45a52
DIST griffe-0.31.0.gh.tar.gz 165043 BLAKE2B 66db057df761f7ce6e68abbb48cbb793ffcafd437b4549c3e666c3fa1013f3d109367da437c755c487d52187a9b0618ded7dd099233f15827b8bb12b52027e77 SHA512 b644c9f9d7826fac52a9a2c84f67de61a597ad392854574c71ef548ef769625ff14003b40f8b5eff8ecd7dff9f3badadff2bc9805da238228c820d23b0625e80
DIST griffe-0.32.0.gh.tar.gz 177568 BLAKE2B 6b9b7530d619676d3d1f7921b5133a966b1adcaaf2807f94288d80de885ae5badef248e801af16ca796052213c878ef802dbdab7dcbefcb2bdb558755f1a2884 SHA512 b70b1b3f24a1f29cb49b6ecf23dd70cf836c371965108e5e3f1db043913a51b258bd839f9c6c90682e29c092b2ec09f364f416c480cf84651022472e62224b14
DIST griffe-0.32.1.gh.tar.gz 176567 BLAKE2B 20c044e7dd0b92db0b9b92c3dfb4e623438106cf17da210302c66f3adf43a16d6d88039dea6db193cda59897d08646d4059c837f228ca3aec04309a94325e182 SHA512 8385d1f035e1a884f8cbc7c167931c7ecdb74b44da50cc6a1e8b7398921aab3bfd2fb230f37df5aa18598d04b62185155bca49f85cee0f9c07569ae929ff8883
+DIST griffe-0.32.2.gh.tar.gz 176746 BLAKE2B 1ca95c62e1e5e3507d292c5bd6e837b8c41acf21f50472c7ebcbc3839ad43008c747d6942da60cc4f5de84115f5f76ad919c3c26e776c25eaf818084033b31c2 SHA512 04132681e16d64cf912a395b090f4ae61f2cad54c9be15f1d1a020675f945646a0895f76a828126da994b4e7cdf83f02b519e87992fd43bb50e7f3492d870247
diff --git a/dev-python/griffe/griffe-0.32.2.ebuild b/dev-python/griffe/griffe-0.32.2.ebuild
new file mode 100644
index 000000000000..c8d57610c9ff
--- /dev/null
+++ b/dev-python/griffe/griffe-0.32.2.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
+)