diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-11-12 00:07:37 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-11-12 22:17:16 +0900 |
commit | eb317ddb431f4869c4e728c635afe921e1fcdd68 (patch) | |
tree | 7e4987a4050fe4bd0656f331e8d7972bbd486bda /sys-power/system76-power | |
parent | dev-cpp/cpptoml: treeclean, moved to ::gentoo (diff) | |
download | guru-eb317ddb431f4869c4e728c635afe921e1fcdd68.tar.gz guru-eb317ddb431f4869c4e728c635afe921e1fcdd68.tar.bz2 guru-eb317ddb431f4869c4e728c635afe921e1fcdd68.zip |
*/*: update for slotted Rust
guru version of this commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba4dc61965ef7658a24728841c04c9a1ce4871
Closes: https://bugs.gentoo.org/943170
Closes: https://bugs.gentoo.org/943223
Closes: #260
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'sys-power/system76-power')
-rw-r--r-- | sys-power/system76-power/system76-power-1.2.0-r1.ebuild (renamed from sys-power/system76-power/system76-power-1.2.0.ebuild) | 18 | ||||
-rw-r--r-- | sys-power/system76-power/system76-power-1.2.1-r1.ebuild (renamed from sys-power/system76-power/system76-power-1.2.1.ebuild) | 18 | ||||
-rw-r--r-- | sys-power/system76-power/system76-power-9999.ebuild | 3 |
3 files changed, 5 insertions, 34 deletions
diff --git a/sys-power/system76-power/system76-power-1.2.0.ebuild b/sys-power/system76-power/system76-power-1.2.0-r1.ebuild index cb0d4aa78..bc09fb9f7 100644 --- a/sys-power/system76-power/system76-power-1.2.0.ebuild +++ b/sys-power/system76-power/system76-power-1.2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -197,21 +197,15 @@ HOMEPAGE="https://github.com/pop-os/system76-power" SRC_URI=" https://github.com/pop-os/system76-power/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris) + ${CARGO_CRATE_URIS} " LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="systemd" DEPEND="sys-apps/systemd" RDEPEND="${DEPEND}" -BDEPEND="virtual/rust" - -src_unpack() { - cargo_src_unpack -} src_prepare() { default @@ -220,14 +214,6 @@ src_prepare() { cargo_gen_config } -src_configure() { - cargo_src_configure -} - -src_compile() { - cargo_src_compile -} - src_install() { default elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'" diff --git a/sys-power/system76-power/system76-power-1.2.1.ebuild b/sys-power/system76-power/system76-power-1.2.1-r1.ebuild index cb0d4aa78..bc09fb9f7 100644 --- a/sys-power/system76-power/system76-power-1.2.1.ebuild +++ b/sys-power/system76-power/system76-power-1.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -197,21 +197,15 @@ HOMEPAGE="https://github.com/pop-os/system76-power" SRC_URI=" https://github.com/pop-os/system76-power/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris) + ${CARGO_CRATE_URIS} " LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="systemd" DEPEND="sys-apps/systemd" RDEPEND="${DEPEND}" -BDEPEND="virtual/rust" - -src_unpack() { - cargo_src_unpack -} src_prepare() { default @@ -220,14 +214,6 @@ src_prepare() { cargo_gen_config } -src_configure() { - cargo_src_configure -} - -src_compile() { - cargo_src_compile -} - src_install() { default elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'" diff --git a/sys-power/system76-power/system76-power-9999.ebuild b/sys-power/system76-power/system76-power-9999.ebuild index 60054d3ee..fae78009a 100644 --- a/sys-power/system76-power/system76-power-9999.ebuild +++ b/sys-power/system76-power/system76-power-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,6 @@ KEYWORDS="" DEPEND="sys-apps/systemd" RDEPEND="${DEPEND}" -BDEPEND="virtual/rust" src_unpack(){ git-r3_src_unpack |