commit:     d6d379268e70e33f67064ffb3ed33b75e930811b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 20:02:38 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 20:02:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d37926

dev-libs/editline: bump up to 0.17.0

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-libs/editline/Manifest               |  1 +
 dev-libs/editline/editline-1.17.0.ebuild | 37 ++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-libs/editline/Manifest b/dev-libs/editline/Manifest
index 4415898101c..81ae611feef 100644
--- a/dev-libs/editline/Manifest
+++ b/dev-libs/editline/Manifest
@@ -1,2 +1,3 @@
 DIST editline-1.16.0.tar.xz 250376 BLAKE2B 
a9e080eb2b105f7c83dfbb26dfaebf07d7d2d664098504f4995b12b14b100420118ab70454afbba63518f4c510e2349b68923fade2412940e190177cfab442df
 SHA512 
99e1070d9d658aaec82582d5148a58e7039182f9d73e755547bc090682821fbfb29af19261f38db9a0f022e304e8f8e779e79f7b21f57ad5c80af5bcf316c6f6
 DIST editline-1.16.1.tar.xz 251848 BLAKE2B 
06cb75343f89c8698efc7c682c0ef968ca078e101b4c49193e009da18ebfe4cf9e3f630e27a25f2c0a05ca99e56efd0935db6da3d04027613a7c9078d01747ad
 SHA512 
4c4e96c9218ab29c559dc8f0c2ca4015c149c70af1696cd43e7ddb38aba7eb68452a22718932bf40a83d3377ad73d26734109db13ecd4470170ef6fbcab6a9fc
+DIST editline-1.17.0.tar.xz 252508 BLAKE2B 
4e59de72a7c8e6d538685b01c32b55283ec9244927d79848bf5277beb8095fc125289c61c6c6e02cda8821df481d5f926569512030c42cd50bc8f5a050bb89d8
 SHA512 
e8a519d5380a84913e1438ac0cd52400078457be5dcfa4eadc7112d7c2c4ff6601b8e3da4eef55296b42c6e9b5ed5fb269698dd62c4542eef824b6dd262ddd5c

diff --git a/dev-libs/editline/editline-1.17.0.ebuild 
b/dev-libs/editline/editline-1.17.0.ebuild
new file mode 100644
index 00000000000..2846c63aa39
--- /dev/null
+++ b/dev-libs/editline/editline-1.17.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="line editing library for UNIX call compatible with the FSF 
readline"
+HOMEPAGE="http://troglobit.com/projects/editline/";
+SRC_URI="https://github.com/troglobit/editline/releases/download/${PV}/${P}.tar.xz";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PATCHES=("${FILESDIR}"/${PN}-1.16.0-rename-man.patch)
+
+src_prepare() {
+       default
+
+       # To avoid collision with dev-libs/libedit
+       # we rename man/editline.3 to man/libeditline.3
+       mv man/editline.3 man/libeditline.3 || die
+}
+
+src_configure() {
+       econf --disable-static
+}
+
+src_install() {
+       default
+
+       # package installs .pc file
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to