dev-python/pyaes: Add python3_6, add tests
authorManuel Rüger <mrueg@gentoo.org>
Tue, 16 May 2017 12:19:40 +0000 (14:19 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Tue, 16 May 2017 12:19:40 +0000 (14:19 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-python/pyaes/pyaes-1.6.0.ebuild

index 39724be2a32bc64b336852b0eb9760f06f4951b0..839a967746df208bf5f567dc399f2e86f0222636 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 
@@ -16,4 +16,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPENDS="dev-python/setuptools"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+       ${EPYTHON} tests/test-{aes,blockfeeder,util}.py || die
+}