From 162945d2a91899b637bbb9e163b406350de12906 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Oct 2021 19:43:03 +0100 Subject: gentoo resync : 30.10.2021 --- games-util/lutris/lutris-9999.ebuild | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'games-util/lutris/lutris-9999.ebuild') diff --git a/games-util/lutris/lutris-9999.ebuild b/games-util/lutris/lutris-9999.ebuild index 4ca63a7a2a1f..fa2c19860a63 100644 --- a/games-util/lutris/lutris-9999.ebuild +++ b/games-util/lutris/lutris-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite,threads(+)" DISTUTILS_SINGLE_IMPL="1" @@ -54,26 +54,17 @@ RDEPEND=" x11-libs/libnotify[introspection] " -distutils_enable_tests nose +distutils_enable_tests pytest -src_prepare() { - default - - # Avoid test failure: - # "ERROR: Failure: OSError (data_path can't be found at : /usr/share/lutris)" - sed -i -e "s:sys.path\[0\]:\"${S}/share\":" lutris/util/datapath.py || die - - distutils-r1_src_prepare -} +DOCS=( AUTHORS README.rst docs/installers.rst docs/steam.rst ) python_test() { - virtx nosetests -v + virtx epytest } python_install_all() { - local DOCS=( AUTHORS README.rst docs/installers.rst ) distutils-r1_python_install_all - python_fix_shebang "${ED}"/usr/share/lutris/bin/lutris-wrapper #740048 + python_fix_shebang "${ED}/usr/share/lutris/bin/lutris-wrapper" #740048 } pkg_postinst() { -- cgit v1.2.3