dev-python/pytest-shutil: New pkg, dep of dev-python/pytest-vitualenv
authorBrian Dolbec <dolsen@gentoo.org>
Tue, 3 Jan 2017 21:25:05 +0000 (13:25 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Wed, 4 Jan 2017 04:48:29 +0000 (20:48 -0800)
Inirect dep for buildbot tests

Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1

dev-python/pytest-shutil/Manifest [new file with mode: 0644]
dev-python/pytest-shutil/metadata.xml [new file with mode: 0644]
dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild [new file with mode: 0644]

diff --git a/dev-python/pytest-shutil/Manifest b/dev-python/pytest-shutil/Manifest
new file mode 100644 (file)
index 0000000..b5f0e6a
--- /dev/null
@@ -0,0 +1 @@
+DIST pytest-shutil-1.2.4.tar.gz 16327 SHA256 a3fc464033dc39396a67eac9e228a0682e866654b8017819b2511bdbd8ed751f SHA512 9ec6baa3cf53bb80103b1dfbf6c26794090c26dd74b29cd19e76b1037c6939538c7b05ea16368a76cce6969216c291e27b00833a990268239bfd2222f69ddfb4 WHIRLPOOL 5f52535feadf11c5aa33b69cc8d35d361d7345611b9239a8282a94d58bfb4163c1207a60cb3d38998ba777e8b9912a3a63cfa0b820962ce84dba8a5ba8068642
diff --git a/dev-python/pytest-shutil/metadata.xml b/dev-python/pytest-shutil/metadata.xml
new file mode 100644 (file)
index 0000000..aa825ea
--- /dev/null
@@ -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-shutil</remote-id>
+       </upstream>
+       <longdescription>
+               This library is a goodie-bag of Unix shell and environment management
+               tools for automated tests.  A summary of the available functions is
+               below, look at the source for the full listing.
+       </longdescription>
+</pkgmetadata>
diff --git a/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
new file mode 100644 (file)
index 0000000..2f607b1
--- /dev/null
@@ -0,0 +1,37 @@
+# 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-shutil"
+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}]
+       dev-python/six[${PYTHON_USEDEP}]
+       dev-python/contextlib2[${PYTHON_USEDEP}]
+       dev-python/execnet[${PYTHON_USEDEP}]
+       dev-python/path-py[${PYTHON_USEDEP}]
+       dev-python/mock[${PYTHON_USEDEP}]
+"
+
+DEPEND="
+       ${RDEPEND}
+"
+
+python_test() {
+       distutils_install_for_testing
+
+       esetup.py test || die "Tests failed under ${EPYTHON}"
+}