summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-19 08:01:21 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-19 08:44:38 +0200
commitd5579f9a4e43fd39da2636ed6c3c29b70aa40a92 (patch)
tree8bef29abbbe9a0fb37e586cf9b1d9dfd7c3ee794 /dev-python/mkdocstrings-python
parentdev-python/pydantic-core: Bump to 2.6.1 (diff)
downloadgentoo-d5579f9a4e43fd39da2636ed6c3c29b70aa40a92.tar.gz
gentoo-d5579f9a4e43fd39da2636ed6c3c29b70aa40a92.tar.bz2
gentoo-d5579f9a4e43fd39da2636ed6c3c29b70aa40a92.zip
dev-python/mkdocstrings-python: Bump to 1.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
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.4.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest
index 079a5b4942cd..745ae4a94932 100644
--- a/dev-python/mkdocstrings-python/Manifest
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -1,2 +1,3 @@
DIST mkdocstrings-python-1.2.1.gh.tar.gz 132468 BLAKE2B 287cae20510818c085bf505fea0f74e39df86538e19bfcb90aa7f6d46fb237158979dc65c7f955d73461fadb4ed35263ef47b9771f224b5793026a9f0b3c86e1 SHA512 147849a88c3bb5347c1cb4293c9ee9c54cb33933bc274dc5bc933f72deb64016c7f7b8ba817311e282c68606d0980571d5713dec7a47e8d6c51168d524af7d97
DIST mkdocstrings-python-1.3.0.gh.tar.gz 132776 BLAKE2B 894068067f301f40ed9535cd929fdbd40aa396c9c09c0cee7887f50669465cd0422c0b9b240553193df7e7d4c90f0bf2b591000e6568ee3c47256fc5d1f79179 SHA512 caf806d6285281ef84ed78bd6295ec6732d454a602f55f825436d0a17e9ab62e33ac21510d0ccee5d33fb3c117ec416859ad90ce75d608649a277342d1dc5a1c
+DIST mkdocstrings-python-1.4.0.gh.tar.gz 133783 BLAKE2B 6f9f0e157f9b9baa097366690c46e6fd3b8a2a7626eb3cc2c182a37ebb8d9fca55d8eb040f4c43aa1ef52c956e4d258c51a427ce7e7e04eec97d1ab32a2355f6 SHA512 c949180cc3fcfa809fad00374de9030ef6f2f8061251cf0e5857272908fdf9db6626d1f8c8de2a438dd8f7a5256b9e5daa2930519a4ab6324039b6555f547f6b
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.4.0.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.4.0.ebuild
new file mode 100644
index 000000000000..045b30f98097
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.4.0.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.33[${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}