public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/editline/
Date: Sun, 16 Jun 2024 11:37:10 +0000 (UTC)	[thread overview]
Message-ID: <1718537826.e395547d7eb8679c22de54407de53671a4fa3ce5.xgqt@gentoo> (raw)

commit:     e395547d7eb8679c22de54407de53671a4fa3ce5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 11:12:28 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> 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ć <xgqt <AT> 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
 }


             reply	other threads:[~2024-06-16 11:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-16 11:37 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-13  1:30 [gentoo-commits] repo/gentoo:master commit in: dev-libs/editline/ Sam James
2025-09-12 20:31 Arthur Zamarin
2024-12-13 20:00 Arthur Zamarin
2024-06-16 11:37 Maciej Barć
2024-04-08 17:47 Florian Schmaus
2022-10-17 23:34 Sam James
2021-08-04  9:01 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2020-03-23 23:58 Sergei Trofimovich
2020-02-26 13:18 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2020-01-06 20:11 Sergei Trofimovich
2020-01-06 20:03 Sergei Trofimovich
2019-12-09 18:11 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718537826.e395547d7eb8679c22de54407de53671a4fa3ce5.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox