summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-09-11 10:07:31 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-09-11 10:08:59 +0200
commit850e9765e509d9fcce2af81c2181d7b513b20496 (patch)
tree12ef3e8256099fe835f31e825e246616d1be8503 /games-util
parentgames-util/lutris: Bump to version 0.5.7.1 (diff)
downloadgentoo-850e9765e509d9fcce2af81c2181d7b513b20496.tar.gz
gentoo-850e9765e509d9fcce2af81c2181d7b513b20496.tar.bz2
gentoo-850e9765e509d9fcce2af81c2181d7b513b20496.zip
games-util/lutris: Synced live ebuild
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/lutris/lutris-9999.ebuild30
1 files changed, 15 insertions, 15 deletions
diff --git a/games-util/lutris/lutris-9999.ebuild b/games-util/lutris/lutris-9999.ebuild
index 11cbc20a4482..4052ada5d976 100644
--- a/games-util/lutris/lutris-9999.ebuild
+++ b/games-util/lutris/lutris-9999.ebuild
@@ -5,6 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="sqlite,threads(+)"
+DISTUTILS_SINGLE_IMPL="1"
inherit distutils-r1 virtualx xdg
@@ -26,19 +27,25 @@ SLOT="0"
RESTRICT="!test? ( test )"
BDEPEND="
- test? ( dev-python/nose[${PYTHON_USEDEP}] )
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/nose[${PYTHON_USEDEP}]
+ ')
+ )
"
RDEPEND="
app-arch/cabextract
app-arch/p7zip
app-arch/unrar
app-arch/unzip
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pillow[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/python-evdev[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/python-evdev[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ ')
gnome-base/gnome-desktop:3[introspection]
media-sound/fluid-soundfont
net-libs/libsoup
@@ -53,16 +60,13 @@ RDEPEND="
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_test() {
virtx nosetests -v
}
-pkg_preinst() {
- xdg_pkg_preinst
-}
-
pkg_postinst() {
xdg_pkg_postinst
@@ -72,7 +76,3 @@ pkg_postinst() {
elog "in ${EROOT}/usr/share/doc/${PF}/installers.rst.bz2, and is also"
elog "available online at lutris.net."
}
-
-pkg_postrm() {
- xdg_pkg_postrm
-}