diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-05-16 13:10:10 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-05-16 13:10:10 +0200 |
commit | 3c87337c02b8d0ca6c35d079005c50f7d707b554 (patch) | |
tree | e6c6fe1a2203bafe059856bc5be518585ae40130 /dev-python/jsonref | |
parent | app-emulation/wine-vanilla: Bump to 2.8 (diff) | |
download | gentoo-3c87337c02b8d0ca6c35d079005c50f7d707b554.tar.gz gentoo-3c87337c02b8d0ca6c35d079005c50f7d707b554.tar.bz2 gentoo-3c87337c02b8d0ca6c35d079005c50f7d707b554.zip |
dev-python/jsonref: Add python3_6, add tests
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/jsonref')
-rw-r--r-- | dev-python/jsonref/jsonref-0.1.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dev-python/jsonref/jsonref-0.1.ebuild b/dev-python/jsonref/jsonref-0.1.ebuild index 47c7cf272c50..b065699eaea7 100644 --- a/dev-python/jsonref/jsonref-0.1.ebuild +++ b/dev-python/jsonref/jsonref-0.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) inherit eutils distutils-r1 @@ -13,7 +13,10 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="test" -DEPEND="" -RDEPEND="${DEPEND}" +DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test tests.py || die +} |