summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@gentoo.org>2016-03-20 15:43:04 -0500
committerAlex Brandt <alunduil@gentoo.org>2016-03-20 15:43:04 -0500
commit3098b4658034fd8d6603e72707c76c9fd459211a (patch)
tree5717f269b82a3dd35072d9e249008791f0de0802 /dev-python/pytest-raisesregexp
parentsci-misc/boinc: New ebuild boinc-7.6.31.ebuild (diff)
downloadgentoo-3098b4658034fd8d6603e72707c76c9fd459211a.tar.gz
gentoo-3098b4658034fd8d6603e72707c76c9fd459211a.tar.bz2
gentoo-3098b4658034fd8d6603e72707c76c9fd459211a.zip
dev-python/pytest-raisesregexp: add version 2.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/pytest-raisesregexp')
-rw-r--r--dev-python/pytest-raisesregexp/Manifest1
-rw-r--r--dev-python/pytest-raisesregexp/pytest-raisesregexp-2.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/pytest-raisesregexp/Manifest b/dev-python/pytest-raisesregexp/Manifest
index fabbe5359a62..903dac6329c5 100644
--- a/dev-python/pytest-raisesregexp/Manifest
+++ b/dev-python/pytest-raisesregexp/Manifest
@@ -1 +1,2 @@
DIST pytest-raisesregexp-2.0.tar.gz 2474 SHA256 0fde8aac1a54f9b56e5f9c61fda76727542ed24968c27c6e3688c6f1885f1e61 SHA512 790de1dd7d8c11455829a1c5b19b93bd1108626b539cb539466f262702ebc3e0cdd954f47c6a3210f3b127870ea86ce47ab2c25814d62d503508f3ac96b1bbc0 WHIRLPOOL 0f7eca4584bc9a61fae8324635ee4be2575530c97ad7413ee090e76658ba358a6c44461f66afc905e29c1f52cad9169d4cdb15e78f7a3d19a978f97d157b9d1a
+DIST pytest-raisesregexp-2.1.tar.gz 3159 SHA256 06fffc525bb688e0823d0db8fd7d87f885067f5b08b8f1ab2e337a8f45a39978 SHA512 2d54413c3e5e1aa203738d5b1ad67cc478a0e57a5d5340908bee7d1da23702f52de45e6b7503b7122075733bde2b83080b20d563d4a485688dd889c7e1421130 WHIRLPOOL 70426c760060d4e10defab2694ae5dd5b6d229cad2919e487a72588b72438ce47c6c5098b3ada7570ca5d440be7d9a4c20b882e88068b6406e349daef2a176e5
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..6f09d3b561b9
--- /dev/null
+++ b/dev-python/pytest-raisesregexp/pytest-raisesregexp-2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+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}"
+}