diff --git a/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild b/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild index 1a0df6e0c2068..5fec53a2f4fe7 100644 --- a/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild +++ b/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild @@ -1,9 +1,9 @@ -# 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=(python{2_7,3_4,3_5}) +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6}) inherit distutils-r1 @@ -13,8 +13,11 @@ SRC_URI="https://github.com/tkf/sexpdata/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" +KEYWORDS="~amd64 ~x86" +IUSE="test" -DEPEND="" -RDEPEND="" +DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_test() { + nosetests || die +}