commit:     df951c39cee302ea18827c2d3829efab0b2f2435
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 19 04:30:34 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 04:30:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df951c39

dev-python/griffe: Bump to 0.47.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/griffe/Manifest             |  1 +
 dev-python/griffe/griffe-0.47.0.ebuild | 45 ++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index daa10033bf24..a373fe8d0c63 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1 +1,2 @@
 DIST griffe-0.46.1.gh.tar.gz 232727 BLAKE2B 
c056cb47e7423931336db55b2871f7a0908e453abc930fe82ef5dce0dc38d2de223b4349547362d54f061d5cbc8f1c8802a7277f776ea4c7e6630794774865a2
 SHA512 
07ee210c8e3b9c814d5e419ac3bb2a37065ecdda26b9215fcbb3b87dcdd542d5a52de186c69542aa25c20eb70e2a21a6274dbd9c8e19650fe8a48f483c4efbdc
+DIST griffe-0.47.0.gh.tar.gz 233418 BLAKE2B 
cb31882f9ddd7210ac36eb400d182395b0da3cd37e38458f23582117aae4c83e9cd62a3dfb16067ec518a42ed6b4f6d9d77d6927be2ca462297c6420bcd25cd8
 SHA512 
d1d0603a81a8c859c67791ceeaf3c03a134ae221d7554b2a1133ed60a3ca85d157980b26c6930c282c50d9d46a02f26a44dffcfe0c1bd844a3f0ba58f2a1c52c

diff --git a/dev-python/griffe/griffe-0.47.0.ebuild 
b/dev-python/griffe/griffe-0.47.0.ebuild
new file mode 100644
index 000000000000..482500b13259
--- /dev/null
+++ b/dev-python/griffe/griffe-0.47.0.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..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 ~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
+)

Reply via email to