diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2017-01-03 13:25:05 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2017-01-03 20:48:29 -0800 |
commit | 1687915326fb47e96d1dc4c671fd52f707b1bc9b (patch) | |
tree | 5d2f8a6c0545dfed9445bd3349219a5025722492 /dev-python | |
parent | dev-python/setuptools-git: Bump, adding python-3.5 (diff) | |
download | gentoo-1687915326fb47e96d1dc4c671fd52f707b1bc9b.tar.gz gentoo-1687915326fb47e96d1dc4c671fd52f707b1bc9b.tar.bz2 gentoo-1687915326fb47e96d1dc4c671fd52f707b1bc9b.zip |
dev-python/pytest-shutil: New pkg, dep of dev-python/pytest-vitualenv
Inirect dep for buildbot tests
Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytest-shutil/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-shutil/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild | 37 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pytest-shutil/Manifest b/dev-python/pytest-shutil/Manifest new file mode 100644 index 000000000000..b5f0e6afb271 --- /dev/null +++ b/dev-python/pytest-shutil/Manifest @@ -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 index 000000000000..aa825ea970d1 --- /dev/null +++ b/dev-python/pytest-shutil/metadata.xml @@ -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 index 000000000000..2f607b10e366 --- /dev/null +++ b/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild @@ -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}" +} |