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-virtualenv/
Date: Sun, 08 Mar 2020 08:25:32
Message-Id: 1583655896.e36aad5a9b8069e9658239211a02685262ac5b82.mgorny@gentoo
1 commit: e36aad5a9b8069e9658239211a02685262ac5b82
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 8 06:31:48 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 8 08:24:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e36aad5a
7
8 dev-python/pytest-virtualenv: Revbump to drop py2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../pytest-virtualenv-1.7.0-r1.ebuild | 31 ++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r1.ebuild b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r1.ebuild
16 new file mode 100644
17 index 00000000000..6799b9022f4
18 --- /dev/null
19 +++ b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r1.ebuild
20 @@ -0,0 +1,31 @@
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="Virtualenv fixture for py.test"
32 +HOMEPAGE="https://github.com/man-group/pytest-plugins https://pypi.org/project/pytest-virtualenv/"
33 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~hppa ~mips ~s390 ~sparc ~x86"
38 +
39 +RDEPEND="
40 + dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
41 + dev-python/pytest-shutil[${PYTHON_USEDEP}]
42 + dev-python/pytest[${PYTHON_USEDEP}]
43 + dev-python/virtualenv[${PYTHON_USEDEP}]
44 +"
45 +BDEPEND="
46 + test? (
47 + dev-python/mock[${PYTHON_USEDEP}]
48 + )
49 +"
50 +
51 +distutils_enable_tests setup.py