summaryrefslogtreecommitdiff
path: root/dev-python/sure
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sure')
-rw-r--r--dev-python/sure/Manifest2
-rw-r--r--dev-python/sure/sure-2.0.1.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/sure/Manifest b/dev-python/sure/Manifest
index b69a0203b820..67b995046c10 100644
--- a/dev-python/sure/Manifest
+++ b/dev-python/sure/Manifest
@@ -1,3 +1,5 @@
DIST sure-2.0.0.tar.gz 46747 BLAKE2B 631923bf2fc0a972e276fbfd1918abbafec28e662669993b40ff8ca72944952d092ac662728f98a286fc9b5c8e3765d10a4d6ef1f17b17655802b971b97410af SHA512 8286846374c2bfc773444e90bf4f9c0b0d66d0229afa53af63025bfec690bf8bcc959f86c238ca5244c6a29099e955691771b0eb954af479bde2f17e51f6f1de
+DIST sure-2.0.1.tar.gz 48467 BLAKE2B 2143d073c09e46fa987c6d62ebf59aac61e1304079707cf517d7d1ee10303c21369517a1fc2836d8f1081ebbe7d9c3e68aa629d432f85622b9ff8eaab1dd2abc SHA512 f319685ebb1c00bb064bff3e86543789ec94c9a6a8192ca2e97da3513208f9cac66e9db44e945f68ab39eec696880a2c211627f9881623492946e1a14f2444f5
EBUILD sure-2.0.0-r1.ebuild 773 BLAKE2B 3280a244e6d8aed3c400039ae5a695d15de294292bb93bbe834cb8e932576b433228cd04fec69c75d354758cd1636cf8e5d853f4705ef3319c25c75f7052e3a1 SHA512 fa7448ae4b91349d601b580535479548dff271ef30c285094f7a6376ba05a738caee7bff94d707c1c3f211c6af55fbe3bd578124bf3305c33ab55f31e1b32c88
+EBUILD sure-2.0.1.ebuild 780 BLAKE2B f31c80c62fb02819b79b5129547038317ee17103b54b70fc428b82dc12ff9458a902ce6e264f724f475da16af56ec702caea3aa62b8a4b0f3510594d5d59b4cc SHA512 f69c13af7d134261a8633670eef2e148af22f71a570c4121eb9b5ac35a6c2079c58c38e7f283ef46c5e17a38737b582ebb82e3359c80c83283d2179921028e39
MISC metadata.xml 583 BLAKE2B 3a551f125c9df8f77a05b69cf54b30d94bace7869decb608b3685e06a7cb9f1462d4e674d06d59d84100e06ee95cce30a68c4777632bb0691397f1e6faaa26ef SHA512 57b87cbde1f34395fbd42bc8f7712aaf193aded2248815cb6919cb51387227f1cab46dd0d1595be9a55bdd131ac554e401366c3740c3d01782b8329a6f8e6588
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 000000000000..73fb2e9471d0
--- /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
+}