From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 6CABF1382C5 for ; Tue, 16 Mar 2021 07:05:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90D56E07FA; Tue, 16 Mar 2021 07:05:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 64AD1E07FA for ; Tue, 16 Mar 2021 07:05:54 +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 1417F335D3D for ; Tue, 16 Mar 2021 07:05:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 946B44F1 for ; Tue, 16 Mar 2021 07:05:51 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1615878261.374ba93a75e6b7f5df4d1669a8925bcea06c9d7f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libedit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libedit/Manifest dev-libs/libedit/libedit-20210216.3.1.ebuild X-VCS-Directories: dev-libs/libedit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 374ba93a75e6b7f5df4d1669a8925bcea06c9d7f X-VCS-Branch: master Date: Tue, 16 Mar 2021 07:05:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 298bcbb6-21e6-4512-99c9-dcb9f744fb8d X-Archives-Hash: 5d174f2041dcce1da712013daaba4b7c commit: 374ba93a75e6b7f5df4d1669a8925bcea06c9d7f Author: Michał Górny gentoo org> AuthorDate: Tue Mar 16 07:04:11 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 16 07:04:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=374ba93a dev-libs/libedit: Bump to 20210216-3.1 Closes: https://bugs.gentoo.org/776283 Signed-off-by: Michał Górny gentoo.org> dev-libs/libedit/Manifest | 1 + dev-libs/libedit/libedit-20210216.3.1.ebuild | 43 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-libs/libedit/Manifest b/dev-libs/libedit/Manifest index a823a21029e..daa6124fd5b 100644 --- a/dev-libs/libedit/Manifest +++ b/dev-libs/libedit/Manifest @@ -1 +1,2 @@ DIST libedit-20191211-3.1.tar.gz 516620 BLAKE2B 765926c035143e8e409d87d4f75709c861d83e2d725ec02c7ecfc3cccebe895be7d2902dd41970811207db32e6847689368f6544ea49ad42a600037a3a4edb58 SHA512 8393477a87e65d330b037494110501b5d6d2c1cbe80d82b9bc7a6315a21fd1327fe91354346966d30541015e2c277be2187fa4bb737b14f706957c70f4083547 +DIST libedit-20210216-3.1.tar.gz 518381 BLAKE2B 4b29f08ddccd77148c7ae810c3c4e378f6eab4b6d2c530f21aa9c0da1bc156d646bac6404408510639c34298ef3583fd7f2bde5051c0dac8b3a125e2659d8412 SHA512 2577c66b3f20a7f3cdaac529bda7f55dbed1cd902f39971b8f792885dec7f8c137a980c570dbab195d3d45989cc9d16a96a3567e02c5ac32ed4757fa36e46b4c diff --git a/dev-libs/libedit/libedit-20210216.3.1.ebuild b/dev-libs/libedit/libedit-20210216.3.1.ebuild new file mode 100644 index 00000000000..f615587f5f2 --- /dev/null +++ b/dev-libs/libedit/libedit-20210216.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +inherit autotools multilib-minimal toolchain-funcs usr-ldscript + +MY_PV=${PV/./-} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="BSD replacement for libreadline" +HOMEPAGE="https://thrysoee.dk/editline/" +SRC_URI="https://thrysoee.dk/editline/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="static-libs" + +RDEPEND=">=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}]" +DEPEND=${RDEPEND} + +multilib_src_configure() { + local myconf=( + $(use_enable static-libs static) + --enable-widec + --enable-fast-install + ) + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + gen_usr_ldscript -a edit +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die + # file collision with sys-libs/readline + rm "${ED}/usr/share/man/man3/history.3" || die +}