summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-01-03 13:34:07 -0800
committerBrian Dolbec <dolsen@gentoo.org>2017-01-03 20:48:31 -0800
commitddce240d6d40ddac52e5aa373f33b48638414315 (patch)
tree2235dbbb2d20a6bfb8810a06d9f4e217bc585f02 /dev-python/pytest-fixture-config
parentdev-python/pytest-shutil: New pkg, dep of dev-python/pytest-vitualenv (diff)
downloadgentoo-ddce240d6d40ddac52e5aa373f33b48638414315.tar.gz
gentoo-ddce240d6d40ddac52e5aa373f33b48638414315.tar.bz2
gentoo-ddce240d6d40ddac52e5aa373f33b48638414315.zip
dev-python/pytest-fixture-config: New pkg, dep of dev-python/pytest-virtualenv
Indirect test dep for buildbot. Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
Diffstat (limited to 'dev-python/pytest-fixture-config')
-rw-r--r--dev-python/pytest-fixture-config/Manifest1
-rw-r--r--dev-python/pytest-fixture-config/metadata.xml19
-rw-r--r--dev-python/pytest-fixture-config/pytest-fixture-config-1.2.2.ebuild33
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/pytest-fixture-config/Manifest b/dev-python/pytest-fixture-config/Manifest
new file mode 100644
index 000000000000..b8242f377f8d
--- /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 000000000000..f94f6e1dcbcb
--- /dev/null
+++ b/dev-python/pytest-fixture-config/metadata.xml
@@ -0,0 +1,19 @@
+<?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-fixture-config</remote-id>
+ </upstream>
+ <longdescription>
+ Simple configuration objects for Py.test fixtures. Allows you to skip
+ tests when their required config variables aren't set.
+ </longdescription>
+</pkgmetadata>
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 000000000000..22ba5ea67947
--- /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}"
+}