summaryrefslogtreecommitdiff
path: root/dev-python/pytest-raisesregexp
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-raisesregexp
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pytest-raisesregexp')
-rw-r--r--dev-python/pytest-raisesregexp/Manifest3
-rw-r--r--dev-python/pytest-raisesregexp/metadata.xml8
-rw-r--r--dev-python/pytest-raisesregexp/pytest-raisesregexp-2.1.ebuild32
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pytest-raisesregexp/Manifest b/dev-python/pytest-raisesregexp/Manifest
new file mode 100644
index 000000000000..9f7866b83f43
--- /dev/null
+++ b/dev-python/pytest-raisesregexp/Manifest
@@ -0,0 +1,3 @@
+DIST pytest-raisesregexp-2.1.tar.gz 3159 BLAKE2B dc1d45be8758c2e79e9dece38b6499d4d6e797e38dc4be58e9ab8fd67321683884a1f510107b1d0c3578e04d8364a939dc7528c6873457e0a5a2c104f1fb1659 SHA512 2d54413c3e5e1aa203738d5b1ad67cc478a0e57a5d5340908bee7d1da23702f52de45e6b7503b7122075733bde2b83080b20d563d4a485688dd889c7e1421130
+EBUILD pytest-raisesregexp-2.1.ebuild 749 BLAKE2B b738e72115d4886c9f4b951308c791daa15c3258822c8ec0db1b544737135f2ba86d21d405d3674c612b96e5c1a4e1590fecec28e6e56f9d072672e7ef018190 SHA512 12be2aca36421b5642aed663a3e0038be74cd1cd5a161baee1b3e8e98f205802353e15f93bd4c560fd51c74c3dd3a04f20857af2b3fd4f80773dedaec48d2ce5
+MISC metadata.xml 288 BLAKE2B cb1c92a235a60e0fd2f8c27429db7c53fb34a6fb06b78ed192182ad04c9ab8b2edbb1e04d5798454bbe3c5efddc1ef9415e5eafbafb5bb755f2fae0da7727371 SHA512 3b80ec45cab82572d317cfa40e56084c3c36223aa0999cec2fe7cd68606de53e2064a7c2cdbee7426738bb0c2dbe4eef2d3135ca9a4514c4703ad9182b8594dd
diff --git a/dev-python/pytest-raisesregexp/metadata.xml b/dev-python/pytest-raisesregexp/metadata.xml
new file mode 100644
index 000000000000..22bc687de822
--- /dev/null
+++ b/dev-python/pytest-raisesregexp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">Walkman/pytest_raisesregexp</remote-id>
+ <remote-id type="pypi">pytest-raisesregexp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pytest-raisesregexp/pytest-raisesregexp-2.1.ebuild b/dev-python/pytest-raisesregexp/pytest-raisesregexp-2.1.ebuild
new file mode 100644
index 000000000000..5b7c052dde62
--- /dev/null
+++ b/dev-python/pytest-raisesregexp/pytest-raisesregexp-2.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_4 python3_{5,6} )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="Simple pytest plugin to look for regex in Exceptions"
+HOMEPAGE="https://github.com/Walkman/pytest_raisesregexp"
+SRC_URI="https://github.com/kissgyorgy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${CDEPEND} )
+"
+RDEPEND="
+ ${CDEPEND}
+ dev-python/py[${PYTHON_USEDEP}]
+"
+
+python_test() {
+ distutils_install_for_testing
+ ${PYTHON} -m pytest || die "Tests failed under ${EPYTHON}"
+}