1 |
commit: 281793ff244615bc5a183c62b9ed39d442a6a16c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 22 11:54:15 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 22 12:15:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281793ff |
7 |
|
8 |
dev-python/pytest-httpserver: Bump to 1.0.6 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-httpserver/Manifest | 1 + |
13 |
.../pytest-httpserver-1.0.6.ebuild | 38 ++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest |
17 |
index 60ec99968c1e..abf39ebef705 100644 |
18 |
--- a/dev-python/pytest-httpserver/Manifest |
19 |
+++ b/dev-python/pytest-httpserver/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-httpserver-1.0.5.gh.tar.gz 80395 BLAKE2B 68c075032c57f25854d390f73bf61b7efbe18f78d7f0b2a2a3be10d586ca9cc3ce4a1b390a2ba0da1e88558513782388069c419dae4908a0581e8d583f452bee SHA512 8275475bb044d54769e906571520fafbb9f6fa32fc003f4a00f72b9ff9930e4b80ee84564df1521569cc2a15f5d371c6315129263bc167d0621141004d509a25 |
22 |
+DIST pytest-httpserver-1.0.6.gh.tar.gz 83737 BLAKE2B d0db97227bcb3336a4bd944cf26e2d3e96132baee5991cdff901a1f546174e977b6472458911fc6b92bb13b6d3dae499e0bf3507be265385601e838c4781f0a3 SHA512 5eacfbf159f3a09d73f54da8f3ff885b8d2138e430af27df6039a30e63d7ebcbcf088efe8e7fa56ed50b66ea5b7e3ad7a61c0e8a57d5cb100c2a063df7b6f5c4 |
23 |
|
24 |
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.0.6.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.0.6.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..326f3d0b4625 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.0.6.ebuild |
29 |
@@ -0,0 +1,38 @@ |
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=poetry |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="HTTP server for pytest to test HTTP clients" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/csernazs/pytest-httpserver/ |
43 |
+ https://pypi.org/project/pytest-httpserver/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/csernazs/pytest-httpserver/archive/${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/werkzeug[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ dev-python/requests[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+python_test() { |
66 |
+ epytest -p no:localserver |
67 |
+} |