commit:     ddce240d6d40ddac52e5aa373f33b48638414315
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  3 21:34:07 2017 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 04:48:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddce240d

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

 dev-python/pytest-fixture-config/Manifest          |  1 +
 dev-python/pytest-fixture-config/metadata.xml      | 19 +++++++++++++
 .../pytest-fixture-config-1.2.2.ebuild             | 33 ++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/pytest-fixture-config/Manifest 
b/dev-python/pytest-fixture-config/Manifest
new file mode 100644
index 00000000..b8242f3
--- /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 00000000..f94f6e1
--- /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>dol...@gentoo.org</email>
+               <description>Primary maintainer</description>
+       </maintainer>
+       <upstream>
+               <maintainer>
+                       <email>eeas...@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 00000000..22ba5ea
--- /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}"
+}

Reply via email to