From afb19abe0ec73761b4e330ee952a19e98d4bc7e3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 13 Mar 2024 06:46:47 +0000 Subject: gentoo auto-resync : 13:03:2024 - 06:46:47 --- app-text/wgetpaste/Manifest | 2 ++ app-text/wgetpaste/wgetpaste-2.34.ebuild | 56 ++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 app-text/wgetpaste/wgetpaste-2.34.ebuild (limited to 'app-text/wgetpaste') diff --git a/app-text/wgetpaste/Manifest b/app-text/wgetpaste/Manifest index 62cd7a57bbeb..3e3819f13aca 100644 --- a/app-text/wgetpaste/Manifest +++ b/app-text/wgetpaste/Manifest @@ -6,6 +6,8 @@ AUX wgetpaste-2.33-disable-sprunge.patch 790 BLAKE2B 9cd8c336072d7e2bff27a54d904 AUX wgetpaste-2.33-test_ansi-add-A-to-the-tests.patch 5416 BLAKE2B ba849d311ba42a16ce6cfd120f3988637825bb1546482c34f7b5610f61b687e632736b79018e13828e361064c652c7adb3f54239753c1a7f7a1623c7a29af861 SHA512 6c19ed88c0cbc8ce9cecfcef3587e660f2223bc44022bc1f7411ada5ff1a90dd6b5128d033b5ff54f0ab23440145dae25f2f24661d5e7358bfd08ec332dff244 AUX wgetpaste-2.33-tests.patch 2742 BLAKE2B 3bb6c60de41ff4e428048816b093f40691de2a625e2a27a75b8db9f4e7333ab43778be704ddba01e2d5eb43a20f6ca6a83059f8bb2d04d08dc9d196901e53a17 SHA512 6d8a65215d4c1939c2f0acdd486171d37c4f1ef71b8ef6341fcf50db9cd057de1d616b3f3ac57820082d6fce1d8c75d72c8613865a0cf46df5fd3f5104716024 DIST wgetpaste-2.33.tar.xz 16408 BLAKE2B 78baebf4edb6e6340a73127099366d306359d02c0c1eab137822c56669da0609a5479940b4fb2accbc79978df091dcd34415876618e64aa556d1584f74773736 SHA512 9bf1f379316da372b4f69296b54f9a266dcf9fdaa2a8718165a2029571f4c2c0166304ffebeb2ec4657ea6f49087793f40d9da383f5da052bce0543c90ea13ab +DIST wgetpaste-2.34.tar.xz 16640 BLAKE2B 6bc71d74945b88774f866a8c1bb693d52b3d5d680a04e45ec29acfb6dd9d9de16433ed9d675db1d63705dac356e44c89d7af0e7b18a71089778bfa92833d95d3 SHA512 9f334299d0314e821d989c785aaae9e8e9c0e4972ced9330039f7e2ca1867528a2d4f090dd754ec72e8a9d7005d8f5154266cd0769627b1023d1199893cf4f8c EBUILD wgetpaste-2.33-r3.ebuild 1442 BLAKE2B 4ba780c9c4dbbcd9c958c73b473a9eac89cd29e8b4a580a5888194c6aa58cb9fd1b5e4bd68c6c97f761b80a6f7325ffb1077f08e19ce4fd1b915af162d214917 SHA512 d9326673ce2332da4577d35432ce1b1b1ffbff30607818fbdcf554c0f9af8577317211ea840ca16b7726c1302f4ebdd0bc15f92231193419d28845dba398ec66 EBUILD wgetpaste-2.33-r5.ebuild 1663 BLAKE2B 1cc9ce334866b04d9bfc3ece14cb24809e760f3764fa7c07e000df0946f9761915a4305e7c8fd513f6621ec1cf7e7ee1f481edb3ffbcb723dbdc41e550c8a50b SHA512 752ffaedc1a8b3ebe96779b29e786ab40fa7c8020b0ff6cb278bf1e19781db7da3883516f1d520bfc45a5e820177a46a5b96a9b6d6e591584e373ca9449f4cf3 +EBUILD wgetpaste-2.34.ebuild 1298 BLAKE2B 1798d3da171c1a4074f60b62aa2ef1ae29f6412d155c122f8855d643128b6929176abd7674f20399f17b45405e3faebb278b4a234ecd0dfcecda24783213f5db SHA512 d5d09fc5a2da823030a0b84607d10cd3df769e4770df4b49f5945461716bc2e2abcf4b5183404e8c0071a03830aff3d42686d2d363278d4922347e5b7bb11d6e MISC metadata.xml 566 BLAKE2B 1f63219976e414e688b0e8b5d0ce84dc4480af3e59ebbbe550d26ca5973ac22148b87d1b43304bbbfbcaba1731d14a6f7639b7352e2b77d1141f8dee6875d2ce SHA512 779b873177a5b294e6a140d8d658980469b50cdb1c65f6c4a387e8af82f996f109ed14ae208f8603cdfc80ac0f9f0a50ad00202e92c0f5c6aaea13d01ecf8862 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 +} -- cgit v1.2.3