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: Thu, 12 May 2022 13:15:19
Message-Id: 1652361289.e1a09a2e34cfe38b5220d811e2fc2a6ed89e1c2e.mgorny@gentoo
1 commit: e1a09a2e34cfe38b5220d811e2fc2a6ed89e1c2e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 12 12:49:00 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 12 13:14:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a09a2e
7
8 dev-python/pytest-virtualenv: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../pytest-virtualenv-1.7.0-r2.ebuild | 35 ++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild
16 new file mode 100644
17 index 000000000000..88600e1f00db
18 --- /dev/null
19 +++ b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Virtualenv fixture for py.test"
32 +HOMEPAGE="
33 + https://github.com/man-group/pytest-plugins/
34 + https://pypi.org/project/pytest-virtualenv/
35 +"
36 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
37 +
38 +LICENSE="MIT"
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
41 +
42 +RDEPEND="
43 + dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
44 + dev-python/pytest-shutil[${PYTHON_USEDEP}]
45 + dev-python/pytest[${PYTHON_USEDEP}]
46 + dev-python/virtualenv[${PYTHON_USEDEP}]
47 +"
48 +BDEPEND="
49 + dev-python/setuptools-git[${PYTHON_USEDEP}]
50 + test? (
51 + dev-python/mock[${PYTHON_USEDEP}]
52 + )
53 +"
54 +
55 +distutils_enable_tests pytest