From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86F1C158094 for ; Sun, 31 Jul 2022 22:52:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B1F4E1073; Sun, 31 Jul 2022 22:52:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 197C2E1071 for ; Sun, 31 Jul 2022 22:52:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3197340E57 for ; Sun, 31 Jul 2022 22:52:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4523E544 for ; Sun, 31 Jul 2022 22:52:01 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1659307905.d107e7dadcc808bedfb6d0ff9cb1f161ce5db0e2.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/mbpfan/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-laptop/mbpfan/mbpfan-2.2.1-r1.ebuild app-laptop/mbpfan/mbpfan-2.2.1.ebuild X-VCS-Directories: app-laptop/mbpfan/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: d107e7dadcc808bedfb6d0ff9cb1f161ce5db0e2 X-VCS-Branch: master Date: Sun, 31 Jul 2022 22:52:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f00a5ea5-9146-434f-85c4-6e3e7bd9bcd7 X-Archives-Hash: 3c9afb81bab85d97adbe2fb23927dfd8 commit: d107e7dadcc808bedfb6d0ff9cb1f161ce5db0e2 Author: David Seifert gentoo org> AuthorDate: Sun Jul 31 22:51:45 2022 +0000 Commit: David Seifert gentoo 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 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 }