public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/mbpfan/
Date: Sun, 31 Jul 2022 22:52:01 +0000 (UTC)	[thread overview]
Message-ID: <1659307905.d107e7dadcc808bedfb6d0ff9cb1f161ce5db0e2.soap@gentoo> (raw)

commit:     d107e7dadcc808bedfb6d0ff9cb1f161ce5db0e2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 22:51:45 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 22:51:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d107e7da

app-laptop/mbpfan: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../{mbpfan-2.2.1.ebuild => mbpfan-2.2.1-r1.ebuild}     | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/app-laptop/mbpfan/mbpfan-2.2.1.ebuild b/app-laptop/mbpfan/mbpfan-2.2.1-r1.ebuild
similarity index 84%
rename from app-laptop/mbpfan/mbpfan-2.2.1.ebuild
rename to app-laptop/mbpfan/mbpfan-2.2.1-r1.ebuild
index e1a4cb35e935..1bbd3102e15e 100644
--- a/app-laptop/mbpfan/mbpfan-2.2.1.ebuild
+++ b/app-laptop/mbpfan/mbpfan-2.2.1-r1.ebuild
@@ -1,17 +1,14 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit linux-info systemd toolchain-funcs
 
 DESCRIPTION="A simple daemon to control fan speed on all Macbook/Macbook Pros"
 HOMEPAGE="https://github.com/dgraziotin/mbpfan"
-LICENSE="GPL-3+"
-SLOT="0"
-RESTRICT="test" # will fail if the hardware is unavailable, not useful
 
-if [[ "${PV}" = 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/dgraziotin/${PN}.git"
 else
@@ -19,6 +16,10 @@ else
 	KEYWORDS="~amd64"
 fi
 
+LICENSE="GPL-3+"
+SLOT="0"
+RESTRICT="test" # will fail if the hardware is unavailable, not useful
+
 CONFIG_CHECK="~SENSORS_APPLESMC ~SENSORS_CORETEMP"
 
 src_compile() {
@@ -33,14 +34,14 @@ src_install() {
 
 	# Remove the empty systemd unit directory
 	# It doesn't actually install the unit file
-	rmdir --ignore-fail-on-non-empty -p "${ED%/}/lib/systemd/system" || die
+	rmdir --ignore-fail-on-non-empty -p "${ED}"/lib/systemd/system || die
 	# Actually install the sytstemd unit file
 	systemd_dounit ${PN}.service
 	# Install openrc init file
 	newinitd ${PN}.init.gentoo ${PN}
 
 	# make install doesn't install the docs in the right place
-	rm -rf "${ED%/}/usr/share/doc/${PN}" || die
+	rm -r "${ED}"/usr/share/doc/${PN} || die
 
 	einstalldocs
 }


             reply	other threads:[~2022-07-31 22:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-31 22:52 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25 22:08 [gentoo-commits] repo/gentoo:master commit in: app-laptop/mbpfan/ Göktürk Yüksek
2024-05-22  7:09 Göktürk Yüksek
2023-06-27  3:21 Göktürk Yüksek
2022-07-31 22:52 David Seifert
2022-07-31 22:52 David Seifert
2019-11-25 20:18 Göktürk Yüksek
2019-11-01 18:38 Göktürk Yüksek
2019-11-01 18:38 Göktürk Yüksek
2019-11-01 18:38 Göktürk Yüksek
2019-04-29 14:53 Göktürk Yüksek
2018-09-19 20:50 Göktürk Yüksek
2017-08-23 18:43 Göktürk Yüksek
2017-08-23 18:43 Göktürk Yüksek
2017-04-02 20:11 Göktürk Yüksek
2017-04-02 20:11 Göktürk Yüksek
2016-10-17 11:30 Göktürk Yüksek

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=1659307905.d107e7dadcc808bedfb6d0ff9cb1f161ce5db0e2.soap@gentoo \
    --to=soap@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