summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mkdocstrings-python')
-rw-r--r--dev-python/mkdocstrings-python/Manifest1
-rw-r--r--dev-python/mkdocstrings-python/mkdocstrings-python-1.5.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest
index 2c618af20185..46d89708efdb 100644
--- a/dev-python/mkdocstrings-python/Manifest
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -1,2 +1,3 @@
DIST mkdocstrings-python-1.5.0.gh.tar.gz 134827 BLAKE2B 8af0d4497a93c9064a4413ea88efe54461a56bfe58980162467c65ce20c612a15cd59334499c98ca6d2ad99f1c4bff3ad7feef0ddb654d4c171462169903d34a SHA512 99fd4db1541c48317e3bb7a8a4600cb358e938d506eb85773cd9d52de220a444a508df5b5ab7f5346f2680a2c2aa2f7c9635e62adc4fbc53e7500f1aaf6bc079
DIST mkdocstrings-python-1.5.1.gh.tar.gz 135102 BLAKE2B 06da82fd75b5f4311e98316037f073bbfc176fb50b2676a43dc43c6d819574d4ad724bffa75ce4f765858fdb8042f8802c607e6093121920b48bf3db4b130c17 SHA512 01b5e78bb9ff3d0325ce96f1bf44d2f0da5809db925ca93db43b210da867c8a31b7c68329a4d11345283b170e34cbd50a11b7e5364ab1d9cbc074a1aa9f792d7
+DIST mkdocstrings-python-1.5.2.gh.tar.gz 135238 BLAKE2B 09885164675a0955dcbef0a17871a6d19dbbfc9a7d6114a46e23dbb5a2428e7d46ffe626ecab10939934c06817892cde0e3e3db592776f7fb25dcdbdf8473a85 SHA512 0f069b07cb681ad470947dd02996e783ee809f34418316e8929322f20304dddab7049bc5dc0874e0b4ff6f6af6d958bbb69a4c61515d56cc716a774a1957f51e
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.5.2.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.5.2.ebuild
new file mode 100644
index 000000000000..f0b94cc2c39d
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.5.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+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 ~riscv"
+
+RDEPEND="
+ >=dev-python/griffe-0.35[${PYTHON_USEDEP}]
+ dev-python/mkdocstrings[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+export PDM_BUILD_SCM_VERSION=${PV}