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 A147A13835B for ; Sun, 23 May 2021 11:36:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D8E2E087A; Sun, 23 May 2021 11:36:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D2F10E0870 for ; Sun, 23 May 2021 11:36:50 +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 3EE95335D35 for ; Sun, 23 May 2021 11:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3B52794 for ; Sun, 23 May 2021 11:36:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1621767633.c5122174ac31b49c4dd99b4cb05e826c3108d1f3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mando/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mando/mando-0.6.4.ebuild X-VCS-Directories: dev-python/mando/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c5122174ac31b49c4dd99b4cb05e826c3108d1f3 X-VCS-Branch: master Date: Sun, 23 May 2021 11:36:47 +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: 324c6e49-05d8-4e84-b2cc-79bd0273c25c X-Archives-Hash: 108a1cd033c5a0b9555976e0b22ffc89 commit: c5122174ac31b49c4dd99b4cb05e826c3108d1f3 Author: Michał Górny gentoo org> AuthorDate: Sun May 23 11:00:33 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 23 11:00:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5122174 dev-python/mando: Enable py3.9 & py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/mando/mando-0.6.4.ebuild | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/dev-python/mando/mando-0.6.4.ebuild b/dev-python/mando/mando-0.6.4.ebuild index ddd3921f30c..87d54e40707 100644 --- a/dev-python/mando/mando-0.6.4.ebuild +++ b/dev-python/mando/mando-0.6.4.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..10} ) inherit distutils-r1 @@ -13,30 +13,16 @@ SRC_URI="https://github.com/rubik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/tox[${PYTHON_USEDEP}] - ) -" -RDEPEND="" - -python_compile_all() { - use doc && emake -C docs html -} +IUSE="examples" + +distutils_enable_sphinx docs +distutils_enable_tests pytest python_test() { - "${PYTHON}" mando/tests/run.py || die "tests failed under ${EPYTHON}" + "${EPYTHON}" mando/tests/run.py || die "tests failed under ${EPYTHON}" } python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) if use examples; then dodoc -r examples docompress -x /usr/share/doc/${PF}/examples