From: Andreas Zuber Date: Tue, 28 Apr 2020 08:01:55 +0000 (+0200) Subject: games-util/pyfa: update live ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff3e36fdc2d872ce44233f965a73c31981e7ded6;p=gentoo.git games-util/pyfa: update live ebuild Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Andreas Zuber Closes: https://github.com/gentoo/gentoo/pull/15552 Signed-off-by: Joonas Niilola --- diff --git a/games-util/pyfa/pyfa-9999.ebuild b/games-util/pyfa/pyfa-9999.ebuild index 145ca005c0d1..254447e150c8 100644 --- a/games-util/pyfa/pyfa-9999.ebuild +++ b/games-util/pyfa/pyfa-9999.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="sqlite,threads" + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="sqlite" inherit desktop eutils python-single-r1 xdg-utils @@ -18,9 +19,9 @@ if [[ ${PV} = 9999 ]]; then else SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" - S=${WORKDIR}/Pyfa-${PV} + S="${WORKDIR}/Pyfa-${PV}" fi -IUSE="" + REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="mirror bindist" @@ -49,7 +50,7 @@ BDEPEND="app-arch/zip" PATCHES=( # fix import path in the main script for systemwide installation "${FILESDIR}/${PN}-2.9.3-import-pyfa.patch" - ) +) src_prepare() { # get rid of CRLF line endings introduced in 1.1.10 so patches work