1 |
commit: 08dbd2ec6914cd9a37a9ab446d0ab4ffb3eabb8e |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 1 23:52:51 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 2 00:03:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08dbd2ec |
7 |
|
8 |
games-util/lutris: EAPI-7 bump, add missing RDEPENDs, python3_7, xdg |
9 |
|
10 |
Thanks-to: Corentin `nado` Pazdera <nado <AT> troglodyte.be> |
11 |
Closes: https://bugs.gentoo.org/667054 |
12 |
Closes: https://bugs.gentoo.org/662374 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/10795 |
14 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
games-util/lutris/lutris-0.4.23.ebuild | 49 ++++++++++++++++++++-------------- |
18 |
1 file changed, 29 insertions(+), 20 deletions(-) |
19 |
|
20 |
diff --git a/games-util/lutris/lutris-0.4.23.ebuild b/games-util/lutris/lutris-0.4.23.ebuild |
21 |
index e99755e0f68..5f92d60797f 100644 |
22 |
--- a/games-util/lutris/lutris-0.4.23.ebuild |
23 |
+++ b/games-util/lutris/lutris-0.4.23.ebuild |
24 |
@@ -1,17 +1,17 @@ |
25 |
-# Copyright 1999-2018 Gentoo Authors |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=6 |
30 |
+EAPI=7 |
31 |
|
32 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
33 |
-PYTHON_REQ_USE="sqlite" |
34 |
+PYTHON_COMPAT=( python3_{4,5,6,7} ) |
35 |
+PYTHON_REQ_USE="sqlite,threads(+)" |
36 |
|
37 |
-inherit distutils-r1 gnome2-utils xdg-utils |
38 |
+inherit distutils-r1 virtualx xdg |
39 |
|
40 |
DESCRIPTION="An open source gaming platform for GNU/Linux" |
41 |
HOMEPAGE="https://lutris.net/" |
42 |
|
43 |
-if [[ "${PV}" == "9999" ]] ; then |
44 |
+if [[ ${PV} == *9999* ]] ; then |
45 |
EGIT_REPO_URI="https://github.com/lutris/${PN}.git" |
46 |
inherit git-r3 |
47 |
else |
48 |
@@ -22,29 +22,38 @@ fi |
49 |
LICENSE="GPL-3" |
50 |
SLOT="0" |
51 |
|
52 |
+BDEPEND=" |
53 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
54 |
+" |
55 |
RDEPEND=" |
56 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
57 |
+ app-arch/cabextract |
58 |
+ app-arch/p7zip |
59 |
+ app-arch/unrar |
60 |
+ app-arch/unzip |
61 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
62 |
dev-python/python-evdev[${PYTHON_USEDEP}] |
63 |
dev-python/pyyaml[${PYTHON_USEDEP}] |
64 |
net-libs/libsoup |
65 |
+ x11-apps/xgamma |
66 |
x11-apps/xrandr |
67 |
- x11-apps/xgamma" |
68 |
+ x11-libs/gtk+:3[introspection] |
69 |
+" |
70 |
|
71 |
-src_install() { |
72 |
- distutils-r1_src_install |
73 |
- newdoc debian/changelog CHANGELOG |
74 |
+python_install_all() { |
75 |
+ local DOCS=( AUTHORS README.rst docs/installers.rst ) |
76 |
+ distutils-r1_python_install_all |
77 |
} |
78 |
|
79 |
-pkg_postinst() { |
80 |
- gnome2_icon_cache_update |
81 |
- xdg_desktop_database_update |
82 |
- |
83 |
- elog "For a list of optional dependencies (runners) see:" |
84 |
- elog "/usr/share/doc/${PF}/README.rst.bz2" |
85 |
+python_test() { |
86 |
+ virtx nosetests -v || die |
87 |
} |
88 |
|
89 |
-pkg_postrm() { |
90 |
- gnome2_icon_cache_update |
91 |
- xdg_desktop_database_update |
92 |
+pkg_postinst() { |
93 |
+ xdg_pkg_postinst |
94 |
+ |
95 |
+ # Quote README.rst |
96 |
+ elog "Lutris installations are fully automated through scripts, which can" |
97 |
+ elog "be written in either JSON or YAML. The scripting syntax is described" |
98 |
+ elog "in ${EROOT%/}/usr/share/doc/${PF}/installers.rst.bz2, and is also" |
99 |
+ elog "available online at lutris.net." |
100 |
} |