public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/
Date: Wed, 13 Mar 2024 04:46:43 +0000 (UTC)	[thread overview]
Message-ID: <1710302534.ff592f720f3dbb70f85765145cd48a0e68072f69.sam@gentoo> (raw)

commit:     ff592f720f3dbb70f85765145cd48a0e68072f69
Author:     Oskari Pirhonen <xxc3ncoredxx <AT> gmail <DOT> com>
AuthorDate: Wed Mar 13 03:23:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 04:02:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff592f72

app-text/wgetpaste: add 2.34

Signed-off-by: Oskari Pirhonen <xxc3ncoredxx <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35734
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/wgetpaste/Manifest              |  1 +
 app-text/wgetpaste/wgetpaste-2.34.ebuild | 56 ++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/app-text/wgetpaste/Manifest b/app-text/wgetpaste/Manifest
index 1d552853b25f..e957693da79a 100644
--- a/app-text/wgetpaste/Manifest
+++ b/app-text/wgetpaste/Manifest
@@ -1 +1,2 @@
 DIST wgetpaste-2.33.tar.xz 16408 BLAKE2B 78baebf4edb6e6340a73127099366d306359d02c0c1eab137822c56669da0609a5479940b4fb2accbc79978df091dcd34415876618e64aa556d1584f74773736 SHA512 9bf1f379316da372b4f69296b54f9a266dcf9fdaa2a8718165a2029571f4c2c0166304ffebeb2ec4657ea6f49087793f40d9da383f5da052bce0543c90ea13ab
+DIST wgetpaste-2.34.tar.xz 16640 BLAKE2B 6bc71d74945b88774f866a8c1bb693d52b3d5d680a04e45ec29acfb6dd9d9de16433ed9d675db1d63705dac356e44c89d7af0e7b18a71089778bfa92833d95d3 SHA512 9f334299d0314e821d989c785aaae9e8e9c0e4972ced9330039f7e2ca1867528a2d4f090dd754ec72e8a9d7005d8f5154266cd0769627b1023d1199893cf4f8c

diff --git a/app-text/wgetpaste/wgetpaste-2.34.ebuild b/app-text/wgetpaste/wgetpaste-2.34.ebuild
new file mode 100644
index 000000000000..9eb248cf9574
--- /dev/null
+++ b/app-text/wgetpaste/wgetpaste-2.34.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="Command-line interface to various pastebins"
+HOMEPAGE="https://github.com/zlin/wgetpaste"
+SRC_URI="https://github.com/zlin/wgetpaste/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="+ssl"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="net-misc/wget[ssl?]"
+
+src_prepare() {
+	default
+
+	sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die
+}
+
+src_test() {
+	test/test.sh || die
+}
+
+src_install() {
+	dobin ${PN}
+	insinto /usr/share/zsh/site-functions
+	doins _wgetpaste
+}
+
+pkg_postinst() {
+	optfeature "ANSI (color code) stripping support" app-text/ansifilter
+	optfeature "xclip support" x11-misc/xclip
+
+	if [[ -n ${REPLACING_VERSIONS} ]]; then
+		local old
+
+		for old in ${REPLACING_VERSIONS}; do
+			if ver_test ${old} -lt '2.33-r2'; then
+				ewarn
+				ewarn "Sprunge is dead and the service has been dropped from the code. Remove or"
+				ewarn "replace sprunge as the default service in the system or user wgetpaste"
+				ewarn "config if applicable."
+				ewarn
+				break
+			fi
+		done
+	fi
+}


             reply	other threads:[~2024-03-13  4:46 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13  4:46 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25 18:28 [gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/ Arthur Zamarin
2023-11-12  1:41 Yixun Lan
2023-06-22  5:27 Sam James
2023-01-26  5:16 Sam James
2023-01-20  7:39 Joonas Niilola
2023-01-14 11:25 Sam James
2023-01-14  7:21 Joonas Niilola
2023-01-13 20:56 Jonas Stein
2022-11-22  6:20 Sam James
2022-05-19 11:24 WANG Xuerui
2022-04-12 10:56 Sam James
2021-06-03  5:49 Mikle Kolyada
2021-05-15 13:29 Mikle Kolyada
2021-05-15 13:29 Mikle Kolyada
2021-05-03 16:59 Sam James
2021-05-03 16:37 Ben Kohler
2021-02-22 14:39 Mikle Kolyada
2021-02-22 14:02 Mikle Kolyada
2020-11-28  7:37 Sam James
2020-07-23 11:11 Kent Fredric
2020-04-05  6:21 Mikle Kolyada
2020-04-05  6:21 Mikle Kolyada
2019-08-26 23:14 Louis Sautier
2019-08-26  9:26 Louis Sautier
2019-06-14  6:56 Mikle Kolyada
2019-05-04 14:43 Andreas K. Hüttel
2019-02-23 16:54 Ben Kohler
2019-02-23 15:34 Ben Kohler
2018-07-24  9:43 Mart Raudsepp
2018-05-24 22:27 Mikle Kolyada
2017-10-19 17:10 Jonas Stein
2017-01-29 15:24 Fabian Groffen
2016-12-18 15:33 Maxim Koltsov
2016-10-10  9:25 Jeroen Roovers
2016-10-01 12:51 Jeroen Roovers
2016-09-27 18:46 Markus Meier
2016-09-24 13:43 Agostino Sarubbo
2016-09-04 13:17 Tobias Klausmann
2016-08-17 18:02 Maxim Koltsov
2016-08-17 18:02 Maxim Koltsov
2016-08-07  6:52 Pacho Ramos
2016-07-04 11:43 Maxim Koltsov
2016-02-27 18:34 Stephen Klimaszewski

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=1710302534.ff592f720f3dbb70f85765145cd48a0e68072f69.sam@gentoo \
    --to=sam@gentoo.org \
    --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