All reverse deps are ported to python3, fix tests
Thanks-to: Agostino Sarubbo
Closes: https://bugs.gentoo.org/720064
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
DESCRIPTION="A setuptools_scm plugin for git archives"
"
RDEPEND="${DEPEND}"
+distutils_enable_tests pytest
+
src_prepare() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
distutils-r1_src_prepare
}
python_test() {
- esetup.py test
+ pytest tests.py || die
}