dev-python/pytest-relaxed: initial import, new test dep for paramiko
authorTim Harder <radhermit@gentoo.org>
Thu, 8 Feb 2018 05:04:38 +0000 (00:04 -0500)
committerTim Harder <radhermit@gentoo.org>
Thu, 8 Feb 2018 05:08:58 +0000 (00:08 -0500)
dev-python/pytest-relaxed/Manifest [new file with mode: 0644]
dev-python/pytest-relaxed/metadata.xml [new file with mode: 0644]
dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild [new file with mode: 0644]

diff --git a/dev-python/pytest-relaxed/Manifest b/dev-python/pytest-relaxed/Manifest
new file mode 100644 (file)
index 0000000..0faad2d
--- /dev/null
@@ -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 (file)
index 0000000..2d23528
--- /dev/null
@@ -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 (file)
index 0000000..5264bf4
--- /dev/null
@@ -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}"
+}