1 |
commit: d09e23d78db4632f8d5e72382eca67be5d4e91d1 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 21:23:17 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 21:24:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09e23d7 |
7 |
|
8 |
app-emulation/fs-uae-launcher: Fix following eclass changes, add Py3.8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/718372 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
.../fs-uae-launcher/fs-uae-launcher-3.0.3.ebuild | 20 ++++++++++---------- |
15 |
1 file changed, 10 insertions(+), 10 deletions(-) |
16 |
|
17 |
diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.3.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.3.ebuild |
18 |
index 53aa235293c..14013d591da 100644 |
19 |
--- a/app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.3.ebuild |
20 |
+++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.3.ebuild |
21 |
@@ -3,10 +3,11 @@ |
22 |
|
23 |
EAPI=7 |
24 |
|
25 |
-PYTHON_COMPAT=( python3_{6,7} ) |
26 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
27 |
DISTUTILS_SINGLE_IMPL=1 |
28 |
+DISTUTILS_USE_SETUPTOOLS=no |
29 |
|
30 |
-inherit distutils-r1 xdg-utils |
31 |
+inherit distutils-r1 xdg |
32 |
|
33 |
DESCRIPTION="PyQt5-based launcher for FS-UAE" |
34 |
HOMEPAGE="https://fs-uae.net/" |
35 |
@@ -26,7 +27,7 @@ RDEPEND=" |
36 |
') |
37 |
" |
38 |
|
39 |
-DEPEND=" |
40 |
+BDEPEND=" |
41 |
sys-devel/gettext |
42 |
" |
43 |
|
44 |
@@ -39,19 +40,21 @@ src_prepare() { |
45 |
|
46 |
# Unbundle OpenGL library. Keep oyoyo IRC library because upstream |
47 |
# is long dead and it's not worth packaging separately. |
48 |
- rm -r OpenGL || die |
49 |
+ rm -r OpenGL/ || die |
50 |
sed -i -r "/OpenGL/d" setup.py || die |
51 |
} |
52 |
|
53 |
-src_compile() { |
54 |
+python_compile_all() { |
55 |
emake |
56 |
} |
57 |
|
58 |
-src_install() { |
59 |
+python_install() { |
60 |
local dir=${EPREFIX}/usr/share/${PN} |
61 |
distutils-r1_python_install --install-lib="${dir}" --install-scripts="${dir}" |
62 |
- dosym ../share/${PN}/${PN} /usr/bin/${PN} |
63 |
+} |
64 |
|
65 |
+python_install_all() { |
66 |
+ dosym ../share/${PN}/${PN} /usr/bin/${PN} |
67 |
emake install-data DESTDIR="${D}" prefix="${EPREFIX}"/usr |
68 |
mv "${ED}"/usr/share/doc/{${PN},${PF}} || die |
69 |
} |
70 |
@@ -73,6 +76,3 @@ pkg_postinst() { |
71 |
elog " Alternatively, you can start FS-UAE and/or FS-UAE Launcher with" |
72 |
elog " --base-dir=/path/to/desired/dir" |
73 |
} |
74 |
- |
75 |
-pkg_postinst() { xdg_icon_cache_update; } |
76 |
-pkg_postrm() { xdg_icon_cache_update; } |