From 273d19c2e910239868dc568e570ae4e59cf1856a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 6 Feb 2023 17:52:47 +0100 Subject: [PATCH] dev-python/sure: Bump to 2.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sure/Manifest | 1 + dev-python/sure/sure-2.0.1.ebuild | 37 +++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-python/sure/sure-2.0.1.ebuild diff --git a/dev-python/sure/Manifest b/dev-python/sure/Manifest index 0b8dc59777a09..f0f4797d02da1 100644 --- a/dev-python/sure/Manifest +++ b/dev-python/sure/Manifest @@ -1 +1,2 @@ DIST sure-2.0.0.tar.gz 46747 BLAKE2B 631923bf2fc0a972e276fbfd1918abbafec28e662669993b40ff8ca72944952d092ac662728f98a286fc9b5c8e3765d10a4d6ef1f17b17655802b971b97410af SHA512 8286846374c2bfc773444e90bf4f9c0b0d66d0229afa53af63025bfec690bf8bcc959f86c238ca5244c6a29099e955691771b0eb954af479bde2f17e51f6f1de +DIST sure-2.0.1.tar.gz 48467 BLAKE2B 2143d073c09e46fa987c6d62ebf59aac61e1304079707cf517d7d1ee10303c21369517a1fc2836d8f1081ebbe7d9c3e68aa629d432f85622b9ff8eaab1dd2abc SHA512 f319685ebb1c00bb064bff3e86543789ec94c9a6a8192ca2e97da3513208f9cac66e9db44e945f68ab39eec696880a2c211627f9881623492946e1a14f2444f5 diff --git a/dev-python/sure/sure-2.0.1.ebuild b/dev-python/sure/sure-2.0.1.ebuild new file mode 100644 index 0000000000000..73fb2e9471d0e --- /dev/null +++ b/dev-python/sure/sure-2.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +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 +}