mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="ppc ppc64"
37 lines
861 B
Bash
37 lines
861 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Virtualenv fixture for py.test"
|
|
HOMEPAGE="https://github.com/manahl/pytest-plugins https://pypi.python.org/pypi/pytest-virtualenv"
|
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64 ia64 ~mips ppc ppc64 ~sparc ~x86"
|
|
IUSE="test"
|
|
|
|
RDEPEND="
|
|
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
|
dev-python/pytest-shutil[${PYTHON_USEDEP}]
|
|
dev-python/pytest[${PYTHON_USEDEP}]
|
|
dev-python/virtualenv[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
DEPEND="
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
dev-python/setuptools-git[${PYTHON_USEDEP}]
|
|
test? (
|
|
${RDEPEND}
|
|
dev-python/mock[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
python_test() {
|
|
esetup.py test
|
|
}
|