1 |
commit: 2883c4cda370663d9f126c6b87177740110bb394 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 30 17:15:43 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 17:23:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2883c4cd |
7 |
|
8 |
dev-python/pytest-services: Bump to 2.2.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-services/Manifest | 1 + |
13 |
.../pytest-services/pytest-services-2.2.1.ebuild | 50 ++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-services/Manifest b/dev-python/pytest-services/Manifest |
17 |
index 33203f5efd3..aa7af4dde44 100644 |
18 |
--- a/dev-python/pytest-services/Manifest |
19 |
+++ b/dev-python/pytest-services/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pytest-services-2.1.0.tar.gz 20552 BLAKE2B 6359c419591efed553e095e267c24f78f36b152f0eefe21d46742f7c15f05e92a9e86891f99762a3716fef5284b00d07d8d6eb825008dbbbf07e36dc62a7a6b4 SHA512 54a487546a2af7996acdbcd63bfc01626832aa41683617cdd345453cf6518afdf03cb8c2465e1f5d28c88b2cc801ffb0d9d4440582865f899e21fe42ab431ebc |
22 |
DIST pytest-services-2.2.0.tar.gz 20995 BLAKE2B a65455d89190d6b63854df7509124c8056c962640972f67210e3b3dbf2d669708e4edb124077cd32e7fe429e884372f4248396377b5d4879d9f7313c3ef7df46 SHA512 48430d6c107626a4e13a8eb16cf5cc3b2068e34869b8a4e3e615fd7a20f3644a028c911211f3de885ffd942cafd3946c313e76ddcf6199bedc9731f7b88c843a |
23 |
+DIST pytest-services-2.2.1.tar.gz 21303 BLAKE2B 6f4b66b713ca4976eae61bf516bfecf13b8d6f56e03ae772ba9465e7c4c52b8d5ffa713b9441c73538a0b05665da7b7aa53d5f5da1626c6c208edf1c8239b1b1 SHA512 95d70431a7c3fa3b1602e6ad0e72975cecf5f0464e1bbc21d5b4eee6aefee52794c7b1d8dacf0681cc4cbb5ae7910075a7d0b3859647cc55298a2792489c4bfb |
24 |
|
25 |
diff --git a/dev-python/pytest-services/pytest-services-2.2.1.ebuild b/dev-python/pytest-services/pytest-services-2.2.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a10297b8270 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pytest-services/pytest-services-2.2.1.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Collection of fixtures and utility functions to run service processes for pytest" |
40 |
+HOMEPAGE="https://github.com/pytest-dev/pytest-services" |
41 |
+SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/requests[${PYTHON_USEDEP}] |
50 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
51 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
52 |
+ dev-python/zc-lockfile[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ test? ( ${RDEPEND} |
56 |
+ dev-python/mock[${PYTHON_USEDEP}] |
57 |
+ dev-python/pylibmc[${PYTHON_USEDEP}] |
58 |
+ x11-base/xorg-server[xvfb] |
59 |
+ net-misc/memcached |
60 |
+ !dev-python/pytest-salt |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+RESTRICT="!test? ( test )" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}/pytest-services-2.0.1-no-mysql.patch" |
68 |
+ "${FILESDIR}/pytest-services-2.0.1-lockdir.patch" |
69 |
+) |
70 |
+ |
71 |
+python_test() { |
72 |
+ distutils_install_for_testing |
73 |
+ pytest -vv tests || die "Tests failed under ${EPYTHON}" |
74 |
+} |
75 |
+ |
76 |
+python_install() { |
77 |
+ distutils-r1_python_install |
78 |
+ |
79 |
+ find "${D}" -name '*.pth' -delete || die |
80 |
+} |