sys-power/fan2go: drop 0.9.0

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman committed 2025-05-30 10:30:45 +02:00
1 parent 58b7b1cb2d
commit 04c4d2de9d
2 files changed
-57

No files matched your search

-2
View File
@@ -1,5 +1,3 @@
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
DIST fan2go-0.9.1.tar.gz 201351 BLAKE2B c681c9191a0ee94865f34feb9c55c368763d9f544136d90ae894f3a7621385350d0d6fbd8c0aa79ad74b383f552f3d352ace2210d0119cf7f7d18a7bf63f1f0f SHA512 a4360f6df5858a2aa7051a53424db6dbe42b013a232f2c1a9b1ec174a01b2f7a66878a09585cfeb6493eaa982578d62ab7417374e305002076dc7681498b581c
DIST fan2go-0.9.2-vendor.tar.xz 2261708 BLAKE2B 797be795caa672b2c4b82da83475417ecc75874e505a7318ccf172ffacf1f4619ba864612d809b3543540d085c561b807e00f0a162595d27c96c83004bdd9ffc SHA512 470436e82238355a3f36de155f033c93e2c8a693839c488622b40985c328268c4d314f176102484efe78049e69ccdf79040c448615b4e82f0f117bbe674affea
-55
View File
@@ -1,55 +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}"
PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
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() {
ego test -v ./... || die
}