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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7A38B138351 for ; Thu, 16 Apr 2020 06:51:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EEFFE0960; Thu, 16 Apr 2020 06:51:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61945E0960 for ; Thu, 16 Apr 2020 06:51:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A61634F33F for ; Thu, 16 Apr 2020 06:51:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4196E1DD for ; Thu, 16 Apr 2020 06:51:20 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1587019857.ddb72bf65a2c3fcf2e5e1a63efa4fafdf0deb25b.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkautodoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mkautodoc/Manifest dev-python/mkautodoc/metadata.xml dev-python/mkautodoc/mkautodoc-0.1.0.ebuild X-VCS-Directories: dev-python/mkautodoc/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: ddb72bf65a2c3fcf2e5e1a63efa4fafdf0deb25b X-VCS-Branch: master Date: Thu, 16 Apr 2020 06:51:20 +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: e051c208-74f3-46cb-bca3-2879470ecd59 X-Archives-Hash: 5aa12ceab5a6624b38b739af66e5ffda commit: ddb72bf65a2c3fcf2e5e1a63efa4fafdf0deb25b Author: Andrew Ammerlaan riseup net> AuthorDate: Fri Apr 10 10:04:38 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 16 06:50:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb72bf6 dev-python/mkautodoc: autodoc for mkdocs Part of effort to get mkdocs-material in ::gentoo: https://github.com/gentoo/guru/issues/3 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> Closes: https://github.com/gentoo/gentoo/pull/15286 Signed-off-by: Joonas Niilola gentoo.org> dev-python/mkautodoc/Manifest | 1 + dev-python/mkautodoc/metadata.xml | 17 +++++++++++++++++ dev-python/mkautodoc/mkautodoc-0.1.0.ebuild | 28 ++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/dev-python/mkautodoc/Manifest b/dev-python/mkautodoc/Manifest new file mode 100644 index 00000000000..7467e3b3f01 --- /dev/null +++ b/dev-python/mkautodoc/Manifest @@ -0,0 +1 @@ +DIST mkautodoc-0.1.0.tar.gz 5654 BLAKE2B c0ae754e800ea25e9cccc621b4fd5c8d1561c57808b301ac5a3036ca18fda1adc432006e13b777a83dcc2cd6960a34745e17dfbcbbda24098902198d4fc9d743 SHA512 7ccb0a03016e2984d88d78eca2a8ee01e2153ff574c912358640c158b2084e3c365ace0fdb89cb74bb1950c68775d9d3cb11201cbf3c6d136dc7886a3294dc89 diff --git a/dev-python/mkautodoc/metadata.xml b/dev-python/mkautodoc/metadata.xml new file mode 100644 index 00000000000..0858ff1d0d1 --- /dev/null +++ b/dev-python/mkautodoc/metadata.xml @@ -0,0 +1,17 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + + + tomchristie/mkautodoc + mkautodoc + + diff --git a/dev-python/mkautodoc/mkautodoc-0.1.0.ebuild b/dev-python/mkautodoc/mkautodoc-0.1.0.ebuild new file mode 100644 index 00000000000..bfc7f38cd6b --- /dev/null +++ b/dev-python/mkautodoc/mkautodoc-0.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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}]" + +distutils_enable_tests pytest + +python_test() { + PYTHONPATH="${WORKDIR}/${P}/tests/mocklib:${WORKDIR}/${P}" + pytest -vv || die "tests fail with ${EPYTHON}" +}