public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/fs-uae-launcher/
Date: Thu, 23 Apr 2020 21:24:30 +0000 (UTC)	[thread overview]
Message-ID: <1587677053.d09e23d78db4632f8d5e72382eca67be5d4e91d1.chewi@gentoo> (raw)

commit:     d09e23d78db4632f8d5e72382eca67be5d4e91d1
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 23 21:23:17 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Apr 23 21:24:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09e23d7

app-emulation/fs-uae-launcher: Fix following eclass changes, add Py3.8

Closes: https://bugs.gentoo.org/718372
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../fs-uae-launcher/fs-uae-launcher-3.0.3.ebuild     | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

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
index 53aa235293c..14013d591da 100644
--- 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
@@ -3,10 +3,11 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=no
 
-inherit distutils-r1 xdg-utils
+inherit distutils-r1 xdg
 
 DESCRIPTION="PyQt5-based launcher for FS-UAE"
 HOMEPAGE="https://fs-uae.net/"
@@ -26,7 +27,7 @@ RDEPEND="
 	')
 "
 
-DEPEND="
+BDEPEND="
 	sys-devel/gettext
 "
 
@@ -39,19 +40,21 @@ src_prepare() {
 
 	# Unbundle OpenGL library. Keep oyoyo IRC library because upstream
 	# is long dead and it's not worth packaging separately.
-	rm -r OpenGL || die
+	rm -r OpenGL/ || die
 	sed -i -r "/OpenGL/d" setup.py || die
 }
 
-src_compile() {
+python_compile_all() {
 	emake
 }
 
-src_install() {
+python_install() {
 	local dir=${EPREFIX}/usr/share/${PN}
 	distutils-r1_python_install --install-lib="${dir}" --install-scripts="${dir}"
-	dosym ../share/${PN}/${PN} /usr/bin/${PN}
+}
 
+python_install_all() {
+	dosym ../share/${PN}/${PN} /usr/bin/${PN}
 	emake install-data DESTDIR="${D}" prefix="${EPREFIX}"/usr
 	mv "${ED}"/usr/share/doc/{${PN},${PF}} || die
 }
@@ -73,6 +76,3 @@ pkg_postinst() {
 	elog "   Alternatively, you can start FS-UAE and/or FS-UAE Launcher with"
 	elog "   --base-dir=/path/to/desired/dir"
 }
-
-pkg_postinst() { xdg_icon_cache_update; }
-pkg_postrm() { xdg_icon_cache_update; }


             reply	other threads:[~2020-04-23 21:24 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 21:24 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-09 15:16 [gentoo-commits] repo/gentoo:master commit in: app-emulation/fs-uae-launcher/ James Le Cuirot
2023-02-18 14:09 James Le Cuirot
2023-02-18 14:09 James Le Cuirot
2022-01-30 11:39 James Le Cuirot
2022-01-30 11:39 James Le Cuirot
2021-12-27  9:27 James Le Cuirot
2021-12-27  9:27 James Le Cuirot
2021-12-18 12:08 James Le Cuirot
2021-12-18  9:37 James Le Cuirot
2021-12-18  9:37 James Le Cuirot
2021-11-27  9:12 James Le Cuirot
2021-11-27  9:12 James Le Cuirot
2021-11-22 23:22 James Le Cuirot
2021-11-22 23:22 James Le Cuirot
2021-11-19 20:17 Arthur Zamarin
2021-11-15 23:29 James Le Cuirot
2021-11-15 23:29 James Le Cuirot
2021-10-16 23:10 James Le Cuirot
2021-10-16 11:43 James Le Cuirot
2021-02-27  8:57 James Le Cuirot
2020-04-28 23:12 James Le Cuirot
2019-11-21 23:49 James Le Cuirot
2019-11-21 23:49 James Le Cuirot
2019-05-08 19:57 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587677053.d09e23d78db4632f8d5e72382eca67be5d4e91d1.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox