1 |
commit: 163972e2bd85f82f0695bc94923ab58739d4cee7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 22 05:18:08 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 22 05:54:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=163972e2 |
7 |
|
8 |
dev-python/sure: Bump to 2.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sure/Manifest | 1 + |
13 |
dev-python/sure/sure-2.0.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sure/Manifest b/dev-python/sure/Manifest |
17 |
index a90597c5a9d..1c6c8c5edd8 100644 |
18 |
--- a/dev-python/sure/Manifest |
19 |
+++ b/dev-python/sure/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sure-1.4.11.tar.gz 45933 BLAKE2B b2146ee56237f4575cab5122279023066a1b9ba20493ced7d729b1afa456f71a38071b721c39594c3ef2fcc912ba934e85e5cb5da576c3b2d20fa7d4926b56b7 SHA512 ed067385bf9cf317a5d55f6c5fc6ee54ee3d592825be398e47c37d31fc9c010cb9316d4e2bcf1d72d53d7e53fd470792d64348aa2bfa5dc43510daaff97742da |
22 |
+DIST sure-2.0.0.tar.gz 46747 BLAKE2B 631923bf2fc0a972e276fbfd1918abbafec28e662669993b40ff8ca72944952d092ac662728f98a286fc9b5c8e3765d10a4d6ef1f17b17655802b971b97410af SHA512 8286846374c2bfc773444e90bf4f9c0b0d66d0229afa53af63025bfec690bf8bcc959f86c238ca5244c6a29099e955691771b0eb954af479bde2f17e51f6f1de |
23 |
|
24 |
diff --git a/dev-python/sure/sure-2.0.0.ebuild b/dev-python/sure/sure-2.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..03bb0dfc4e1 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sure/sure-2.0.0.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="idiomatic assertion toolkit with human-friendly failure messages" |
40 |
+HOMEPAGE="https://github.com/gabrielfalcao/sure" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/mock[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/nose-1.3.0[${PYTHON_USEDEP}] |
50 |
+ dev-python/six[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+ |
53 |
+distutils_enable_tests nose |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ # remove unnecessary dep |
57 |
+ sed -i -e '/rednose/d' setup.cfg || die |
58 |
+ distutils-r1_src_prepare |
59 |
+} |