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: Tue, 22 Nov 2022 06:20:10 +0000 (UTC)	[thread overview]
Message-ID: <1669097972.ef84e0919788ca69ea7cfc8cc769c89ce46d030d.sam@gentoo> (raw)

commit:     ef84e0919788ca69ea7cfc8cc769c89ce46d030d
Author:     Oskari Pirhonen <xxc3ncoredxx <AT> gmail <DOT> com>
AuthorDate: Tue Nov 22 05:47:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 06:19:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef84e091

app-text/wgetpaste: use optfeature.eclass

Use optfeature.eclass to notify users about support for stripping ANSI
codes and xclip integration if app-text/ansifilter and/or x11-misc/xclip
are not installed, respectively.

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

 .../wgetpaste/{wgetpaste-2.33.ebuild => wgetpaste-2.33-r1.ebuild}  | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/app-text/wgetpaste/wgetpaste-2.33.ebuild b/app-text/wgetpaste/wgetpaste-2.33-r1.ebuild
similarity index 83%
rename from app-text/wgetpaste/wgetpaste-2.33.ebuild
rename to app-text/wgetpaste/wgetpaste-2.33-r1.ebuild
index f6662506f9ae..c8592f26415d 100644
--- a/app-text/wgetpaste/wgetpaste-2.33.ebuild
+++ b/app-text/wgetpaste/wgetpaste-2.33-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 DESCRIPTION="Command-line interface to various pastebins"
 HOMEPAGE="https://wgetpaste.zlin.dk/"
 SRC_URI="https://github.com/zlin/wgetpaste/releases/download/${PV}/${P}.tar.xz"
@@ -36,3 +38,8 @@ src_install() {
 	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
+}


             reply	other threads:[~2022-11-22  6:20 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22  6:20 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
2024-03-13  4:46 Sam James
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-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=1669097972.ef84e0919788ca69ea7cfc8cc769c89ce46d030d.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