summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-05-11 15:21:14 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-05-11 15:21:14 +0200
commitc2f56708f7a84ca518c99a43b3b1a7a8d0b705a1 (patch)
tree24ea92858fcebf7ea4ba904eb1a17a969070ac2a /dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild
parentdev-python/kivy-garden: Add python3_6 (diff)
downloadgentoo-c2f56708f7a84ca518c99a43b3b1a7a8d0b705a1.tar.gz
gentoo-c2f56708f7a84ca518c99a43b3b1a7a8d0b705a1.tar.bz2
gentoo-c2f56708f7a84ca518c99a43b3b1a7a8d0b705a1.zip
dev-python/sexpdata: Add python3_6
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild')
-rw-r--r--dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild15
1 files 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 1a0df6e0c206..5fec53a2f4fe 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
+}