sys-power/fan2go: drop 0.8.1

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-05-09 13:38:03 +02:00
parent 833c8464e1
commit 83fc4a8fac
2 changed files with 0 additions and 55 deletions

View File

@@ -1,5 +1,3 @@
DIST fan2go-0.8.1-vendor.tar.xz 2062496 BLAKE2B 7518b55ea01f9aeb4563ade1d24d79a5a4c64b573d53c72a1fa72e9de0ee05db82daee509e5a5e2a35d0b21916136901d5104c353d538bc8ea40a2f950c9f29e SHA512 8c1ffdeb9146de3a70ae8730180ddb7766b9d8123a4e34c740902d8f65ac82a46519f3adfa79d05a408d578e2d155aee5a1a8f8c0537a69e5d01a58bd68c2cf3
DIST fan2go-0.8.1.tar.gz 200094 BLAKE2B f649ad32466a636682a4cd02d03db2b0b9e4c3692611eede5e38ee0a93dd8c2d848467bd101cfca7b1a3765045269f8f832c574023151b65e80f0060c758f56b SHA512 eab8b0ff0f45a98c086fac8530a48ed3bb892cf80bd03fce9e4f6806ed7bbd3edd0d82e715bd9330f3083a69b1afbe236a0925cc752f2dcae643f63163317354
DIST fan2go-0.9.0-vendor.tar.xz 2429896 BLAKE2B 02ac2b8d224ff214c807d168a6d096c52f808afae978c66e454cd2812deac4667bcf9a858103fcc6c5c712e5c90880461ca118b2d6f17f61c8a7514cb4d6898a SHA512 091025437685d2ad8dbb1f93aa4ddd097146b38e83d7b48058b7f01e8c1316e5a0e8f19fd1bc44953c911a61e897f9edd43d30261d6d50d831eec578b8ffaaf5
DIST fan2go-0.9.0.tar.gz 196986 BLAKE2B a8f44354ad94e4535168bd27dfd71c9661ed75b1db2b92d4e563f1a21eebf2d32ed87392aec719b27705b23fecebc9e4c72297d158a629a9e1c4cebeb034e17a SHA512 86b5658e2a4e1b20ac2b3d031c3308e62c0820d1fb0da2fcc4ce8b3bf6bf96ac5e587fe290cd82bcd99315f7561ca2e82907dcf88161729a355cca2b327b181a
DIST fan2go-0.9.1-vendor.tar.xz 2259140 BLAKE2B defe7e58861dc5162894e2c125589ffd8ba8dbada4e20d6e50cc97dc4f407f9d46b620e46096a3e67b5cf6dbf638e21bbaeaa79e0fccfe098f2658b967a776ca SHA512 74b26fc367ecc495d51204d4ca124711818a55a34449b578189ab859b11cfa104d2260a27054b105da4ee59f22c33924f46feef3bd2c40e3fafed7145fc4bd18

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion systemd
DESCRIPTION="A simple daemon providing dynamic fan speed control"
HOMEPAGE="https://github.com/markusressel/fan2go"
SRC_URI="https://github.com/markusressel/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
LICENSE="AGPL-3 Apache-2.0 MIT BSD BSD-2 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="sys-apps/lm-sensors"
RDEPEND="${DEPEND}"
src_compile() {
SOURCE_DATE_EPOCH=$(date +%s || die)
DATE=$(date -u -d @${SOURCE_DATE_EPOCH} +"%Y-%m-%dT%H:%M:%SZ" || die)
ego \
build \
-o fan2go \
-x \
-v \
${GOFLAGS} \
-ldflags "-X fan2go/cmd.version=${PV} -X fan2go/cmd.date=${DATE}" \
-a \
-tags netgo \
.
./fan2go completion fish > fan2go.fish || die
./fan2go completion bash > fan2go.bash || die
./fan2go completion zsh > fan2go.zsh || die
}
src_install() {
dobin fan2go
dodoc README.md
systemd_dounit fan2go.service
insinto /etc/fan2go
doins fan2go.yaml
newbashcomp "${PN}.bash" "${PN}"
dofishcomp "${PN}.fish"
newzshcomp "${PN}.zsh" "_${PN}"
}
src_test() {
go test -v ./... || die
}