mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/pytest-virtualenv: New pkg, dep of dev-python/setuptools_trial
Indeirect dep for buildbot tests. Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
This commit is contained in:
1
dev-python/pytest-virtualenv/Manifest
Normal file
1
dev-python/pytest-virtualenv/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pytest-virtualenv-1.2.5.tar.gz 9480 SHA256 ecd883d6bc9cd70f66b4297dfb0d04415b013cdc3efb8b8a0b917a516b50d22e SHA512 7d437346c3b4aa96078cc4fa8f0b6c83b173572209e71a74c77098ab4e8ad0c571c0932c2b413123cd73f47a4eda36d0c0ae3ece2866afc2d1f5092357c7593a WHIRLPOOL f3fb869b85a5d582afbd297c3dedee6f864e53efcbc11cd5d199649fb0df048ac42f17a25ac2aff1c0c876ccb664361cb6b57865a143899a3d6c75cf6817fbb5
|
||||
20
dev-python/pytest-virtualenv/metadata.xml
Normal file
20
dev-python/pytest-virtualenv/metadata.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dolsen@gentoo.org</email>
|
||||
<description>Primary maintainer</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<email>eeaston@gmail.com</email>
|
||||
<name>Edward Easton</name>
|
||||
</maintainer>
|
||||
<remote-id type="pypi">pytest-virtualenv</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
Create a Python virtual environment in your test that cleans up on
|
||||
teardown. The fixture has utility methods to install packages and list
|
||||
what's installed.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
32
dev-python/pytest-virtualenv/pytest-virtualenv-1.2.5.ebuild
Normal file
32
dev-python/pytest-virtualenv/pytest-virtualenv-1.2.5.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
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 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-shutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-git[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
|
||||
esetup.py test || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user