From: Michał Górny Date: Mon, 18 Nov 2019 09:48:47 +0000 (+0100) Subject: dev-python/pyxattr: Enable py3.8, remove nose dep X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f487b959e29b56d12ae3293edd5778a65c24ec8f;p=gentoo.git dev-python/pyxattr: Enable py3.8, remove nose dep Signed-off-by: Michał Górny --- diff --git a/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild b/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild index 5ce00c43a28a..b31d3d000ed2 100644 --- a/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild +++ b/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) inherit distutils-r1 eutils @@ -14,14 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" +IUSE="doc" RDEPEND="sys-apps/attr" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" + doc? ( >=dev-python/sphinx-1.3.1 )" + +distutils_enable_tests unittest python_prepare_all() { sed -i -e 's:, "-Werror"::' setup.py || die @@ -56,10 +56,6 @@ src_test() { distutils-r1_src_test } -python_test() { - nosetests -v || die "Tests fail with ${EPYTHON}" -} - python_install_all() { use doc && local HTML_DOCS=( doc/html/. ) distutils-r1_python_install_all