From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/pytest-subtesthack/Manifest | 3 +++ dev-python/pytest-subtesthack/metadata.xml | 11 ++++++++ .../pytest-subtesthack-0.1.1.ebuild | 30 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 dev-python/pytest-subtesthack/Manifest create mode 100644 dev-python/pytest-subtesthack/metadata.xml create mode 100644 dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild (limited to 'dev-python/pytest-subtesthack') diff --git a/dev-python/pytest-subtesthack/Manifest b/dev-python/pytest-subtesthack/Manifest new file mode 100644 index 000000000000..e8a6d10f6c5b --- /dev/null +++ b/dev-python/pytest-subtesthack/Manifest @@ -0,0 +1,3 @@ +DIST pytest-subtesthack-0.1.1.tar.gz 2410 BLAKE2B 3d41950ad46bb07da145db7f88eba7eb34a2bbb99273f47d2443cae5ab0e11737f1c2fe81bf473180178b2ad9e55b252c7717846f1b010cc58fb1bf61380d003 SHA512 0bf6425b535e65dc7f06f74493d10fbb6451e78a817174638661d7525f39f092f67db8da010228cbd54b400485e71e443118f91ebef660b9c00d2b354062a55f +EBUILD pytest-subtesthack-0.1.1.ebuild 806 BLAKE2B 9fdc0707312f101c37e593689af8a756417714d6013f6eb5c886d30724d2748d1b71ea8744d0973e764104012cefa09d02f989ab86ee49fab522453e5746b5a9 SHA512 1e5e6c65aa77268ae0cc47c8694249f0f9c79fb0b0fd1baaa9bd2f476fcc6cb44b37e692a3c421a61a967454b5c37f6f857d0f8908fc9ce1c75c9d1b462de426 +MISC metadata.xml 321 BLAKE2B c9b07273af601a4874a8e2790c84350cbd5ca4218c4604de564b8a714a946106ef74ee744bafff29f160a4ab3bb6abd35c49a66cff74c83698a0a6f57b843bd7 SHA512 f1c6901c39e0eaaf79917b0699ae5d7dc9a94b15ed2db4ff08f0e3f2bfdaa567e3848474934bb4d8aafe56198536a4ff8f5a6b4379c2238ee20e4a718bfd9a58 diff --git a/dev-python/pytest-subtesthack/metadata.xml b/dev-python/pytest-subtesthack/metadata.xml new file mode 100644 index 000000000000..6979d31debc3 --- /dev/null +++ b/dev-python/pytest-subtesthack/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + pytest-subtesthack + + diff --git a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild new file mode 100644 index 000000000000..5213ff6241fa --- /dev/null +++ b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit distutils-r1 + +DESCRIPTION="A hack for test fixtures, needed for hypothesis inside py.test" +HOMEPAGE="https://github.com/untitaker/pytest-subtesthack/" +# pypi tarball misses tests +SRC_URI="https://github.com/untitaker/pytest-subtesthack/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + distutils_install_for_testing + py.test -v || die "Tests fail with ${EPYTHON}" +} -- cgit v1.2.3