From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1059075-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CAC2D138334
	for <garchives@archives.gentoo.org>; Tue, 27 Nov 2018 08:29:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D4D6AE0C4F;
	Tue, 27 Nov 2018 08:29:53 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8FBA0E0C4F
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Nov 2018 08:29:53 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0E5DB335C47
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Nov 2018 08:29:51 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 33C05442
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Nov 2018 08:29:49 +0000 (UTC)
From: "Lars Wendler" <polynomial-c@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, "Lars Wendler" <polynomial-c@gentoo.org>
Message-ID: <1543307351.8e89ac518466a6c32cdfdc0f1a826b1c0e206c4a.polynomial-c@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/less/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/less/Manifest sys-apps/less/less-545.ebuild
X-VCS-Directories: sys-apps/less/
X-VCS-Committer: polynomial-c
X-VCS-Committer-Name: Lars Wendler
X-VCS-Revision: 8e89ac518466a6c32cdfdc0f1a826b1c0e206c4a
X-VCS-Branch: master
Date: Tue, 27 Nov 2018 08:29:49 +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: 90e4690b-7134-44b0-985a-3ace4412b337
X-Archives-Hash: 223584e546d540ef3c5d4a280e84b5ce

commit:     8e89ac518466a6c32cdfdc0f1a826b1c0e206c4a
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 27 08:29:11 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Nov 27 08:29:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e89ac51

sys-apps/less: Bump to version 545

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/less/Manifest        |  1 +
 sys-apps/less/less-545.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index 0cfec6ef570..5cc43172c40 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -2,3 +2,4 @@ DIST less-530.tar.gz 339723 BLAKE2B 9321548b06330c0b1b5b5a36147f5b9348619ff15d90
 DIST less-531.tar.gz 340466 BLAKE2B 6ac75b623fce478114d18cff429659499fedf4ef1a7bb067465ace91c28a7968efb224a4994a1e376a8cf40b110492f10ecda634628029107b38187044a0cd1e SHA512 180b665f194d7cc40d4bbb37bd64b10be463c0705e81795bef84b20dbba1c61825bb3e3da8bcd79f9176bb3af7b1f4e4c3dfe0829a5a2195a11f5b42294daca1
 DIST less-542.tar.gz 343847 BLAKE2B 3f7a6eaa2f16c3f93145c23642dc7ffb2658f1d0aa4cc5e1c57fde4d06abeebd1addb614b2ae955efe99ccc05c2ca1a914166e5b55193d9cf318475ee3278904 SHA512 7d19d03c1367bad09cf15d612f7b0b2d328be11d4c9e0dbbfa2e685ef436fd48ab43e86ac91c93c33f53f5d0a9eb2b20d343e9a469a6f06c0363aefb32ca485f
 DIST less-544.tar.gz 344126 BLAKE2B 82226e32605028c1914bd95be83813ef7986199f798557f4795c9148f7dfd723e9b1916f34ea6dc51fb58966e8fd97781152e26f2c3939c841b261942e9ba351 SHA512 bcb6c3875b79eddd6b0dc4b8b4ba9047d88e6660322e08917591f6c1a40e68b3bc5a043d00d8e41ee02235b511774995a2b828ca7b213d9d62fde2f732b69cf8
+DIST less-545.tar.gz 344114 BLAKE2B 5c3dcbbd8ec18d51ad112274e4f09c1c34d1aac0fb9f0b8e57c3c3d9353c3bd786aa140abf56ff893ff5c3992ef4b5f33e7c65d28951618733a4c69455dfce66 SHA512 152950c36082b49220c9f6b2ec725c1922cbdd00234c1d603915650a33e9c313af22556ed16d5158497fd94e8e09d0921c70d20677082053eb130e790a1186f9

diff --git a/sys-apps/less/less-545.ebuild b/sys-apps/less/less-545.ebuild
new file mode 100644
index 00000000000..3bc3bf38932
--- /dev/null
+++ b/sys-apps/less/less-545.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Excellent text file viewer"
+HOMEPAGE="http://www.greenwoodsoftware.com/less/"
+SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz"
+
+LICENSE="|| ( GPL-3 BSD-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="pcre unicode"
+
+DEPEND=">=app-misc/editor-wrapper-3
+	>=sys-libs/ncurses-5.2:0=
+	pcre? ( dev-libs/libpcre2 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	export ac_cv_lib_ncursesw_initscr=$(usex unicode)
+	export ac_cv_lib_ncurses_initscr=$(usex !unicode)
+	local myeconfargs=(
+		--with-regex=$(usex pcre pcre2 posix)
+		--with-editor="${EPREFIX}"/usr/libexec/editor
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	newbin "${FILESDIR}"/lesspipe.sh lesspipe
+	newenvd "${FILESDIR}"/less.envd 70less
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-483-r1" ; then
+		elog "The lesspipe.sh symlink has been dropped.  If you are still setting"
+		elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'."
+		elog "Colorization support has been dropped.  If you want that, check out"
+		elog "the new app-text/lesspipe package."
+	fi
+}