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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CEF9C15817D for ; Sun, 16 Jun 2024 11:37:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22BE82BC039; Sun, 16 Jun 2024 11:37:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 009622BC039 for ; Sun, 16 Jun 2024 11:37:12 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23BD3335D75 for ; Sun, 16 Jun 2024 11:37:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8390A14B0 for ; Sun, 16 Jun 2024 11:37:10 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1718537826.e395547d7eb8679c22de54407de53671a4fa3ce5.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/editline/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/editline/editline-1.17.1-r1.ebuild dev-libs/editline/editline-1.17.1.ebuild X-VCS-Directories: dev-libs/editline/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: e395547d7eb8679c22de54407de53671a4fa3ce5 X-VCS-Branch: master Date: Sun, 16 Jun 2024 11:37:10 +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: d5fd9daf-7549-4e1c-8a3c-a8e0e51ebc97 X-Archives-Hash: 1a842c2976480e04071267c96eb74438 commit: e395547d7eb8679c22de54407de53671a4fa3ce5 Author: Maciej Barć gentoo org> AuthorDate: Sun Jun 16 11:12:28 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Jun 16 11:37:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e395547d dev-libs/editline: bump EAPI - 7 -> 8; misc tweaks Signed-off-by: Maciej Barć gentoo.org> ...ine-1.17.1.ebuild => editline-1.17.1-r1.ebuild} | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/dev-libs/editline/editline-1.17.1.ebuild b/dev-libs/editline/editline-1.17.1-r1.ebuild similarity index 50% rename from dev-libs/editline/editline-1.17.1.ebuild rename to dev-libs/editline/editline-1.17.1-r1.ebuild index 0bba672748cf..72f6f005b20b 100644 --- a/dev-libs/editline/editline-1.17.1.ebuild +++ b/dev-libs/editline/editline-1.17.1-r1.ebuild @@ -1,17 +1,28 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="line editing library for UNIX call compatible with the FSF readline" -HOMEPAGE="https://troglobit.com/projects/editline/" -SRC_URI="https://github.com/troglobit/editline/releases/download/${PV}/${P}.tar.xz" +HOMEPAGE="https://troglobit.com/projects/editline/ + https://github.com/troglobit/editline/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/troglobit/${PN}.git" +else + SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.xz" + + KEYWORDS="~amd64 ~x86" +fi LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" +SLOT="0/1.0.2" -PATCHES=("${FILESDIR}"/${PN}-1.16.0-rename-man.patch) +PATCHES=( + "${FILESDIR}/${PN}-1.16.0-rename-man.patch" +) src_prepare() { default @@ -28,6 +39,5 @@ src_configure() { src_install() { default - # package installs .pc file - find "${D}" -name '*.la' -delete || die + find "${D}" -type f -name "*.la" -delete || die }