Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-localserver/
Date: Sun, 26 Apr 2020 10:17:29
Message-Id: 1587896219.5bd7ceb1f1148c5be68b67bf408b9cb694de6c49.mgorny@gentoo
1 commit: 5bd7ceb1f1148c5be68b67bf408b9cb694de6c49
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 26 08:49:32 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 26 10:16:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd7ceb1
7
8 dev-python/pytest-localserver: Provide a pure py3 revision
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../pytest-localserver-0.5.0-r1.ebuild | 28 ++++++++++++++++++++++
13 1 file changed, 28 insertions(+)
14
15 diff --git a/dev-python/pytest-localserver/pytest-localserver-0.5.0-r1.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.5.0-r1.ebuild
16 new file mode 100644
17 index 00000000000..bdee1047cae
18 --- /dev/null
19 +++ b/dev-python/pytest-localserver/pytest-localserver-0.5.0-r1.ebuild
20 @@ -0,0 +1,28 @@
21 +# Copyright 1999-2020 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +DISTUTILS_USE_SETUPTOOLS=rdepend
27 +PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Py.test plugin to test server connections locally"
32 +HOMEPAGE="https://pypi.org/project/pytest-localserver/"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
38 +
39 +RDEPEND=">=dev-python/werkzeug-0.10[${PYTHON_USEDEP}]"
40 +BDEPEND="
41 + test? (
42 + ${RDEPEND}
43 + dev-python/pytest[${PYTHON_USEDEP}]
44 + dev-python/requests[${PYTHON_USEDEP}]
45 + dev-python/six[${PYTHON_USEDEP}]
46 + )"
47 +
48 +distutils_enable_tests pytest