1 |
commit: 5ed98db1ee1f9417f92bc0642ae689fe0b0856ff |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 14 21:54:09 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 14 21:54:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed98db1 |
7 |
|
8 |
dev-python/testtools: Bump to 2.5.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/testtools/Manifest | 1 + |
13 |
dev-python/testtools/testtools-2.5.0.ebuild | 40 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest |
17 |
index 67fc1122ae2..5e305b71344 100644 |
18 |
--- a/dev-python/testtools/Manifest |
19 |
+++ b/dev-python/testtools/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST testtools-2.4.0.tar.gz 233032 BLAKE2B 8b0559039bfc5e18dfe8d70cc10f6e43ad2e1fbebf7d20d9c6c876c5672a6149064f558150d8eb09f569b82983ffe67e06143b14a1d8869efcc585839d6216ae SHA512 af26e163a4caeb207a554b19f86c7892ab5ebe904c144d85273464e880cd18a991c70a77ff817aefb15768fa38f382e9ed853cdefb212dc697b24072e17535c0 |
22 |
+DIST testtools-2.5.0.tar.gz 235399 BLAKE2B 62d62cd12f19eb3fad419dc06e7f0152bf8f70a9f60927b1d791f2905b34e13199ceac93b3d30735acae2c5db1e8554cc5a7f6c8588d1f05fb213c424e90a12b SHA512 6adbf9e90f0647a44130e99cd94e4c0cbfab3a1b5c28b6bb124d061defe69d8043186cfe554099936effe16a6b07d59927bfeb6820f5a0fb34970ff243030fd4 |
23 |
|
24 |
diff --git a/dev-python/testtools/testtools-2.5.0.ebuild b/dev-python/testtools/testtools-2.5.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..ef5d0f959a0 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/testtools/testtools-2.5.0.ebuild |
29 |
@@ -0,0 +1,40 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
36 |
+PYTHON_REQ_USE="threads(+)" |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Extensions to the Python standard library unit testing framework" |
41 |
+HOMEPAGE="https://github.com/testing-cabal/testtools" |
42 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/extras-1.0.0[${PYTHON_USEDEP}] |
50 |
+ dev-python/python-mimeparse[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pbr-0.11[${PYTHON_USEDEP}] |
52 |
+ dev-python/pyrsistent[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/six-1.4.0[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+DEPEND=" |
56 |
+ test? ( |
57 |
+ >=dev-python/fixtures-1.3.0[${PYTHON_USEDEP}] |
58 |
+ dev-python/testscenarios[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+PDEPEND=">=dev-python/fixtures-1.3.0[${PYTHON_USEDEP}]" |
62 |
+ |
63 |
+distutils_enable_sphinx doc |
64 |
+distutils_enable_tests unittest |
65 |
+ |
66 |
+python_test() { |
67 |
+ "${PYTHON}" -m testtools.run testtools.tests.test_suite || |
68 |
+ die "tests failed under ${EPYTHON}" |
69 |
+} |