dev-python/whelk: Add tests, add python3_{5,6}
authorManuel Rüger <mrueg@gentoo.org>
Mon, 5 Jun 2017 17:42:27 +0000 (19:42 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 5 Jun 2017 17:42:27 +0000 (19:42 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-python/whelk/whelk-2.7.1.ebuild

index 2da1fa7233f70b08b9bd07616428120318aa69bc..62139f41888cf4eb6944c579d6dd64e3091331c1 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 
@@ -16,5 +16,6 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
+python_test() {
+       ${EPYTHON} -m unittest discover || die
+}