public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-shells/wttr-in/
@ 2024-04-15 13:08 Vitaly Zdanevich
  0 siblings, 0 replies; 2+ messages in thread
From: Vitaly Zdanevich @ 2024-04-15 13:08 UTC (permalink / raw
  To: gentoo-commits

commit:     2b3560eb47f1a78a2c3480129ce104925796391e
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Mon Apr 15 13:07:33 2024 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
CommitDate: Mon Apr 15 13:07:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b3560eb

app-shells/wttr-in: curl wrapper, maybe will be extended in the future

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 app-shells/wttr-in/metadata.xml        |  8 ++++++++
 app-shells/wttr-in/wttr-in-9999.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/app-shells/wttr-in/metadata.xml b/app-shells/wttr-in/metadata.xml
new file mode 100644
index 0000000000..812e586b96
--- /dev/null
+++ b/app-shells/wttr-in/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Vitaly Zdanevich</name>
+		<email>zdanevich.vitaly@ya.ru</email>
+	</maintainer>
+</pkgmetadata>

diff --git a/app-shells/wttr-in/wttr-in-9999.ebuild b/app-shells/wttr-in/wttr-in-9999.ebuild
new file mode 100644
index 0000000000..e1f8bc8f47
--- /dev/null
+++ b/app-shells/wttr-in/wttr-in-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2024 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Weather in terminal - just a curl to wttr.in"
+HOMEPAGE="https://wttr.in/"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="net-misc/curl"
+
+S="$WORKDIR"
+
+src_install() {
+	dodir /usr/bin/
+	echo "curl wttr.in/\$@" > "$ED/usr/bin/weather"
+	fperms +x "/usr/bin/weather"
+	# TODO add options from https://github.com/chubin/wttr.in#one-line-output
+	# TODO wrap in a script to add support of '-h'?
+	# TODO add `curl v2.wttr.in/batumi`
+}
+
+pkg_postinst() {
+	einfo "Run weather command"
+	einfo "You can specify the city with 'weather batumi'"
+	einfo "For help: 'weather :help'"
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-shells/wttr-in/
@ 2024-04-15 20:28 Julien Roy
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-04-15 20:28 UTC (permalink / raw
  To: gentoo-commits

commit:     03c008ab93e1f23e37d5c41624cc5d5dbec5aba3
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Apr 15 20:23:53 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Apr 15 20:26:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03c008ab

Revert "app-shells/wttr-in: curl wrapper, maybe will be extended in the future"

This reverts commit 2b3560eb47f1a78a2c3480129ce104925796391e.

See-also: https://bugs.gentoo.org/927922#c39
See-also: https://bugs.gentoo.org/927922#c41
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 app-shells/wttr-in/metadata.xml        |  8 --------
 app-shells/wttr-in/wttr-in-9999.ebuild | 30 ------------------------------
 2 files changed, 38 deletions(-)

diff --git a/app-shells/wttr-in/metadata.xml b/app-shells/wttr-in/metadata.xml
deleted file mode 100644
index 812e586b96..0000000000
--- a/app-shells/wttr-in/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<name>Vitaly Zdanevich</name>
-		<email>zdanevich.vitaly@ya.ru</email>
-	</maintainer>
-</pkgmetadata>

diff --git a/app-shells/wttr-in/wttr-in-9999.ebuild b/app-shells/wttr-in/wttr-in-9999.ebuild
deleted file mode 100644
index e1f8bc8f47..0000000000
--- a/app-shells/wttr-in/wttr-in-9999.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2024 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Weather in terminal - just a curl to wttr.in"
-HOMEPAGE="https://wttr.in/"
-LICENSE="GPL-3"
-
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="net-misc/curl"
-
-S="$WORKDIR"
-
-src_install() {
-	dodir /usr/bin/
-	echo "curl wttr.in/\$@" > "$ED/usr/bin/weather"
-	fperms +x "/usr/bin/weather"
-	# TODO add options from https://github.com/chubin/wttr.in#one-line-output
-	# TODO wrap in a script to add support of '-h'?
-	# TODO add `curl v2.wttr.in/batumi`
-}
-
-pkg_postinst() {
-	einfo "Run weather command"
-	einfo "You can specify the city with 'weather batumi'"
-	einfo "For help: 'weather :help'"
-}


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

end of thread, other threads:[~2024-04-15 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15 13:08 [gentoo-commits] repo/proj/guru:dev commit in: app-shells/wttr-in/ Vitaly Zdanevich
  -- strict thread matches above, loose matches on Subject: below --
2024-04-15 20:28 Julien Roy

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