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 41939158090 for ; Sat, 14 May 2022 08:26:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E806E0882; Sat, 14 May 2022 08:26:03 +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 4CC65E0882 for ; Sat, 14 May 2022 08:26:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 42A8E341551 for ; Sat, 14 May 2022 08:26:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E24D475 for ; Sat, 14 May 2022 08:25:58 +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: <1652516753.5cc6ec2b6f9890dd9b93a7905504bc4819a9f91b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sure/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sure/sure-2.0.0-r1.ebuild X-VCS-Directories: dev-python/sure/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5cc6ec2b6f9890dd9b93a7905504bc4819a9f91b X-VCS-Branch: master Date: Sat, 14 May 2022 08:25:58 +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: c876fa64-fc8b-4e1c-8978-42a440d0e24c X-Archives-Hash: ccc2d677c480769c42e686baa70165c9 commit: 5cc6ec2b6f9890dd9b93a7905504bc4819a9f91b Author: Michał Górny gentoo org> AuthorDate: Sat May 14 07:59:30 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 14 08:25:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc6ec2b dev-python/sure: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/sure/sure-2.0.0-r1.ebuild | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-python/sure/sure-2.0.0-r1.ebuild b/dev-python/sure/sure-2.0.0-r1.ebuild new file mode 100644 index 000000000000..fc548d3074ac --- /dev/null +++ b/dev-python/sure/sure-2.0.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="idiomatic assertion toolkit with human-friendly failure messages" +HOMEPAGE=" + https://github.com/gabrielfalcao/sure/ + https://pypi.org/project/sure/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/mock[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # requires dev-python/nose + tests/test_old_api.py +) + +src_prepare() { + sed -i -e 's:--cov=sure::' setup.cfg || die + distutils-r1_src_prepare +}