commit: c2f56708f7a84ca518c99a43b3b1a7a8d0b705a1 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Thu May 11 13:21:14 2017 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Thu May 11 13:21:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f56708
dev-python/sexpdata: Add python3_6 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild b/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild index 1a0df6e0c20..5fec53a2f4f 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 +}