1 |
commit: 5a3eac198be19081651519a8b7bfd9f0e317ca00 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 06:51:22 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 06:58:55 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3eac19 |
7 |
|
8 |
dev-python/pytest-localserver: Bump to 0.7.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-localserver/Manifest | 1 + |
13 |
.../pytest-localserver-0.7.1.ebuild | 41 ++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-localserver/Manifest b/dev-python/pytest-localserver/Manifest |
17 |
index b0580899c66a..2fe23b9f975e 100644 |
18 |
--- a/dev-python/pytest-localserver/Manifest |
19 |
+++ b/dev-python/pytest-localserver/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-localserver-0.7.0.tar.gz 184154 BLAKE2B 31f05dd4f156c8a547dacaf39c1aa1a576f2f84e625d64b96409212768a7d9967944931f85ab293d26f348e3a65eba1c5e341c6c08992271c10e65b2fa453cc4 SHA512 1fb1acaeb190d35ebd05cdd63ce15e4a9138802901cef8c25c1fa6dd177d8af2b6b2749f5a052942bf655ffd2ff6105de8a652d73faab369ce6dcf3219bb2394 |
22 |
+DIST pytest-localserver-0.7.1.tar.gz 185617 BLAKE2B 2ef2bb38c03c3ad05f9ef038f03e071e4d18bf256d76357c1a980f917228392a863bef088f46bd43acae23457a5141048f93d607d1b3e6757f238ce27b9e9584 SHA512 fd32ea020152a17fb1dcfe3f5cccd5c2a26eed18b711f51c5c7cb8534862706e6738651c275e88f3cbad54ecdb59e4b5588e67eed0ff3bbf20c3636e97990ed6 |
23 |
|
24 |
diff --git a/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..66639fc7e118 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2023 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_{9..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Pytest plugin to test server connections locally" |
41 |
+HOMEPAGE="https://pypi.org/project/pytest-localserver/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/werkzeug-0.10[${PYTHON_USEDEP}] |
50 |
+" |
51 |
+BDEPEND=" |
52 |
+ test? ( |
53 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
54 |
+ dev-python/requests[${PYTHON_USEDEP}] |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+" |
58 |
+ |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+EPYTEST_IGNORE=( |
62 |
+ # requires aiosmtpd that is dead and broken beyond repair |
63 |
+ tests/test_smtp.py |
64 |
+) |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ # remove aiosmtpd dep |
68 |
+ sed -e '/aiosmtpd/d' -i setup.py || die |
69 |
+ distutils-r1_src_prepare |
70 |
+} |