diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-11-09 09:35:26 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-11-09 12:49:41 +0100 |
commit | 60761119fcae5935b396c1d3638837c2ec0b9c3d (patch) | |
tree | 6afb8944a21a92833d81f52aa4d442e114414348 /dev-python/pytest-cache | |
parent | dev-python/pytest-xprocess: New package written by me (diff) | |
download | gentoo-60761119fcae5935b396c1d3638837c2ec0b9c3d.tar.gz gentoo-60761119fcae5935b396c1d3638837c2ec0b9c3d.tar.bz2 gentoo-60761119fcae5935b396c1d3638837c2ec0b9c3d.zip |
dev-python/pytest-cache: Add tests
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pytest-cache')
-rw-r--r-- | dev-python/pytest-cache/pytest-cache-1.0.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/pytest-cache/pytest-cache-1.0.ebuild b/dev-python/pytest-cache/pytest-cache-1.0.ebuild index d63baad11809..2ac38abff73a 100644 --- a/dev-python/pytest-cache/pytest-cache-1.0.ebuild +++ b/dev-python/pytest-cache/pytest-cache-1.0.ebuild @@ -15,9 +15,17 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" +IUSE="test" RDEPEND="" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " + +# https://bitbucket.org/hpk42/pytest-cache/issues/12 +RESTRICT=test + +python_test() { + PYTEST_PLUGINS="pytest_cache" py.test -v -v || die +} |