dev-python/pytkdocs: new package, add 0.16.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
12297d39f0
commit
7342c3bf67
1
dev-python/pytkdocs/Manifest
Normal file
1
dev-python/pytkdocs/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST pytkdocs-0.16.1.tar.gz 55806 BLAKE2B 5bec2f51681414b74c559df784e6c65bddcc72530e71a0f1bd8265eecfa3f99e3e38e7cf374ad17af8b33ef77374d7438e9c2bcb5936424715a793d7567a7319 SHA512 23d1cf0d40d3d549b1b2d4a6c45a97f0a48f92c18fd3563fd6377796ee2f9f804ff624943c0abf4275938cc83dd1a8c8358eda4fe745e887a95cb17a9e533756
|
15
dev-python/pytkdocs/metadata.xml
Normal file
15
dev-python/pytkdocs/metadata.xml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?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">pytkdocs</remote-id>
|
||||||
|
<remote-id type="github">mkdocstrings/pytkdocs</remote-id>
|
||||||
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="numpy-style">Numpy style support via <pkg>dev-python/docstring-parser</pkg>.</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
33
dev-python/pytkdocs/pytkdocs-0.16.1.ebuild
Normal file
33
dev-python/pytkdocs/pytkdocs-0.16.1.ebuild
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=pdm-backend
|
||||||
|
PYTHON_COMPAT=( python3_{10..13} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Load Python objects documentation"
|
||||||
|
HOMEPAGE="https://github.com/mkdocstrings/autorefs"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="numpy-style"
|
||||||
|
RESTRICT="test" # Test phase runs with fails
|
||||||
|
|
||||||
|
RDEPEND="numpy-style? ( >=dev-python/docstring-parser-0.7[${PYTHON_USEDEP}] )
|
||||||
|
$(python_gen_cond_dep '>=dev-python/astonparse-1.6[${PYTHON_USEDEP}]' python3_{7..9})
|
||||||
|
$(python_gen_cond_dep '>=dev-python/cached-property-1.5[${PYTHON_USEDEP}]' python3_{7..8})
|
||||||
|
$(python_gen_cond_dep '>=dev-python/typing-extensions-3.7[${PYTHON_USEDEP}]' python3_{7..8})
|
||||||
|
"
|
||||||
|
BDEPEND="test? (
|
||||||
|
>=dev-python/django-3.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/docstring-parser-0.7[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/marshmallow-3.13[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pydantic-1.8[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
Loading…
Reference in a new issue