summaryrefslogtreecommitdiff
path: root/dev-python/pytest-relaxed
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pytest-relaxed
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pytest-relaxed')
-rw-r--r--dev-python/pytest-relaxed/Manifest3
-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, 46 insertions, 0 deletions
diff --git a/dev-python/pytest-relaxed/Manifest b/dev-python/pytest-relaxed/Manifest
new file mode 100644
index 000000000000..ab7216059e34
--- /dev/null
+++ b/dev-python/pytest-relaxed/Manifest
@@ -0,0 +1,3 @@
+DIST pytest-relaxed-1.1.0.tar.gz 25942 BLAKE2B 6dd34044ec3ae0b5c85f0a76102aaeafe3dad8748c0cf34666dd3550162a2968191efb8415467259a4f072905af062aeabaaaeb475ab68d47aa8d79e3cadd3d0 SHA512 010e37c4d0c63bd00af8851bb50e52af7f8f17769be042e4941e8d8ba451920c24dfa6cdf74cd1b3ca4b3e1c71cd5e1ac34ffae855fc261cf431c212f98cbfff
+EBUILD pytest-relaxed-1.1.0.ebuild 918 BLAKE2B 1e395bebaf4838cb8e5dfb395693492ed42bd898a727ac1b83098fa1fb374e71d4c4ddf4dfd0b3a225e0b69042f206fb28cae2d5697a8c40f08c9d9bc3be32e7 SHA512 14d7160ee46b35cecd9cdc6184f9a8abdc55e0588d05462189e14b84e87161c95bfabb9854342b597b24c074dcc778e11552843850fafd4e93bc05d00e7848a5
+MISC metadata.xml 382 BLAKE2B 858b2e05190a45c6842f93638cc598f3b97b3481a361438789a2f1e4aabfd474da056d5a3396927e555d4395cd1ac13393fbb0682aa3fdc6c734b718c0451ebc SHA512 9a59cb814efe45123a5d8fc8fe8b81d068013c58fb6f4e04bd9c0267c4c5ec1f1b254770ba6f5e43a645093c84a477d903e5d981c89532732c840e2026ba40a0
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..b1685ba50f2b
--- /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.org/project/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="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~amd64-fbsd ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
+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}"
+}