summaryrefslogtreecommitdiff
path: root/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-05-16 05:37:44 +0200
committerMichał Górny <mgorny@gentoo.org>2024-05-16 05:37:44 +0200
commitde12333bc76e39f47126e685a2b23409b6e2a9c0 (patch)
tree716239461b8919b7450b65c5070d98a8d9056fcd /dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild
parent14f19b640fbb541d2ef145b612e0d3983d7113d0 (diff)
downloadgentoo-de12333bc76e39f47126e685a2b23409b6e2a9c0.tar.gz
gentoo-de12333bc76e39f47126e685a2b23409b6e2a9c0.tar.bz2
gentoo-de12333bc76e39f47126e685a2b23409b6e2a9c0.zip
dev-python/mkdocstrings-python: Bump to 1.10.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild')
-rw-r--r--dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild
new file mode 100644
index 000000000000..ebaa96b08803
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=pdm-backend
+
+inherit distutils-r1
+
+DESCRIPTION="Python handler for dev-python/mkdocstrings"
+HOMEPAGE="
+ https://mkdocstrings.github.io/python/
+ https://github.com/mkdocstrings/python/
+ https://pypi.org/project/mkdocstrings-python/
+"
+# Tests need files absent from the PyPI tarballs
+SRC_URI="
+ https://github.com/mkdocstrings/python/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/python-${PV}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+ >=dev-python/griffe-0.44[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-0.25.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+export PDM_BUILD_SCM_VERSION=${PV}