From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1532518-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id F0F9F158009
	for <garchives@archives.gentoo.org>; Mon, 26 Jun 2023 16:47:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 488C6E0878;
	Mon, 26 Jun 2023 16:47:36 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2E25CE087B
	for <gentoo-commits@lists.gentoo.org>; Mon, 26 Jun 2023 16:47:36 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3F776340E50
	for <gentoo-commits@lists.gentoo.org>; Mon, 26 Jun 2023 16:47:35 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 54C29AC6
	for <gentoo-commits@lists.gentoo.org>; Mon, 26 Jun 2023 16:47:33 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1687798040.e1011cbbec6f65f2df32143c12e705c8cee25d7c.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lesspipe/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/lesspipe/Manifest app-text/lesspipe/lesspipe-2.08.ebuild
X-VCS-Directories: app-text/lesspipe/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e1011cbbec6f65f2df32143c12e705c8cee25d7c
X-VCS-Branch: master
Date: Mon, 26 Jun 2023 16:47:33 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8b6f5ac0-42e4-4ff6-9219-adda30b3e73b
X-Archives-Hash: 16520e5b12e72f789eabbec04f6a40ba

commit:     e1011cbbec6f65f2df32143c12e705c8cee25d7c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 16:42:55 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 16:47:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1011cbb

app-text/lesspipe: add 2.08

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/lesspipe/Manifest             |  1 +
 app-text/lesspipe/lesspipe-2.08.ebuild | 52 ++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
index 8c235e3842dd..f8a4645c5cad 100644
--- a/app-text/lesspipe/Manifest
+++ b/app-text/lesspipe/Manifest
@@ -1,2 +1,3 @@
 DIST lesspipe-2.06.tar.gz 168100 BLAKE2B a7447efa85cd422343f9dbb06001e85fa7b33c92db752f8248e4b4a0d9ecce4ef0241240d6993c5a71157c44da2f4ffc3efd41ac5e0a31e89ed5b80ac99f71fe SHA512 b2411c5e6b287fb67e1ea9b6d10377fe19b58e8c0f54587f825d1ee4c1a85f9a8ed3244a7cf339bcba960094e95821d9a56929951d862eb697f1d12fe55ef20d
 DIST lesspipe-2.07.tar.gz 168973 BLAKE2B b9be5968d808dc57caa00551cdf663be75dff1c9662b585ddd2e1891f6f66fce0b71a468d9b9172af2833bd6ee255ad9b5fb917dac527eeb8b57427c568cd620 SHA512 6fa5debfa5b72fa5826294eca158a935a0b49dc431bd27eb7dc598315592d575ad302bb94fcdb86409dce1cb7055242ff10eb09cbf3708e472b8dbe8286d5511
+DIST lesspipe-2.08.tar.gz 169527 BLAKE2B c1b1e4b9d3b24f7a9547f25a276bdee7aebf35777401441bb9bbefef3f3ff319ca8ef330c76e969811cbb2047a539aa4d2dbea5059c5ed06a69bea43d54f94a9 SHA512 309f69240308eab082ed9bff1bda1785eb8394022e576ff49656816cf793e0f3bb26bb0f41eff4c1437ed7719cbd810a83d75d8a1a08a11a8cf378c1741397bd

diff --git a/app-text/lesspipe/lesspipe-2.08.ebuild b/app-text/lesspipe/lesspipe-2.08.ebuild
new file mode 100644
index 000000000000..1380abbeb29c
--- /dev/null
+++ b/app-text/lesspipe/lesspipe-2.08.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo bash-completion-r1
+
+DESCRIPTION="A preprocessor for less"
+HOMEPAGE="https://github.com/wofr06/lesspipe"
+SRC_URI="https://github.com/wofr06/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+# Please check again on bumps!
+# bug #734896
+RESTRICT="!test? ( test ) test"
+
+RDEPEND="dev-lang/perl"
+BDEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+	test? ( app-editors/vim )
+"
+
+src_configure() {
+	# Not an autoconf script.
+	edo ./configure --prefix="${EPREFIX}"/usr
+}
+
+src_compile() {
+	# Nothing to build (avoids the "all" target)
+	:
+}
+
+src_install() {
+	emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
+	einstalldocs
+
+	rm "${ED}"/usr/share/bash-completion/less_completion || die
+	newbashcomp less_completion less
+}
+
+pkg_preinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]] ; then
+		elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'."
+		elog "The latter is the Gentoo-specific version.  Make sure to update your"
+		elog "LESSOPEN environment variable if you wish to use this copy."
+	fi
+}