1 |
commit: 850e9765e509d9fcce2af81c2181d7b513b20496 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 11 08:07:31 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 11 08:08:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850e9765 |
7 |
|
8 |
games-util/lutris: Synced live ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.6, Repoman-3.0.1 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-util/lutris/lutris-9999.ebuild | 30 +++++++++++++++--------------- |
14 |
1 file changed, 15 insertions(+), 15 deletions(-) |
15 |
|
16 |
diff --git a/games-util/lutris/lutris-9999.ebuild b/games-util/lutris/lutris-9999.ebuild |
17 |
index 11cbc20a448..4052ada5d97 100644 |
18 |
--- a/games-util/lutris/lutris-9999.ebuild |
19 |
+++ b/games-util/lutris/lutris-9999.ebuild |
20 |
@@ -5,6 +5,7 @@ EAPI=7 |
21 |
|
22 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
23 |
PYTHON_REQ_USE="sqlite,threads(+)" |
24 |
+DISTUTILS_SINGLE_IMPL="1" |
25 |
|
26 |
inherit distutils-r1 virtualx xdg |
27 |
|
28 |
@@ -26,19 +27,25 @@ SLOT="0" |
29 |
RESTRICT="!test? ( test )" |
30 |
|
31 |
BDEPEND=" |
32 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
33 |
+ test? ( |
34 |
+ $(python_gen_cond_dep ' |
35 |
+ dev-python/nose[${PYTHON_USEDEP}] |
36 |
+ ') |
37 |
+ ) |
38 |
" |
39 |
RDEPEND=" |
40 |
app-arch/cabextract |
41 |
app-arch/p7zip |
42 |
app-arch/unrar |
43 |
app-arch/unzip |
44 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
45 |
- dev-python/pillow[${PYTHON_USEDEP}] |
46 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
47 |
- dev-python/python-evdev[${PYTHON_USEDEP}] |
48 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
49 |
- dev-python/requests[${PYTHON_USEDEP}] |
50 |
+ $(python_gen_cond_dep ' |
51 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
52 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
53 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
54 |
+ dev-python/python-evdev[${PYTHON_USEDEP}] |
55 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
56 |
+ dev-python/requests[${PYTHON_USEDEP}] |
57 |
+ ') |
58 |
gnome-base/gnome-desktop:3[introspection] |
59 |
media-sound/fluid-soundfont |
60 |
net-libs/libsoup |
61 |
@@ -53,16 +60,13 @@ RDEPEND=" |
62 |
python_install_all() { |
63 |
local DOCS=( AUTHORS README.rst docs/installers.rst ) |
64 |
distutils-r1_python_install_all |
65 |
+ python_fix_shebang "${ED}"/usr/share/lutris/bin/lutris-wrapper #740048 |
66 |
} |
67 |
|
68 |
python_test() { |
69 |
virtx nosetests -v |
70 |
} |
71 |
|
72 |
-pkg_preinst() { |
73 |
- xdg_pkg_preinst |
74 |
-} |
75 |
- |
76 |
pkg_postinst() { |
77 |
xdg_pkg_postinst |
78 |
|
79 |
@@ -72,7 +76,3 @@ pkg_postinst() { |
80 |
elog "in ${EROOT}/usr/share/doc/${PF}/installers.rst.bz2, and is also" |
81 |
elog "available online at lutris.net." |
82 |
} |
83 |
- |
84 |
-pkg_postrm() { |
85 |
- xdg_pkg_postrm |
86 |
-} |