public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-09-30  5:25 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-09-30  5:25 UTC (permalink / raw
  To: gentoo-commits

commit:     e0a4662b85bf77ad55ca5b6e0fbd87c8c07c1a0f
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Fri Sep 22 20:43:39 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sat Sep 30 05:25:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0a4662b

net-wireless/bluetuith: add 0.1.7 and live

TUI bluetooth manager written in Go

Closes: https://bugs.gentoo.org/913757
Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>

 net-wireless/bluetuith/Manifest               |  3 ++
 net-wireless/bluetuith/bluetuith-0.1.7.ebuild | 62 +++++++++++++++++++++++++++
 net-wireless/bluetuith/bluetuith-9999.ebuild  | 62 +++++++++++++++++++++++++++
 net-wireless/bluetuith/metadata.xml           | 16 +++++++
 4 files changed, 143 insertions(+)

diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
new file mode 100644
index 0000000000..b3c2d3a0a7
--- /dev/null
+++ b/net-wireless/bluetuith/Manifest
@@ -0,0 +1,3 @@
+DIST bluetuith-0.1.7-deps.tar.xz 23522828 BLAKE2B e154a25c1cb87eea8c8ecae262ce3518d2736280d6f74ea38cce95016dd70f63d023310d80418511c2989f66bff84873838cfef07437cf9986c9ed4d8eaa79a6 SHA512 c276d28954f53de68d8664275976d448ced101aa5480e71afc4d96d2b84b84907eb0b1351405c051a71d0aeb39e78b2c20b6a37222ae506270dd44f6d298d6c4
+DIST bluetuith-0.1.7-docs.tar.gz 2347918 BLAKE2B 17fd92feb5ad39fca00ae47e704b71a3ac421dbc5abdedbb9079775ed4f10a294c7899564b2101ac4ac73b7c8f8128dd1382abb01276c3258d4d4ca99e51a586 SHA512 7a5124e62383470e7f82d66fb1632c19e3e6085b4cd9bbe38088004a21743e9b65ae2bb5a1a837f15e2ca00d6ea3304311eeb0ecd7acf0e62eac1ccfc30c703b
+DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7a8f377dfc9214c8fe943be3be2dae3e5ae92e30eb164f3fa96f4cbe9d6299f86c4b3adaef1bd00ae53554c5d9bf5 SHA512 431fc89073562dd0e163759d7a97c38d378e51276c0233f26d8ba455fe346fcfc2c4e9fa102500ff1cfa0ba2b69adb820fd4b11bce2739ce65cfe296cd936a3b

diff --git a/net-wireless/bluetuith/bluetuith-0.1.7.ebuild b/net-wireless/bluetuith/bluetuith-0.1.7.ebuild
new file mode 100644
index 0000000000..fc51ac60f0
--- /dev/null
+++ b/net-wireless/bluetuith/bluetuith-0.1.7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
+HOMEPAGE="https://darkhz.github.io/bluetuith"
+
+GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git"
+else
+	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
+	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0 BSD-2 BSD MIT"
+SLOT="0"
+
+IUSE="doc"
+RESTRICT="test"
+RDEPEND="
+	net-wireless/bluez
+"
+
+src_unpack() {
+	if [[ ${PV} == *9999* ]]; then
+		# unpack code
+		git-r3_src_unpack
+
+		# unpack docs
+		EGIT_BRANCH="documentation"
+		git-r3_fetch
+		EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${GIT_DOCUMENTATION_COMMIT}"
+		git-r3_checkout
+
+		go-module_live_vendor
+	else
+		go-module_src_unpack
+	fi
+}
+
+src_compile() {
+	ego build
+}
+
+src_test() {
+	ego test ./...
+}
+
+src_install() {
+	default
+	dobin "${PN}"
+	dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/documentation/*.md
+	use doc && docinto html && dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/docs/*
+}

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-9999.ebuild
new file mode 100644
index 0000000000..fc51ac60f0
--- /dev/null
+++ b/net-wireless/bluetuith/bluetuith-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
+HOMEPAGE="https://darkhz.github.io/bluetuith"
+
+GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git"
+else
+	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
+	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0 BSD-2 BSD MIT"
+SLOT="0"
+
+IUSE="doc"
+RESTRICT="test"
+RDEPEND="
+	net-wireless/bluez
+"
+
+src_unpack() {
+	if [[ ${PV} == *9999* ]]; then
+		# unpack code
+		git-r3_src_unpack
+
+		# unpack docs
+		EGIT_BRANCH="documentation"
+		git-r3_fetch
+		EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${GIT_DOCUMENTATION_COMMIT}"
+		git-r3_checkout
+
+		go-module_live_vendor
+	else
+		go-module_src_unpack
+	fi
+}
+
+src_compile() {
+	ego build
+}
+
+src_test() {
+	ego test ./...
+}
+
+src_install() {
+	default
+	dobin "${PN}"
+	dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/documentation/*.md
+	use doc && docinto html && dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/docs/*
+}

diff --git a/net-wireless/bluetuith/metadata.xml b/net-wireless/bluetuith/metadata.xml
new file mode 100644
index 0000000000..31b56f21cd
--- /dev/null
+++ b/net-wireless/bluetuith/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>rahil3108@gmail.com</email>
+    <name>Rahil Bhimjiani</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">darkhz/bluetuith</remote-id>
+    <bugs-to>https://github.com/darkhz/bluetuith/issues</bugs-to>
+    <doc>https://darkhz.github.io/bluetuith</doc>
+  </upstream>
+  <use>
+    <flag name="doc">Install html docs</flag>
+  </use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-10-26  2:48 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-10-26  2:48 UTC (permalink / raw
  To: gentoo-commits

commit:     e663027fc2187fce13e68b94977fba7301c4c2de
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Thu Oct 26 00:58:04 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Thu Oct 26 02:44:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e663027f

net-wireless/bluetuith: add 0.1.8 & update live

support arm64

Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>

 net-wireless/bluetuith/Manifest                             |  3 +++
 .../{bluetuith-9999.ebuild => bluetuith-0.1.8.ebuild}       | 13 ++++++++-----
 net-wireless/bluetuith/bluetuith-9999.ebuild                | 13 ++++++++-----
 3 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
index b3c2d3a0a7..efd2ab467a 100644
--- a/net-wireless/bluetuith/Manifest
+++ b/net-wireless/bluetuith/Manifest
@@ -1,3 +1,6 @@
 DIST bluetuith-0.1.7-deps.tar.xz 23522828 BLAKE2B e154a25c1cb87eea8c8ecae262ce3518d2736280d6f74ea38cce95016dd70f63d023310d80418511c2989f66bff84873838cfef07437cf9986c9ed4d8eaa79a6 SHA512 c276d28954f53de68d8664275976d448ced101aa5480e71afc4d96d2b84b84907eb0b1351405c051a71d0aeb39e78b2c20b6a37222ae506270dd44f6d298d6c4
 DIST bluetuith-0.1.7-docs.tar.gz 2347918 BLAKE2B 17fd92feb5ad39fca00ae47e704b71a3ac421dbc5abdedbb9079775ed4f10a294c7899564b2101ac4ac73b7c8f8128dd1382abb01276c3258d4d4ca99e51a586 SHA512 7a5124e62383470e7f82d66fb1632c19e3e6085b4cd9bbe38088004a21743e9b65ae2bb5a1a837f15e2ca00d6ea3304311eeb0ecd7acf0e62eac1ccfc30c703b
 DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7a8f377dfc9214c8fe943be3be2dae3e5ae92e30eb164f3fa96f4cbe9d6299f86c4b3adaef1bd00ae53554c5d9bf5 SHA512 431fc89073562dd0e163759d7a97c38d378e51276c0233f26d8ba455fe346fcfc2c4e9fa102500ff1cfa0ba2b69adb820fd4b11bce2739ce65cfe296cd936a3b
+DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609
+DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e
+DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-0.1.8.ebuild
similarity index 84%
copy from net-wireless/bluetuith/bluetuith-9999.ebuild
copy to net-wireless/bluetuith/bluetuith-0.1.8.ebuild
index fc51ac60f0..8163bcef19 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.1.8.ebuild
@@ -8,19 +8,22 @@ inherit go-module
 DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
 HOMEPAGE="https://darkhz.github.io/bluetuith"
 
-GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033"
+GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git"
 else
 	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
 	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS="~amd64 ~arm64"
 fi
 
-LICENSE="Apache-2.0 BSD-2 BSD MIT"
+# main
+LICENSE="Apache-2.0"
+# deps
+LICENSE+=" BSD-2 BSD MIT"
 SLOT="0"
 
 IUSE="doc"
@@ -30,7 +33,7 @@ RDEPEND="
 "
 
 src_unpack() {
-	if [[ ${PV} == *9999* ]]; then
+	if [[ ${PV} == 9999* ]]; then
 		# unpack code
 		git-r3_src_unpack
 

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-9999.ebuild
index fc51ac60f0..8163bcef19 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-9999.ebuild
@@ -8,19 +8,22 @@ inherit go-module
 DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
 HOMEPAGE="https://darkhz.github.io/bluetuith"
 
-GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033"
+GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git"
 else
 	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
 	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS="~amd64 ~arm64"
 fi
 
-LICENSE="Apache-2.0 BSD-2 BSD MIT"
+# main
+LICENSE="Apache-2.0"
+# deps
+LICENSE+=" BSD-2 BSD MIT"
 SLOT="0"
 
 IUSE="doc"
@@ -30,7 +33,7 @@ RDEPEND="
 "
 
 src_unpack() {
-	if [[ ${PV} == *9999* ]]; then
+	if [[ ${PV} == 9999* ]]; then
 		# unpack code
 		git-r3_src_unpack
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-11-06  2:04 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-11-06  2:04 UTC (permalink / raw
  To: gentoo-commits

commit:     d94921370e1d85fa510b2e0fd4e9fd064c9eb736
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Mon Nov  6 02:01:59 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Mon Nov  6 02:01:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9492137

net-wireless/bluetuith: add 0.1.9 & update live

1. Save docs tarball with commit in name instead of version

Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>

 net-wireless/bluetuith/Manifest                                        | 3 +++
 .../bluetuith/{bluetuith-9999.ebuild => bluetuith-0.1.9.ebuild}        | 2 +-
 net-wireless/bluetuith/bluetuith-9999.ebuild                           | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
index efd2ab467a..4d3e67fab8 100644
--- a/net-wireless/bluetuith/Manifest
+++ b/net-wireless/bluetuith/Manifest
@@ -4,3 +4,6 @@ DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7
 DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609
 DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e
 DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13
+DIST bluetuith-0.1.9-deps.tar.xz 24086352 BLAKE2B bbb570bf9348474015db1723575ea7669b806f52a7360ca5ce3fc6b57243f35143e94022042b21e2584a1f23d8f2c3627a939d6dd954e28ed791d1560a208ee0 SHA512 44f9c8399cc1c1fb0d061d796d43d3e54dedabf0a85ed6ac868335fdccf6f926ae3522258440a2ccba896fa7bcd442b53f1288bee33d0c5ef179a7f1c2add7eb
+DIST bluetuith-0.1.9.tar.gz 1482931 BLAKE2B dc6ca796c3b2cdad16e0a9788a598e305829394ce2267c6c4b8a5ab9371ac8a4cb084bf5de1731029616f576cc92eb43e2fddaa636614fb107cf3b75701f23b8 SHA512 2a6632ee73509e71ca446811fc09423e805f0f16a24e47bc96fbcd1b28ada02f25a12259519008ad4e06c78ca30bcae4066f3ed7c2dac536ebcf11e039a9ba5c
+DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild
similarity index 94%
copy from net-wireless/bluetuith/bluetuith-9999.ebuild
copy to net-wireless/bluetuith/bluetuith-0.1.9.ebuild
index 8163bcef19..9c46f9a065 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == 9999* ]]; then
 else
 	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
-	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
+	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz"
 	KEYWORDS="~amd64 ~arm64"
 fi
 

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-9999.ebuild
index 8163bcef19..9c46f9a065 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-9999.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == 9999* ]]; then
 else
 	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
-	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
+	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz"
 	KEYWORDS="~amd64 ~arm64"
 fi
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-11-06  3:09 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-11-06  3:09 UTC (permalink / raw
  To: gentoo-commits

commit:     5276f0bf01e43f55b2c8fdc192fb04f89aa53b70
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Mon Nov  6 03:07:30 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Mon Nov  6 03:07:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5276f0bf

net-wireless/bluetuith: fixup d94921370e1d85fa510b2e0fd4e9fd064c9e

Fix version info not showing on running bluetuith --version

Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>

 net-wireless/bluetuith/bluetuith-0.1.9.ebuild | 7 ++++++-
 net-wireless/bluetuith/bluetuith-9999.ebuild  | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/net-wireless/bluetuith/bluetuith-0.1.9.ebuild b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild
index 9c46f9a065..93dc6512a3 100644
--- a/net-wireless/bluetuith/bluetuith-0.1.9.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild
@@ -8,6 +8,9 @@ inherit go-module
 DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
 HOMEPAGE="https://darkhz.github.io/bluetuith"
 
+# MAKE SURE to change these on every update
+[[ ${PV} != 9999* ]] && \
+GIT_COMMIT="28c0a9f"
 GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
 if [[ ${PV} == 9999* ]]; then
@@ -50,7 +53,9 @@ src_unpack() {
 }
 
 src_compile() {
-	ego build
+	# mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml
+	[[ ${PV} == 9999* ]] && GIT_COMMIT=$(git rev-parse --short HEAD)
+	ego build -ldflags "-X github.com/darkhz/bluetuith/cmd.Version=${PV}@${GIT_COMMIT}"
 }
 
 src_test() {

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-9999.ebuild
index 9c46f9a065..93dc6512a3 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-9999.ebuild
@@ -8,6 +8,9 @@ inherit go-module
 DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
 HOMEPAGE="https://darkhz.github.io/bluetuith"
 
+# MAKE SURE to change these on every update
+[[ ${PV} != 9999* ]] && \
+GIT_COMMIT="28c0a9f"
 GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
 if [[ ${PV} == 9999* ]]; then
@@ -50,7 +53,9 @@ src_unpack() {
 }
 
 src_compile() {
-	ego build
+	# mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml
+	[[ ${PV} == 9999* ]] && GIT_COMMIT=$(git rev-parse --short HEAD)
+	ego build -ldflags "-X github.com/darkhz/bluetuith/cmd.Version=${PV}@${GIT_COMMIT}"
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-11-19  0:12 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-11-19  0:12 UTC (permalink / raw
  To: gentoo-commits

commit:     1cbdc82530168e85f83086a507d00fccb29698a6
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Sun Nov 19 00:10:33 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sun Nov 19 00:10:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1cbdc825

net-wireless/bluetuith: changing email in metadata.xml

Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>

 net-wireless/bluetuith/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluetuith/metadata.xml b/net-wireless/bluetuith/metadata.xml
index 31b56f21cd..e02ca2d3d5 100644
--- a/net-wireless/bluetuith/metadata.xml
+++ b/net-wireless/bluetuith/metadata.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <maintainer type="person">
-    <email>rahil3108@gmail.com</email>
+    <email>me@rahil.website</email>
     <name>Rahil Bhimjiani</name>
   </maintainer>
   <upstream>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-12-30  2:30 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-12-30  2:30 UTC (permalink / raw
  To: gentoo-commits

commit:     74e32b7123ea2a9e203758568ff109d3038ce5d5
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sat Dec 30 02:29:48 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sat Dec 30 02:29:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74e32b71

net-wireless/bluetuith: change email

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-wireless/bluetuith/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluetuith/metadata.xml b/net-wireless/bluetuith/metadata.xml
index e02ca2d3d5..96cd903975 100644
--- a/net-wireless/bluetuith/metadata.xml
+++ b/net-wireless/bluetuith/metadata.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <maintainer type="person">
-    <email>me@rahil.website</email>
+    <email>me@rahil.rocks</email>
     <name>Rahil Bhimjiani</name>
   </maintainer>
   <upstream>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-12-30 16:16 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-12-30 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d47dccdcb4e3bcb4ba88c7cc144e2725f248a287
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sat Dec 30 16:12:16 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sat Dec 30 16:12:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d47dccdc

net-wireless/bluetuith: add 0.2.0

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-wireless/bluetuith/Manifest                                         | 2 ++
 .../bluetuith/{bluetuith-9999.ebuild => bluetuith-0.2.0.ebuild}         | 2 +-
 net-wireless/bluetuith/bluetuith-9999.ebuild                            | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
index 4d3e67fab8..4944e0f034 100644
--- a/net-wireless/bluetuith/Manifest
+++ b/net-wireless/bluetuith/Manifest
@@ -6,4 +6,6 @@ DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d25
 DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13
 DIST bluetuith-0.1.9-deps.tar.xz 24086352 BLAKE2B bbb570bf9348474015db1723575ea7669b806f52a7360ca5ce3fc6b57243f35143e94022042b21e2584a1f23d8f2c3627a939d6dd954e28ed791d1560a208ee0 SHA512 44f9c8399cc1c1fb0d061d796d43d3e54dedabf0a85ed6ac868335fdccf6f926ae3522258440a2ccba896fa7bcd442b53f1288bee33d0c5ef179a7f1c2add7eb
 DIST bluetuith-0.1.9.tar.gz 1482931 BLAKE2B dc6ca796c3b2cdad16e0a9788a598e305829394ce2267c6c4b8a5ab9371ac8a4cb084bf5de1731029616f576cc92eb43e2fddaa636614fb107cf3b75701f23b8 SHA512 2a6632ee73509e71ca446811fc09423e805f0f16a24e47bc96fbcd1b28ada02f25a12259519008ad4e06c78ca30bcae4066f3ed7c2dac536ebcf11e039a9ba5c
+DIST bluetuith-0.2.0-deps.tar.xz 24092520 BLAKE2B 3038def9cb8543aa84677be8d81d973338cde51514e33c4cd26d551c351161c7d31ab10161ba695608c1560a49f3d4e8b363941369cef04911aa13b514de7cf6 SHA512 6a71ec1cbcda98ac4be830f350a72e3d8da81dfdcbbb434c10dbb09f267142dd916469d3dbbc5f13181d74733723d945af2c394a14def29d09722b78034e9102
+DIST bluetuith-0.2.0.tar.gz 1483874 BLAKE2B 03321de6478feb5cb2d740d9db4c114cdbc791b7d4f4573c0b52a22d2c6040796bef9cb211134895cfa3233a91f2193c782fdda2bb5040eaa5ac019d0c5623f4 SHA512 bc17842adddcef3beb89708f1f9505035e2a71a9a9755894ad2ecdaac5ca90c823a57b90033b369f4c759b259830710d3e5a0b84fcd9bbc79c4b2697fb0234fd
 DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-0.2.0.ebuild
similarity index 98%
copy from net-wireless/bluetuith/bluetuith-9999.ebuild
copy to net-wireless/bluetuith/bluetuith-0.2.0.ebuild
index 93dc6512a3..4c431789d4 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.2.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://darkhz.github.io/bluetuith"
 
 # MAKE SURE to change these on every update
 [[ ${PV} != 9999* ]] && \
-GIT_COMMIT="28c0a9f"
+GIT_COMMIT="ffe8681"
 GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
 if [[ ${PV} == 9999* ]]; then

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-9999.ebuild
index 93dc6512a3..4c431789d4 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-9999.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://darkhz.github.io/bluetuith"
 
 # MAKE SURE to change these on every update
 [[ ${PV} != 9999* ]] && \
-GIT_COMMIT="28c0a9f"
+GIT_COMMIT="ffe8681"
 GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
 if [[ ${PV} == 9999* ]]; then


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2023-12-30 16:16 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2023-12-30 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     1679f2f573c0b35bf841812bb9421a5347815b7c
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sat Dec 30 16:15:57 2023 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sat Dec 30 16:15:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1679f2f5

net-wireless/bluetuith: drop 0.1.7

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-wireless/bluetuith/Manifest               |  3 --
 net-wireless/bluetuith/bluetuith-0.1.7.ebuild | 62 ---------------------------
 2 files changed, 65 deletions(-)

diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
index 4944e0f034..28580dc366 100644
--- a/net-wireless/bluetuith/Manifest
+++ b/net-wireless/bluetuith/Manifest
@@ -1,6 +1,3 @@
-DIST bluetuith-0.1.7-deps.tar.xz 23522828 BLAKE2B e154a25c1cb87eea8c8ecae262ce3518d2736280d6f74ea38cce95016dd70f63d023310d80418511c2989f66bff84873838cfef07437cf9986c9ed4d8eaa79a6 SHA512 c276d28954f53de68d8664275976d448ced101aa5480e71afc4d96d2b84b84907eb0b1351405c051a71d0aeb39e78b2c20b6a37222ae506270dd44f6d298d6c4
-DIST bluetuith-0.1.7-docs.tar.gz 2347918 BLAKE2B 17fd92feb5ad39fca00ae47e704b71a3ac421dbc5abdedbb9079775ed4f10a294c7899564b2101ac4ac73b7c8f8128dd1382abb01276c3258d4d4ca99e51a586 SHA512 7a5124e62383470e7f82d66fb1632c19e3e6085b4cd9bbe38088004a21743e9b65ae2bb5a1a837f15e2ca00d6ea3304311eeb0ecd7acf0e62eac1ccfc30c703b
-DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7a8f377dfc9214c8fe943be3be2dae3e5ae92e30eb164f3fa96f4cbe9d6299f86c4b3adaef1bd00ae53554c5d9bf5 SHA512 431fc89073562dd0e163759d7a97c38d378e51276c0233f26d8ba455fe346fcfc2c4e9fa102500ff1cfa0ba2b69adb820fd4b11bce2739ce65cfe296cd936a3b
 DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609
 DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e
 DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13

diff --git a/net-wireless/bluetuith/bluetuith-0.1.7.ebuild b/net-wireless/bluetuith/bluetuith-0.1.7.ebuild
deleted file mode 100644
index fc51ac60f0..0000000000
--- a/net-wireless/bluetuith/bluetuith-0.1.7.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
-HOMEPAGE="https://darkhz.github.io/bluetuith"
-
-GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033"
-
-if [[ ${PV} == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git"
-else
-	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
-	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="Apache-2.0 BSD-2 BSD MIT"
-SLOT="0"
-
-IUSE="doc"
-RESTRICT="test"
-RDEPEND="
-	net-wireless/bluez
-"
-
-src_unpack() {
-	if [[ ${PV} == *9999* ]]; then
-		# unpack code
-		git-r3_src_unpack
-
-		# unpack docs
-		EGIT_BRANCH="documentation"
-		git-r3_fetch
-		EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${GIT_DOCUMENTATION_COMMIT}"
-		git-r3_checkout
-
-		go-module_live_vendor
-	else
-		go-module_src_unpack
-	fi
-}
-
-src_compile() {
-	ego build
-}
-
-src_test() {
-	ego test ./...
-}
-
-src_install() {
-	default
-	dobin "${PN}"
-	dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/documentation/*.md
-	use doc && docinto html && dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/docs/*
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2024-02-03  6:37 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2024-02-03  6:37 UTC (permalink / raw
  To: gentoo-commits

commit:     fe23ac1a13141e23381a42781d9fe4d0112747e7
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sat Feb  3 06:35:23 2024 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sat Feb  3 06:37:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe23ac1a

net-wireless/bluetuith: add 0.2.1, drop 0.1.8

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

net-wireless/bluetuith: drop 0.1.8

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-wireless/bluetuith/Manifest                                  | 5 ++---
 .../bluetuith/{bluetuith-0.1.8.ebuild => bluetuith-0.2.1.ebuild} | 9 +++++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
index 28580dc366..582c4cefc9 100644
--- a/net-wireless/bluetuith/Manifest
+++ b/net-wireless/bluetuith/Manifest
@@ -1,8 +1,7 @@
-DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609
-DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e
-DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13
 DIST bluetuith-0.1.9-deps.tar.xz 24086352 BLAKE2B bbb570bf9348474015db1723575ea7669b806f52a7360ca5ce3fc6b57243f35143e94022042b21e2584a1f23d8f2c3627a939d6dd954e28ed791d1560a208ee0 SHA512 44f9c8399cc1c1fb0d061d796d43d3e54dedabf0a85ed6ac868335fdccf6f926ae3522258440a2ccba896fa7bcd442b53f1288bee33d0c5ef179a7f1c2add7eb
 DIST bluetuith-0.1.9.tar.gz 1482931 BLAKE2B dc6ca796c3b2cdad16e0a9788a598e305829394ce2267c6c4b8a5ab9371ac8a4cb084bf5de1731029616f576cc92eb43e2fddaa636614fb107cf3b75701f23b8 SHA512 2a6632ee73509e71ca446811fc09423e805f0f16a24e47bc96fbcd1b28ada02f25a12259519008ad4e06c78ca30bcae4066f3ed7c2dac536ebcf11e039a9ba5c
 DIST bluetuith-0.2.0-deps.tar.xz 24092520 BLAKE2B 3038def9cb8543aa84677be8d81d973338cde51514e33c4cd26d551c351161c7d31ab10161ba695608c1560a49f3d4e8b363941369cef04911aa13b514de7cf6 SHA512 6a71ec1cbcda98ac4be830f350a72e3d8da81dfdcbbb434c10dbb09f267142dd916469d3dbbc5f13181d74733723d945af2c394a14def29d09722b78034e9102
 DIST bluetuith-0.2.0.tar.gz 1483874 BLAKE2B 03321de6478feb5cb2d740d9db4c114cdbc791b7d4f4573c0b52a22d2c6040796bef9cb211134895cfa3233a91f2193c782fdda2bb5040eaa5ac019d0c5623f4 SHA512 bc17842adddcef3beb89708f1f9505035e2a71a9a9755894ad2ecdaac5ca90c823a57b90033b369f4c759b259830710d3e5a0b84fcd9bbc79c4b2697fb0234fd
+DIST bluetuith-0.2.1-deps.tar.xz 24112984 BLAKE2B 2ceec0ea5962ee94eda4f30f15f33c5d7e1e226d2d6bc337201066377eeba03bc9bff9ae80e08649f4a77c5bf40d4a857e86f6a5511ca2bc1781179112e1d924 SHA512 58b6595c599cca2f116bd7f56ee2bff26fdf179e118ea8df6e0bd05d88840c362e05c3cfdb21ccf4589850a680929ccd314a1774a8d4d0f372b6e783ab1abab5
+DIST bluetuith-0.2.1.tar.gz 1485063 BLAKE2B 543576faba4350682434e8bdc4b765afdf22839a8b525c782f7d4a179863a831b7bc107dd44d27c62949ae5d8c0fd447bc3a63dbd28d344ed01a83bee8212f9e SHA512 9cd40881b18a4e109e76aaaee4db375eda123e9dc8caf6b1d7ec17c4da67debfd2d1892109ae28d6483067838a168769a4caa2c9c4dd9bd4107417183021018b
 DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e

diff --git a/net-wireless/bluetuith/bluetuith-0.1.8.ebuild b/net-wireless/bluetuith/bluetuith-0.2.1.ebuild
similarity index 77%
rename from net-wireless/bluetuith/bluetuith-0.1.8.ebuild
rename to net-wireless/bluetuith/bluetuith-0.2.1.ebuild
index 8163bcef19..4c431789d4 100644
--- a/net-wireless/bluetuith/bluetuith-0.1.8.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.2.1.ebuild
@@ -8,6 +8,9 @@ inherit go-module
 DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
 HOMEPAGE="https://darkhz.github.io/bluetuith"
 
+# MAKE SURE to change these on every update
+[[ ${PV} != 9999* ]] && \
+GIT_COMMIT="ffe8681"
 GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
 if [[ ${PV} == 9999* ]]; then
@@ -16,7 +19,7 @@ if [[ ${PV} == 9999* ]]; then
 else
 	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
-	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
+	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz"
 	KEYWORDS="~amd64 ~arm64"
 fi
 
@@ -50,7 +53,9 @@ src_unpack() {
 }
 
 src_compile() {
-	ego build
+	# mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml
+	[[ ${PV} == 9999* ]] && GIT_COMMIT=$(git rev-parse --short HEAD)
+	ego build -ldflags "-X github.com/darkhz/bluetuith/cmd.Version=${PV}@${GIT_COMMIT}"
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2024-04-08 11:53 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2024-04-08 11:53 UTC (permalink / raw
  To: gentoo-commits

commit:     4e0c4bac373654bcd807f3d4d3f64f5024d9e7c4
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Apr  8 04:55:24 2024 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Mon Apr  8 11:53:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e0c4bac

net-wireless/bluetuith: update to 0.2.2, smaller deps tar, xz->zstd

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-wireless/bluetuith/Manifest                            |  2 ++
 .../{bluetuith-9999.ebuild => bluetuith-0.2.2.ebuild}      | 14 +++++++++-----
 net-wireless/bluetuith/bluetuith-9999.ebuild               | 14 +++++++++-----
 3 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
index 582c4cefc9..3ac70d6242 100644
--- a/net-wireless/bluetuith/Manifest
+++ b/net-wireless/bluetuith/Manifest
@@ -4,4 +4,6 @@ DIST bluetuith-0.2.0-deps.tar.xz 24092520 BLAKE2B 3038def9cb8543aa84677be8d81d97
 DIST bluetuith-0.2.0.tar.gz 1483874 BLAKE2B 03321de6478feb5cb2d740d9db4c114cdbc791b7d4f4573c0b52a22d2c6040796bef9cb211134895cfa3233a91f2193c782fdda2bb5040eaa5ac019d0c5623f4 SHA512 bc17842adddcef3beb89708f1f9505035e2a71a9a9755894ad2ecdaac5ca90c823a57b90033b369f4c759b259830710d3e5a0b84fcd9bbc79c4b2697fb0234fd
 DIST bluetuith-0.2.1-deps.tar.xz 24112984 BLAKE2B 2ceec0ea5962ee94eda4f30f15f33c5d7e1e226d2d6bc337201066377eeba03bc9bff9ae80e08649f4a77c5bf40d4a857e86f6a5511ca2bc1781179112e1d924 SHA512 58b6595c599cca2f116bd7f56ee2bff26fdf179e118ea8df6e0bd05d88840c362e05c3cfdb21ccf4589850a680929ccd314a1774a8d4d0f372b6e783ab1abab5
 DIST bluetuith-0.2.1.tar.gz 1485063 BLAKE2B 543576faba4350682434e8bdc4b765afdf22839a8b525c782f7d4a179863a831b7bc107dd44d27c62949ae5d8c0fd447bc3a63dbd28d344ed01a83bee8212f9e SHA512 9cd40881b18a4e109e76aaaee4db375eda123e9dc8caf6b1d7ec17c4da67debfd2d1892109ae28d6483067838a168769a4caa2c9c4dd9bd4107417183021018b
+DIST bluetuith-0.2.2-deps.tar.zst 3487605 BLAKE2B 02fac84e97a27471b8feadf1d48fbcc7c8f68542388f54ea744ff9b7a433675c7d2578b76032a71117b0c0c0a04705f2bd1250922c7ee315bc27a78cdb5e4db5 SHA512 f6ad7f31e1f18c886950ff1b10e9a6179468792bdc1387f8ba3e74edb1ba11a8edf7c8ac267eac0ece51318cae5487762aa80b49f6baadf97ca1c4a677754945
+DIST bluetuith-0.2.2.tar.gz 1485216 BLAKE2B e347fbea07564866144de266156ba98d4e722c8d8c216a3696c4bb938f8cbcccdb424b28c5461b94ad67cb4b20b9dd6440a614adb24a6e9acaf8862fb6087aa0 SHA512 5b943ab1a4f5cac1b3da0ac64bea18013f4ba7fe2246c6e33011d18e7a0f384363c9e06558b25131b6ccc4ea3910961178821d24fb21f38c551b18a6500830d4
 DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild
similarity index 86%
copy from net-wireless/bluetuith/bluetuith-9999.ebuild
copy to net-wireless/bluetuith/bluetuith-0.2.2.ebuild
index 4c431789d4..98aec6b46f 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit go-module
+inherit go-module unpacker
 
 DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
 HOMEPAGE="https://darkhz.github.io/bluetuith"
 
 # MAKE SURE to change these on every update
 [[ ${PV} != 9999* ]] && \
-GIT_COMMIT="ffe8681"
+GIT_COMMIT="dd21a9c"
 GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
 if [[ ${PV} == 9999* ]]; then
@@ -18,7 +18,7 @@ if [[ ${PV} == 9999* ]]; then
 	EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git"
 else
 	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
+	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.zst -> ${P}-deps.tar.zst"
 	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz"
 	KEYWORDS="~amd64 ~arm64"
 fi
@@ -48,10 +48,14 @@ src_unpack() {
 
 		go-module_live_vendor
 	else
-		go-module_src_unpack
+		unpacker_src_unpack
 	fi
 }
 
+src_prepare() {
+	[[ ${PV} != 9999* ]] && { ln -sv ../vendor ./ || die ; }
+	default
+}
 src_compile() {
 	# mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml
 	[[ ${PV} == 9999* ]] && GIT_COMMIT=$(git rev-parse --short HEAD)

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-9999.ebuild
index 4c431789d4..98aec6b46f 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-9999.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit go-module
+inherit go-module unpacker
 
 DESCRIPTION="A TUI bluetooth manager for Linux written in Go"
 HOMEPAGE="https://darkhz.github.io/bluetuith"
 
 # MAKE SURE to change these on every update
 [[ ${PV} != 9999* ]] && \
-GIT_COMMIT="ffe8681"
+GIT_COMMIT="dd21a9c"
 GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
 
 if [[ ${PV} == 9999* ]]; then
@@ -18,7 +18,7 @@ if [[ ${PV} == 9999* ]]; then
 	EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git"
 else
 	SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz"
+	SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.zst -> ${P}-deps.tar.zst"
 	SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz"
 	KEYWORDS="~amd64 ~arm64"
 fi
@@ -48,10 +48,14 @@ src_unpack() {
 
 		go-module_live_vendor
 	else
-		go-module_src_unpack
+		unpacker_src_unpack
 	fi
 }
 
+src_prepare() {
+	[[ ${PV} != 9999* ]] && { ln -sv ../vendor ./ || die ; }
+	default
+}
 src_compile() {
 	# mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml
 	[[ ${PV} == 9999* ]] && GIT_COMMIT=$(git rev-parse --short HEAD)


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
@ 2024-04-09  8:57 Rahil Bhimjiani
  0 siblings, 0 replies; 11+ messages in thread
From: Rahil Bhimjiani @ 2024-04-09  8:57 UTC (permalink / raw
  To: gentoo-commits

commit:     8911600e07200bd5b27619c0f0bd11d5d318eb74
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Tue Apr  9 08:55:49 2024 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Tue Apr  9 08:55:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8911600e

net-wireless/bluetuith: add bdeps for unpacking *.zst

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-wireless/bluetuith/bluetuith-0.2.2.ebuild | 3 +++
 net-wireless/bluetuith/bluetuith-9999.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/net-wireless/bluetuith/bluetuith-0.2.2.ebuild b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild
index 98aec6b46f..dd3edb4c49 100644
--- a/net-wireless/bluetuith/bluetuith-0.2.2.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild
@@ -34,6 +34,9 @@ RESTRICT="test"
 RDEPEND="
 	net-wireless/bluez
 "
+BDEPEND="
+	$(unpacker_src_uri_depends)
+"
 
 src_unpack() {
 	if [[ ${PV} == 9999* ]]; then

diff --git a/net-wireless/bluetuith/bluetuith-9999.ebuild b/net-wireless/bluetuith/bluetuith-9999.ebuild
index 98aec6b46f..dd3edb4c49 100644
--- a/net-wireless/bluetuith/bluetuith-9999.ebuild
+++ b/net-wireless/bluetuith/bluetuith-9999.ebuild
@@ -34,6 +34,9 @@ RESTRICT="test"
 RDEPEND="
 	net-wireless/bluez
 "
+BDEPEND="
+	$(unpacker_src_uri_depends)
+"
 
 src_unpack() {
 	if [[ ${PV} == 9999* ]]; then


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-09  8:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-26  2:48 [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/ Rahil Bhimjiani
  -- strict thread matches above, loose matches on Subject: below --
2024-04-09  8:57 Rahil Bhimjiani
2024-04-08 11:53 Rahil Bhimjiani
2024-02-03  6:37 Rahil Bhimjiani
2023-12-30 16:16 Rahil Bhimjiani
2023-12-30 16:16 Rahil Bhimjiani
2023-12-30  2:30 Rahil Bhimjiani
2023-11-19  0:12 Rahil Bhimjiani
2023-11-06  3:09 Rahil Bhimjiani
2023-11-06  2:04 Rahil Bhimjiani
2023-09-30  5:25 Rahil Bhimjiani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox