summaryrefslogtreecommitdiff
path: root/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-23 06:38:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-23 06:38:18 +0000
commitafa7247aebdd5fe92a6edacc31d876f8ec8998b8 (patch)
tree0349480c1854f450c29ebcef5da46a82e792d52a /dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.ebuild
parent9f40bcb784b88bd0ec3035a3148c3f87fdb8d8d1 (diff)
downloadbaldeagleos-repo-afa7247aebdd5fe92a6edacc31d876f8ec8998b8.tar.gz
baldeagleos-repo-afa7247aebdd5fe92a6edacc31d876f8ec8998b8.tar.xz
baldeagleos-repo-afa7247aebdd5fe92a6edacc31d876f8ec8998b8.zip
Adding metadata
Diffstat (limited to 'dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.ebuild')
-rw-r--r--dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.ebuild
new file mode 100644
index 000000000000..fd3680096503
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.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_{8,9,10,11,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}