diff --git a/dev-python/pytest-fixture-config/Manifest b/dev-python/pytest-fixture-config/Manifest new file mode 100644 index 0000000000000..b8242f377f8dc --- /dev/null +++ b/dev-python/pytest-fixture-config/Manifest @@ -0,0 +1 @@ +DIST pytest-fixture-config-1.2.2.tar.gz 4995 SHA256 5df71da68709a233a7a9f1aa262091ac17ddfd4c170912d07030801fd360b781 SHA512 c2d2346c50c8a73e37ce217e240eabdecf872700c9f4b020f1ca7532a06e6a5dc6b140356d96b1bf8c83f1cf737d95775abaa206c3dcf7e02555b26aa995f12d WHIRLPOOL 97488a31b1b39f5964df34900e4ff8209e425746a7791172cdc6804c98561fa73a7d28d668bbea4fa55082d81c07a50387891a60c8503eedd761bc8f9639673d diff --git a/dev-python/pytest-fixture-config/metadata.xml b/dev-python/pytest-fixture-config/metadata.xml new file mode 100644 index 0000000000000..f94f6e1dcbcbc --- /dev/null +++ b/dev-python/pytest-fixture-config/metadata.xml @@ -0,0 +1,19 @@ + + + + + dolsen@gentoo.org + Primary maintainer + + + + eeaston@gmail.com + Edward Easton + + pytest-fixture-config + + + Simple configuration objects for Py.test fixtures. Allows you to skip + tests when their required config variables aren't set. + + diff --git a/dev-python/pytest-fixture-config/pytest-fixture-config-1.2.2.ebuild b/dev-python/pytest-fixture-config/pytest-fixture-config-1.2.2.ebuild new file mode 100644 index 0000000000000..22ba5ea679472 --- /dev/null +++ b/dev-python/pytest-fixture-config/pytest-fixture-config-1.2.2.ebuild @@ -0,0 +1,33 @@ +# 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-fixture-config" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/setuptools-git[${PYTHON_USEDEP}] +" + +DEPEND=" + ${RDEPEND} + test? ( dev-python/six[${PYTHON_USEDEP}] ) +" + +python_test() { + distutils_install_for_testing + + esetup.py test || die "Tests failed under ${EPYTHON}" +}