commit:     4a2faed7f6272ed5f80b3a50fdb4b75fc94dd026
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 12:58:55 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue May 24 13:02:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a2faed7

dev-python/mkautodoc: update EAPI 7 -> 8, enable py3.11, pep517

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/mkautodoc/mkautodoc-0.1.0-r1.ebuild | 32 ++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/dev-python/mkautodoc/mkautodoc-0.1.0-r1.ebuild 
b/dev-python/mkautodoc/mkautodoc-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..05071c660cc5
--- /dev/null
+++ b/dev-python/mkautodoc/mkautodoc-0.1.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Auto documentation for MkDocs"
+HOMEPAGE="
+       https://github.com/tomchristie/mkautodoc/
+       https://pypi.org/project/mkautodoc/
+"
+SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/markdown[${PYTHON_USEDEP}]"
+
+BDEPEND="test? (
+       dev-python/mock[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+
+python_test() {
+       PYTHONPATH="${WORKDIR}/${P}/tests/mocklib:${WORKDIR}/${P}" \
+       distutils-r1_python_test
+}

Reply via email to