summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@gentoo.org>2015-10-31 20:03:17 -0500
committerAlex Brandt <alunduil@gentoo.org>2015-10-31 20:03:17 -0500
commit188f6a2146ca1fdbdf197e625b615823656f3cf6 (patch)
tree740c847a8ec9747e545de92c90d423f5fd16bd19 /dev-python/pytest-raisesregexp
parentdev-python/stormpath: remove version 2.0.8 (diff)
downloadgentoo-188f6a2146ca1fdbdf197e625b615823656f3cf6.tar.gz
gentoo-188f6a2146ca1fdbdf197e625b615823656f3cf6.tar.bz2
gentoo-188f6a2146ca1fdbdf197e625b615823656f3cf6.zip
dev-python/pytest-raisesregexp: add version 2.0
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-python/pytest-raisesregexp')
-rw-r--r--dev-python/pytest-raisesregexp/Manifest1
-rw-r--r--dev-python/pytest-raisesregexp/metadata.xml10
-rw-r--r--dev-python/pytest-raisesregexp/pytest-raisesregexp-2.0.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..fabbe5359a62
--- /dev/null
+++ b/dev-python/pytest-raisesregexp/Manifest
@@ -0,0 +1 @@
+DIST pytest-raisesregexp-2.0.tar.gz 2474 SHA256 0fde8aac1a54f9b56e5f9c61fda76727542ed24968c27c6e3688c6f1885f1e61 SHA512 790de1dd7d8c11455829a1c5b19b93bd1108626b539cb539466f262702ebc3e0cdd954f47c6a3210f3b127870ea86ce47ab2c25814d62d503508f3ac96b1bbc0 WHIRLPOOL 0f7eca4584bc9a61fae8324635ee4be2575530c97ad7413ee090e76658ba358a6c44461f66afc905e29c1f52cad9169d4cdb15e78f7a3d19a978f97d157b9d1a
diff --git a/dev-python/pytest-raisesregexp/metadata.xml b/dev-python/pytest-raisesregexp/metadata.xml
new file mode 100644
index 000000000000..02be8c5eb78f
--- /dev/null
+++ b/dev-python/pytest-raisesregexp/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>alunduil@gentoo.org</email>
+ <name>Alex Brandt</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/pytest-raisesregexp/pytest-raisesregexp-2.0.ebuild b/dev-python/pytest-raisesregexp/pytest-raisesregexp-2.0.ebuild
new file mode 100644
index 000000000000..95d8396250d5
--- /dev/null
+++ b/dev-python/pytest-raisesregexp/pytest-raisesregexp-2.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_4 )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple pytest plugin to look for regex in Exceptions"
+HOMEPAGE="https://github.com/Walkman/pytest_raisesregexp"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+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() {
+ ${PYTHON} -m pytest || die "Tests failed under ${EPYTHON}"
+}