commit: 90a6bfa0323a239bcb9e72547374330b1d807713
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 18:34:55 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 19:19:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a6bfa0
dev-python/griffe: Bump to 1.0.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/griffe/Manifest | 1 +
dev-python/griffe/griffe-1.0.0.ebuild | 49 +++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index b1abc34180ce..72a2d12b5046 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1,3 +1,4 @@
DIST griffe-0.47.0.gh.tar.gz 233418 BLAKE2B
cb31882f9ddd7210ac36eb400d182395b0da3cd37e38458f23582117aae4c83e9cd62a3dfb16067ec518a42ed6b4f6d9d77d6927be2ca462297c6420bcd25cd8
SHA512
d1d0603a81a8c859c67791ceeaf3c03a134ae221d7554b2a1133ed60a3ca85d157980b26c6930c282c50d9d46a02f26a44dffcfe0c1bd844a3f0ba58f2a1c52c
DIST griffe-0.48.0.gh.tar.gz 370711 BLAKE2B
197da160c0e20d9669a5347fbf256db58c5a3e5e33094ddd104ae02ac9112d2daa17778ba64bc6611117a7d20af42b1b3e4101b3ec56ef8cc0dc2297d6d38a3a
SHA512
3b999fbd05b206c973fe5dc7c89500f2fbfe9376529d0b5cc1714dee30f2a17985e4ed6903e638e0b96600e546747f105cab11620190185c133c53dd1df9a364
DIST griffe-0.49.0.gh.tar.gz 377617 BLAKE2B
3c30ff5a0b222d462d4b74ab1f4b1545dce04a10f3cef460a752edc33743d638a4fc7aa5b2db39c611b1908035f9bf4c283dec00bf4bc513ca951df261c657e2
SHA512
6f1e3634bb2bff730e1ea38f90d161c7d8882f234d4ad0e36c18357575a31575b87bfac80867ec695cf668b31da9995e41a64b97d970fc2f4ab499974c43d00e
+DIST griffe-1.0.0.gh.tar.gz 378841 BLAKE2B
a71007a09585b1ef0b17c867177f01e0e38984075f1450a6957a65427c3b9fb2486bbf7fa0b41f3c8ce289003e514eeaaefe0b679181d843a8b57befca39a8b4
SHA512
5a286c293f39b0df185345c00954d61e130cf3942aa8dede56180330dff5150043d77bf48ef14bc01c8b1af0af19de8651344d3f3a8fbf850ece1c4c04d17513
diff --git a/dev-python/griffe/griffe-1.0.0.ebuild
b/dev-python/griffe/griffe-1.0.0.ebuild
new file mode 100644
index 000000000000..97705a5b02ee
--- /dev/null
+++ b/dev-python/griffe/griffe-1.0.0.ebuild
@@ -0,0 +1,49 @@
+# 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..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 ~riscv"
+
+RDEPEND="
+ >=dev-python/colorama-0.4[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+BDEPEND="
+ test? (
+ >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}]
+ dev-python/mkdocstrings[${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
+)