From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B3797158090 for ; Tue, 24 May 2022 13:02:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20F94E089C; Tue, 24 May 2022 13:02:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05AEAE089C for ; Tue, 24 May 2022 13:02:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25337341D82 for ; Tue, 24 May 2022 13:02:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 420DC4F2 for ; Tue, 24 May 2022 13:02:50 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1653397360.4a2faed7f6272ed5f80b3a50fdb4b75fc94dd026.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkautodoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mkautodoc/mkautodoc-0.1.0-r1.ebuild X-VCS-Directories: dev-python/mkautodoc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 4a2faed7f6272ed5f80b3a50fdb4b75fc94dd026 X-VCS-Branch: master Date: Tue, 24 May 2022 13:02:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8946086f-e2fe-462b-9037-62f8a955decc X-Archives-Hash: 1c0404044ae4aea52566031253540d8f commit: 4a2faed7f6272ed5f80b3a50fdb4b75fc94dd026 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue May 24 12:58:55 2022 +0000 Commit: Andrew Ammerlaan gentoo 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 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 +}