dev-python/mkdocstrings-python-legacy: new package, add 0.2.3

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-08-21 14:27:30 +02:00
parent 4dfa66a110
commit 8227f5e799
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST mkdocstrings-python-legacy-0.2.3.tar.gz 18779 BLAKE2B 0ad237760b60030e6aabb1fcdddac12b936a839e182203ebab79224d925cffd804bbb3e229c71518717359fc7ae10e5286b67a1213e12e5d4ba7ff86cb49b6cc SHA512 c72c9b010f64dfe2ebe60707985fafbdff6d92e393f72e4f9dcd4803c65935fec952f9ace8d25f52ca7714be187236b75d1a8cc55c786c8c68a52e9923143cf9

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>universebenzene@sina.com</email>
<name>Astro Benzene</name>
</maintainer>
<upstream>
<remote-id type="pypi">mkdocstrings-python-legacy</remote-id>
<remote-id type="github">mkdocstrings/python-legacy</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,34 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="A legacy Python handler for mkdocstrings"
HOMEPAGE="https://mkdocstrings.github.io/python-legacy"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64" # mkdocstrings no x86
RDEPEND=">=dev-python/mkdocstrings-0.19[${PYTHON_USEDEP}]
>=dev-python/pytkdocs-0.14[${PYTHON_USEDEP}]
!dev-python/mkdocstrings-python
"
BDEPEND="
test? ( dev-python/mkdocs-material[${PYTHON_USEDEP}] )
"
distutils_enable_tests pytest
python_prepare_all() {
sed -i 's/-expression//' pyproject.toml || die
use test && { mkdir -p "${S}"/docs || die ; }
distutils-r1_python_prepare_all
}