summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-02-08 00:04:38 -0500
committerTim Harder <radhermit@gentoo.org>2018-02-08 00:08:58 -0500
commitc7ddf66e2865bb5d3da6d49398801c8e589b63e8 (patch)
tree3c72c97f6b3502f1a781e9529e977b7d6e258b38 /dev-python/pytest-relaxed
parentsys-apps/portage: remove duplicate rsync-verify deps in 9999 (diff)
downloadgentoo-c7ddf66e2865bb5d3da6d49398801c8e589b63e8.tar.gz
gentoo-c7ddf66e2865bb5d3da6d49398801c8e589b63e8.tar.bz2
gentoo-c7ddf66e2865bb5d3da6d49398801c8e589b63e8.zip
dev-python/pytest-relaxed: initial import, new test dep for paramiko
Diffstat (limited to 'dev-python/pytest-relaxed')
-rw-r--r--dev-python/pytest-relaxed/Manifest1
-rw-r--r--dev-python/pytest-relaxed/metadata.xml12
-rw-r--r--dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild31
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pytest-relaxed/Manifest b/dev-python/pytest-relaxed/Manifest
new file mode 100644
index 000000000000..0faad2d9e9ac
--- /dev/null
+++ b/dev-python/pytest-relaxed/Manifest
@@ -0,0 +1 @@
+DIST pytest-relaxed-1.1.0.tar.gz 25942 BLAKE2B 6dd34044ec3ae0b5c85f0a76102aaeafe3dad8748c0cf34666dd3550162a2968191efb8415467259a4f072905af062aeabaaaeb475ab68d47aa8d79e3cadd3d0 SHA512 010e37c4d0c63bd00af8851bb50e52af7f8f17769be042e4941e8d8ba451920c24dfa6cdf74cd1b3ca4b3e1c71cd5e1ac34ffae855fc261cf431c212f98cbfff
diff --git a/dev-python/pytest-relaxed/metadata.xml b/dev-python/pytest-relaxed/metadata.xml
new file mode 100644
index 000000000000..2d23528854f3
--- /dev/null
+++ b/dev-python/pytest-relaxed/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pytest-relaxed</remote-id>
+ <remote-id type="github">bitprophet/pytest-relaxed</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild b/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild
new file mode 100644
index 000000000000..5264bf4fb7f5
--- /dev/null
+++ b/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for relaxed test discovery and organization"
+HOMEPAGE="https://pypi.python.org/pypi/pytest-relaxed https://github.com/bitprophet/pytest-relaxed"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/pytest-3[${PYTHON_USEDEP}]
+ >=dev-python/six-1[${PYTHON_USEDEP}]
+ >=dev-python/decorator-4[${PYTHON_USEDEP}]
+"
+DEPEND="test? ( ${RDEPEND} )"
+
+# various misc failures
+RESTRICT="test"
+
+python_test() {
+ py.test || die "tests failed with ${EPYTHON}"
+}