commit: 77c4b6a22759488f484956e73990531bf3bb0fc3 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Tue Nov 26 08:06:37 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Tue Nov 26 08:08:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c4b6a2
dev-python/pdoc3: add 0.11.2 Closes: https://bugs.gentoo.org/944971 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-python/pdoc3/Manifest | 1 + dev-python/pdoc3/pdoc3-0.11.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/pdoc3/Manifest b/dev-python/pdoc3/Manifest index faddddc4258d..91f01e6c0839 100644 --- a/dev-python/pdoc3/Manifest +++ b/dev-python/pdoc3/Manifest @@ -1,2 +1,3 @@ DIST pdoc3-0.10.0-fix-deprecation-warnings.patch 1447 BLAKE2B 6a4c554f3e0d3b66927cef22ab87a07c0711e6b01203bc37e54097f29f4c2547bd6daf721fa8745f941b1c74cd122222ccf8896ab6174c6775a47703ac02d17b SHA512 73d91a8f0d5747cefb972e1a6a028216688fde2f92cd8e5c4139dcebacc4a825e86345c419af7ccf5682dc6458ea5b20fd45799896555a8acadebc61da549140 DIST pdoc3-0.10.0.tar.gz 86133 BLAKE2B 3bada6fb1b048c4eff7556108c29d7f92ee988332d160c4ff765c47bf0cf7a461ed90f93e7be25a7a3251f5d3e70492d23be7230a5ec4abb12612b7e0dd4b5b6 SHA512 646ffb9bceb4456a1ab36c840eb384858aab430443905bc71e62e9c71112a769b69e22cbd18a9d75b7968e2336cbbaa9072103f96dc2d0829ccc7515b057ca85 +DIST pdoc3-0.11.2.tar.gz 98522 BLAKE2B dcba7e5c039e2137f0c45bc8a481b5e797274e65f3a33130b2591bce666d13760d6437130fa1fd7b2bfed6a573cf70b767a092f024118f357c0ec5a5097da428 SHA512 8c558df8f5cb97713ed2b28c077912347ee3cf31affa96b54f25aa04a83f92cd667183a7e74c728cb97278c2e774efff479c68db09676d123babc19b2a9b42e8 diff --git a/dev-python/pdoc3/pdoc3-0.11.2.ebuild b/dev-python/pdoc3/pdoc3-0.11.2.ebuild new file mode 100644 index 000000000000..de7e59750db0 --- /dev/null +++ b/dev-python/pdoc3/pdoc3-0.11.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Auto-generate API documentation for Python projects" +HOMEPAGE="https://pdoc3.github.io/pdoc/" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/markdown-3.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -i \ + -e "/setuptools_git/d" \ + -e "/setuptools_scm/d" \ + setup.py || die +} + +distutils_enable_tests unittest
