summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-11-03 13:26:00 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-11-03 13:26:14 +0100
commit34556049075dce797a41befcc8ecdf96b983bf5e (patch)
tree8760d482626afab2d70556fbf08c3289d4089508 /dev-python/docstring-to-markdown
parentwww-client/firefox: add 106.0.4 (diff)
downloadgentoo-34556049075dce797a41befcc8ecdf96b983bf5e.tar.gz
gentoo-34556049075dce797a41befcc8ecdf96b983bf5e.tar.bz2
gentoo-34556049075dce797a41befcc8ecdf96b983bf5e.zip
dev-python/docstring-to-markdown: new package, add 0.10
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/docstring-to-markdown')
-rw-r--r--dev-python/docstring-to-markdown/Manifest1
-rw-r--r--dev-python/docstring-to-markdown/docstring-to-markdown-0.10.ebuild26
-rw-r--r--dev-python/docstring-to-markdown/metadata.xml12
3 files changed, 39 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">docstring-to-markdown</remote-id>
+ </upstream>
+</pkgmetadata>