From 34556049075dce797a41befcc8ecdf96b983bf5e Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 3 Nov 2022 13:26:00 +0100 Subject: dev-python/docstring-to-markdown: new package, add 0.10 Signed-off-by: Andrew Ammerlaan --- dev-python/docstring-to-markdown/Manifest | 1 + .../docstring-to-markdown-0.10.ebuild | 26 ++++++++++++++++++++++ dev-python/docstring-to-markdown/metadata.xml | 12 ++++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-python/docstring-to-markdown/Manifest create mode 100644 dev-python/docstring-to-markdown/docstring-to-markdown-0.10.ebuild create mode 100644 dev-python/docstring-to-markdown/metadata.xml (limited to 'dev-python') diff --git a/dev-python/docstring-to-markdown/Manifest b/dev-python/docstring-to-markdown/Manifest new file mode 100644 index 000000000000..2ef9da48574a --- /dev/null +++ b/dev-python/docstring-to-markdown/Manifest @@ -0,0 +1 @@ +DIST docstring-to-markdown-0.10.gh.tar.gz 24732 BLAKE2B 8e45db90642a1426da138807d4f8b8147fbf125160463a094f5adfc8e0d76f75b39493560df7cadf39e9b63c1e01763867fff38aac6454d4d7bc7ebea8d873f8 SHA512 cb716fbaa8311bd563f9275eb64bb67d2870803a6c6c6ffce7b15b672260b46359008dc9ff80a99fee3033f3105fdfd77d7a248e7d8a22df695af820eba8e319 diff --git a/dev-python/docstring-to-markdown/docstring-to-markdown-0.10.ebuild b/dev-python/docstring-to-markdown/docstring-to-markdown-0.10.ebuild new file mode 100644 index 000000000000..ada1bafbe9c4 --- /dev/null +++ b/dev-python/docstring-to-markdown/docstring-to-markdown-0.10.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="On the fly conversion of Python docstrings to markdown" +HOMEPAGE="https://github.com/python-lsp/docstring-to-markdown" +SRC_URI="https://github.com/python-lsp/docstring-to-markdown/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +python_prepare_all() { + # Do not depend on pytest-cov/pytest-flake8 + sed -e '/--cov/d' -e '/--flake8/d' -i setup.cfg || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/docstring-to-markdown/metadata.xml b/dev-python/docstring-to-markdown/metadata.xml new file mode 100644 index 000000000000..aa180c5e3fc7 --- /dev/null +++ b/dev-python/docstring-to-markdown/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + + docstring-to-markdown + + -- cgit v1.2.3-65-gdbad