git: 7adcc367344e - main - misc/stormy: new port, weather CLI

From: Älven <alven_at_FreeBSD.org>
Date: Wed, 30 Jul 2025 11:35:39 UTC
The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7adcc367344efb969ac57dd203e2995b42b08199

commit 7adcc367344efb969ac57dd203e2995b42b08199
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-07-26 07:04:03 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-07-30 11:34:15 +0000

    misc/stormy: new port, weather CLI
    
    Stormy is a minimal, customizable, and neofetch-like weather CLI.
    
    Features:
    o Multiple weather providers: OpenMeteo (default, no API key required)
      and OpenWeatherMap
    o Current weather conditions with ASCII art representation
    o Temperature, wind, humidity, and precipitation information
    o Customizable units (metric, imperial, standard)
    o Local configuration file
    o Color support for terminals
    o Compact display mode
    o Works out of the box with OpenMeteo
    
    PR:             288451
    Reported by:    Yusuf Yaman <nxjoseph@protonmail.com> (new maintainer)
    Approved by:    yuri@ (Mentor)
---
 misc/Makefile         |  1 +
 misc/stormy/Makefile  | 21 +++++++++++++++++++++
 misc/stormy/distinfo  |  5 +++++
 misc/stormy/pkg-descr | 12 ++++++++++++
 4 files changed, 39 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index bf2385aab680..e266bfe77882 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -623,6 +623,7 @@
     SUBDIR += sshbuddy
     SUBDIR += sssnips
     SUBDIR += star-history
+    SUBDIR += stormy
     SUBDIR += susv2
     SUBDIR += susv3
     SUBDIR += susv4
diff --git a/misc/stormy/Makefile b/misc/stormy/Makefile
new file mode 100644
index 000000000000..e32fb1cdb7f6
--- /dev/null
+++ b/misc/stormy/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	stormy
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.3.3
+CATEGORIES=	misc
+
+MAINTAINER=	nxjoseph@protonmail.com
+COMMENT=	Minimal, customizable, and neofetch-like weather CLI
+WWW=		https://terminaltrove.com/stormy/ \
+		https://github.com/ashish0kumar/stormy
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+GO_MODULE=	github.com/ashish0kumar/stormy
+GO_BUILDFLAGS=	-ldflags="-s -w -X main.version=${DISTVERSIONFULL}"
+
+PLIST_FILES=	bin/stormy
+
+.include <bsd.port.mk>
diff --git a/misc/stormy/distinfo b/misc/stormy/distinfo
new file mode 100644
index 000000000000..d3af3652340a
--- /dev/null
+++ b/misc/stormy/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1753860021
+SHA256 (go/misc_stormy/stormy-v0.3.3/v0.3.3.mod) = 3b3d290abff4fca2b1a456d37579c15cb32b89d05d18ba4baed31a649246c359
+SIZE (go/misc_stormy/stormy-v0.3.3/v0.3.3.mod) = 389
+SHA256 (go/misc_stormy/stormy-v0.3.3/v0.3.3.zip) = cdf851dac4373654ae0e8cae8ab676cd802503709d3d8c4989293810638e28f7
+SIZE (go/misc_stormy/stormy-v0.3.3/v0.3.3.zip) = 278054
diff --git a/misc/stormy/pkg-descr b/misc/stormy/pkg-descr
new file mode 100644
index 000000000000..178d933fd450
--- /dev/null
+++ b/misc/stormy/pkg-descr
@@ -0,0 +1,12 @@
+Stormy is a minimal, customizable, and neofetch-like weather CLI.
+
+Features:
+o Multiple weather providers: OpenMeteo (default, no API key required)
+  and OpenWeatherMap
+o Current weather conditions with ASCII art representation
+o Temperature, wind, humidity, and precipitation information
+o Customizable units (metric, imperial, standard)
+o Local configuration file
+o Color support for terminals
+o Compact display mode
+o Works out of the box with OpenMeteo