From f487b959e29b56d12ae3293edd5778a65c24ec8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 18 Nov 2019 10:48:47 +0100 Subject: [PATCH] dev-python/pyxattr: Enable py3.8, remove nose dep MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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 -- 2.26.2