1 |
commit: 31665318c2d7897c2a5d607c41baf627b867a059 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 25 23:02:02 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 25 23:16:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31665318 |
7 |
|
8 |
dev-python/pytest-httpbin: Bump to 1.0.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-httpbin/Manifest | 1 + |
13 |
.../pytest-httpbin/pytest-httpbin-1.0.2.ebuild | 34 ++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-httpbin/Manifest b/dev-python/pytest-httpbin/Manifest |
17 |
index 6dd6635d84c8..c043de604318 100644 |
18 |
--- a/dev-python/pytest-httpbin/Manifest |
19 |
+++ b/dev-python/pytest-httpbin/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-httpbin-1.0.1.gh.tar.gz 18036 BLAKE2B 1277118a83d059f23c06758d6a5e83b78f09ba3bd44458f18aebdad06b7266a3deb9ee00f10732c552fddb42673dfe3f5862195f44ce48a224961b5df81dcae7 SHA512 3a11073d85478e7b748cfae5a7f639b2cf6ebc396ebb9972f39ead3d869ab1abaf0afa90f113e2393652ed08621716e54c9c5dcb41c59ff67341f7b28445544d |
22 |
+DIST pytest-httpbin-1.0.2.gh.tar.gz 18727 BLAKE2B 56a7fa1c1694cad98815fc6c6f676b509942fa1fca192ecb4cb5a0d9f325d7df6ddb3a3ac67d884c8f8caba807677351c42c28a3bcba80b9196e74d666951cc2 SHA512 b4adac1c37506391d83f7772814b4a9ce5134cc6834d8758e71d39610f8b29e57e72b11b2233be51e41b2c36bc305d40fc4b260a7f83d10390f4e940df8aa366 |
23 |
|
24 |
diff --git a/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..9be90f10c07d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild |
29 |
@@ -0,0 +1,34 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Easily test your HTTP library against a local copy of httpbin" |
41 |
+HOMEPAGE="https://github.com/kevin1024/pytest-httpbin |
42 |
+ https://pypi.org/project/pytest-httpbin/" |
43 |
+SRC_URI="https://github.com/kevin1024/pytest-httpbin/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/httpbin[${PYTHON_USEDEP}] |
51 |
+ dev-python/six[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+BDEPEND=" |
54 |
+ test? ( |
55 |
+ dev-python/requests[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/pytest-httpbin-1.0.0-pypy3-hang.patch |
61 |
+) |
62 |
+ |
63 |
+distutils_enable_tests pytest |