public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-power/fan2go/
Date: Thu,  5 Oct 2023 15:21:13 +0000 (UTC)	[thread overview]
Message-ID: <1696515998.9264d7d602031c000aec6ac96c1748651f7892d5.davidroman@gentoo> (raw)
Message-ID: <20231005152113.S6ISg66-YMHaBkxmh6tR9huJMC90agny3TJHKm_CR14@z> (raw)

commit:     9264d7d602031c000aec6ac96c1748651f7892d5
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Oct  5 14:25:25 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Oct  5 14:26:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9264d7d6

sys-power/fan2go: add 0.8.1

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 sys-power/fan2go/Manifest            |  2 ++
 sys-power/fan2go/fan2go-0.8.1.ebuild | 53 ++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sys-power/fan2go/Manifest b/sys-power/fan2go/Manifest
index 448150f730..773c83a237 100644
--- a/sys-power/fan2go/Manifest
+++ b/sys-power/fan2go/Manifest
@@ -32,6 +32,8 @@ DIST cloud.google.com%2Fgo%2Fstorage%2F@v%2Fv1.6.0.mod 736 BLAKE2B 2337ea8dca35e
 DIST cloud.google.com%2Fgo%2Fstorage%2F@v%2Fv1.8.0.mod 622 BLAKE2B 621e3faa3335ebec92c376298699510d800c2653c3680a438095c3dd9d6ba1f83f13a0302f316beea786b8f606ff3b4f62d21abe63d72f3f5c4e12fb81f61511 SHA512 409dad03104a4ac6b4a8c6da3540ab382345c86e48732f2b37d64ae2bc1c721d9f0a1ed0824a36085baa7102d2626e84f44706b16297623e8deb58fa9e24ba38
 DIST dmitri.shuralyov.com%2Fgpu%2Fmtl%2F@v%2Fv0.0.0-20190408044501-666a987793e9.mod 36 BLAKE2B b430ef9388b0dfe932b201495a00275a6036338c99160d7362556be1e25924584b0802061d193533f23b1f76719dfd6a9484572babd25f1af0e53fd9bf07ac00 SHA512 196affe091247f94ceda4b56629bd62d4ee2b397f2c0f56c9534c02e43531b46705ad33543b58c1a4fc7a48e25e5923db087fe0485a93966a4086581c0d1d3e1
 DIST fan2go-0.6.2.tar.gz 181038 BLAKE2B e30c8ead0dbae34a70db7beae478a4eb2df52f5ab3b46342487cedf9b5bbab8a3c3bbf318291fd3ab1fa3ca9bbb60cd569df965ed4c144a37bd02b6040ba7909 SHA512 f10ab203f9a407dfcb5e3f055cc5c1714fb88b35d106941ceb37dcd4408bbfdadc9fea62c3e5a9ddf07538fc93adb19f3e18a62b1683d43b9592350c9fdd16f1
+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 github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
 DIST github.com%2F!burnt!sushi%2Fxgb%2F@v%2Fv0.0.0-20160522181843-27f122750802.mod 33 BLAKE2B d234bf9be3dd919cb1f8d33750a24dca68c90fea110fd0ff62f0dba86d2ebbfc66d55fea62745b6383c5607bc91cfd78c9d2cf12df251397e85995c04707caa2 SHA512 dbfa64ac31b25fdbff12110c6f9815abfde65f281e40852e7165499a2cefb6656c74fe0b82f0f018304daa02b83b421e9c15654efabad39787c69c1b2996a79d
 DIST github.com%2F!marvin!j!wendt%2Ftestza%2F@v%2Fv0.1.0.mod 166 BLAKE2B ad22063acaca31bf922a03fd3a6e3953da9a27f87c655cf9971f132c1505726cbd5cd2ff1f0f913fe4edfc2862ee99cd2c1ed341b3d77ccacde57290b74a72b4 SHA512 be5353e8e0f0ccee08ef6a4bdcb32dd7b62693faf07bd9ad7920c8c15dbf980943dcecf9b92375f6f95d776e49c3c48e43e71bb5c25663736c90f1c01b33fcbe

diff --git a/sys-power/fan2go/fan2go-0.8.1.ebuild b/sys-power/fan2go/fan2go-0.8.1.ebuild
new file mode 100644
index 0000000000..e3267a9b1b
--- /dev/null
+++ b/sys-power/fan2go/fan2go-0.8.1.ebuild
@@ -0,0 +1,53 @@
+# 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"
+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"
+HOMEPAGE="https://github.com/markusressel/fan2go"
+
+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
+}


             reply	other threads:[~2023-10-05 15:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05 14:27 David Roman [this message]
2023-10-05 15:21 ` [gentoo-commits] repo/proj/guru:master commit in: sys-power/fan2go/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-04-23 22:28 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-02-26 10:34 David Roman
2023-04-12  4:04 Jonas Frei
2022-05-26 21:20 Alessandro Barbieri
2022-05-08  1:58 Alessandro Barbieri
2022-05-07  6:49 Alessandro Barbieri
2022-05-06  6:00 Alessandro Barbieri

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=1696515998.9264d7d602031c000aec6ac96c1748651f7892d5.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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