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 BD178138335 for ; Thu, 18 Jul 2019 10:34:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 033CFE0798; Thu, 18 Jul 2019 10:34:22 +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 DDA41E0798 for ; Thu, 18 Jul 2019 10:34:21 +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 B490B347FC6 for ; Thu, 18 Jul 2019 10:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14C45700 for ; Thu, 18 Jul 2019 10:34:18 +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: <1563446051.d9d78740e7637d1dab9a0c5b444c144d3807c007.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/argh/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/argh/argh-0.26.2-r2.ebuild X-VCS-Directories: dev-python/argh/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d9d78740e7637d1dab9a0c5b444c144d3807c007 X-VCS-Branch: master Date: Thu, 18 Jul 2019 10:34:18 +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: d2875265-1d87-42a1-8e6b-1cb9aea879a0 X-Archives-Hash: 99a596fb9fca9b4c6f8049930dd27991 commit: d9d78740e7637d1dab9a0c5b444c144d3807c007 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 18 10:26:01 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 18 10:34:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d78740 dev-python/argh: EAPI=7, Py3.7 Signed-off-by: Michał Górny gentoo.org> dev-python/argh/argh-0.26.2-r2.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dev-python/argh/argh-0.26.2-r2.ebuild b/dev-python/argh/argh-0.26.2-r2.ebuild new file mode 100644 index 00000000000..31bfd39ddc6 --- /dev/null +++ b/dev-python/argh/argh-0.26.2-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A simple argparse wrapper" +HOMEPAGE="https://pythonhosted.org/argh/" +SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +LICENSE="LGPL-3" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/iocapture[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) + ${RDEPEND} + )" + +python_test() { + pytest -vv || die "Tests fail with ${EPYTHON}" +}