Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/
Date: Fri, 29 Apr 2022 11:23:41
Message-Id: 1651231370.a2c152f2e650ca925145523237bd6daf8e967508.ionen@gentoo
1 commit: a2c152f2e650ca925145523237bd6daf8e967508
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 10:39:00 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 11:22:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c152f2
7
8 net-misc/ytfzf: drop 2.2
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 net-misc/ytfzf/Manifest | 1 -
13 net-misc/ytfzf/ytfzf-2.2.ebuild | 60 -----------------------------------------
14 2 files changed, 61 deletions(-)
15
16 diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest
17 index 356440f2ad54..d9e72e31f0f4 100644
18 --- a/net-misc/ytfzf/Manifest
19 +++ b/net-misc/ytfzf/Manifest
20 @@ -1,2 +1 @@
21 -DIST ytfzf-2.2.tar.gz 3242266 BLAKE2B 7bc6317ea2ee67ca1d93acc5262d5ebc7f6c9828531f1b97d1fd8e4cfb9e9328cf9955da993d59dcfe05a1a983106cf98f3c93ab4b2c007458154f860e333b55 SHA512 9f47da0e56d096d248b14387c3e34f11cc101fa958945e17bdee83d81c2da57faf384fe87d46132e4cc78a5f4f6057462e28c1a64ea647a98120c37ed4e7f50d
22 DIST ytfzf-2.3.tar.gz 3249215 BLAKE2B 963442379ea324aa6f7b4077df417815ec1e1822d1598029efd397e2a29996ae92aa2f18e67ec6f7fea16a5804d3a7875cec625be1f5f49eb35c85dc84f3a894 SHA512 a282f578459ec53e725d1089a5b5efb78dcc66684ce572d0318f6bfd6e222b706418c77eeeca34d4015ed2bae1cb54de10edaab36522d6012c2ac421796ef34b
23
24 diff --git a/net-misc/ytfzf/ytfzf-2.2.ebuild b/net-misc/ytfzf/ytfzf-2.2.ebuild
25 deleted file mode 100644
26 index 1a6d408ced73..000000000000
27 --- a/net-misc/ytfzf/ytfzf-2.2.ebuild
28 +++ /dev/null
29 @@ -1,60 +0,0 @@
30 -# Copyright 2021-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -inherit optfeature
36 -
37 -DESCRIPTION="Posix script to find and watch youtube videos from the terminal"
38 -HOMEPAGE="https://github.com/pystardust/ytfzf/"
39 -SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="GPL-3"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~x86"
44 -IUSE="minimal"
45 -
46 -# fzf/mpv/yt-dlp "can" be optfeatures depending on configuration, but depend
47 -# on them so it works as expected out-of-the-box while allowing to disable.
48 -RDEPEND="
49 - app-misc/jq
50 - net-misc/curl[ssl]
51 - virtual/awk
52 - !minimal? (
53 - app-shells/fzf
54 - media-video/mpv[lua]
55 - net-misc/yt-dlp
56 - )"
57 -
58 -src_prepare() {
59 - default
60 -
61 - sed -i "/^: ...YTFZF_SYSTEM_ADDON_DIR/s|/usr/local|${EPREFIX}/usr|" ytfzf || die
62 -}
63 -
64 -src_compile() { :; }
65 -
66 -src_install() {
67 - local emakeargs=(
68 - DESTDIR="${D}"
69 - PREFIX="${EPREFIX}"/usr
70 - DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
71 - )
72 -
73 - emake "${emakeargs[@]}" addons doc install
74 - einstalldocs
75 -
76 - rm -r "${ED}"/usr/share/licenses || die
77 -}
78 -
79 -pkg_postinst() {
80 - optfeature "external menu support" x11-misc/dmenu
81 - optfeature "in-terminal thumbnails on X11" media-gfx/ueberzug
82 - optfeature "desktop notifications" x11-libs/libnotify
83 -
84 - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0; then
85 - elog "Note that >=${PN}-2.0 is a major rewrite and is not compatible with"
86 - elog "configuration and some command arguments of older versions, see the"
87 - elog "newly added ${PN}(1) and ${PN}(5) man pages for more information."
88 - fi
89 -}