public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/
Date: Mon,  4 Nov 2024 20:48:15 +0000 (UTC)	[thread overview]
Message-ID: <1730753259.063f3a381f21a2643e2ca99d1eb03f5e26b67cab.tupone@gentoo> (raw)

commit:     063f3a381f21a2643e2ca99d1eb03f5e26b67cab
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  4 20:47:12 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Nov  4 20:47:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063f3a38

dev-tcltk/tclreadline: add 2.4.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-tcltk/tclreadline/Manifest                 |  1 +
 dev-tcltk/tclreadline/tclreadline-2.4.0.ebuild | 50 ++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-tcltk/tclreadline/Manifest b/dev-tcltk/tclreadline/Manifest
index e1047715d42b..bafa8528cf99 100644
--- a/dev-tcltk/tclreadline/Manifest
+++ b/dev-tcltk/tclreadline/Manifest
@@ -1,3 +1,4 @@
 DIST tclreadline-2.1.0.tar.gz 160541 BLAKE2B 44dfd7626b969d03343cfa768d0ad72b9322a13175ca7c713c3981c0abc27967e31a62f3451b5d007569a30a7279be7c2a8f1c7c78e8d0c310964ddba18fa5cb SHA512 bd67a65fe2ec708834fb67fabf2e36e778a6aeeb7a7b69cda298f9e18acc9e03f3a379f81ff7d2d289bfbf1093bc86fecbf96fe5d04a2ca954899cc7df6fe4bf
 DIST tclreadline-2.3.8.tar.gz 393167 BLAKE2B e6a8d35904a0ed22fac01d7f6b6ecc9eef99acea149253ec9a0f7a3463a163ef17daa052bd4801fb9e365b056ab58d69fe2ec9884a9279881638c7b99c12f6a7 SHA512 0c5ce53a8f4cc222de013932698e442c63b36e3f07d10b962d127444f75c28b2caf7f06b5958150748f7a1d535c577c825b9a0dd525e077a348c3ff899a74e61
+DIST tclreadline-2.4.0.tar.gz 267094 BLAKE2B 4e3296933e6529715adb9d485b304051849c15b3f9965ba61db427e3ad0313fb342aa939568d2e8273c4662bd0f751577ed22c4322f9de9c9766c74c540406ed SHA512 dcab8a436415d94a2795790fc7310a856004e33cc5229fb1f650419576c85fd4946374c35e0a0a18f0c5c7bf24cd264271d88a568dcae88f78be4b9444dafd90
 DIST tclreadline_2.1.0-12.debian.tar.gz 9636 BLAKE2B b84487e2e05649c899f705ee4c4ea80a7b05c99440e9b905587300342ce54d48a7d32b750ec2c2a3a12f1aa991f2a47167243ec962f539e02383aac62530a3d9 SHA512 293e9ad14a469891f68b25caa78a99874de87df4c44af4ada7528cf74e898be42b7846fbb6eeabb2dec34995a9ccd9707c61f406b90b90dbca2c24df05f451eb

diff --git a/dev-tcltk/tclreadline/tclreadline-2.4.0.ebuild b/dev-tcltk/tclreadline/tclreadline-2.4.0.ebuild
new file mode 100644
index 000000000000..38f7f219a740
--- /dev/null
+++ b/dev-tcltk/tclreadline/tclreadline-2.4.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Readline extension to TCL"
+HOMEPAGE="https://github.com/flightaware/tclreadline"
+SRC_URI="https://github.com/flightaware/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="tk"
+
+DEPEND="
+	dev-lang/tcl:=
+	sys-libs/readline:=
+	tk? ( dev-lang/tk:= )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+
+	# Needed for Clang 16 patch, can drop once in a release
+	eautoreconf
+
+	sed -i \
+		-e "s|^\(TCLRL_LIBDIR\)=.*|\1=\"${EPREFIX}/usr/$(get_libdir)\"|" \
+		configure || die
+}
+
+src_configure() {
+	local myConf=(
+		--with-tcl="${EPREFIX}/usr/$(get_libdir)"
+		--with-readline-includes="${EPREFIX}/usr/include/readline"
+	)
+	if ! use tk; then
+		myConf+=(--without-tk)
+	fi
+	econf "${myConf[@]}"
+}
+
+src_install() {
+	default
+	find "${ED}" -name \*.la -delete
+}


             reply	other threads:[~2024-11-04 20:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-04 20:48 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-23  0:48 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/ Sam James
2021-11-03 18:45 Alfredo Tupone
2021-04-11 13:41 Alfredo Tupone
2021-04-11 13:13 Sam James
2021-04-11 11:13 Sam James
2021-04-11 11:06 Sam James
2021-02-26 19:10 Alfredo Tupone
2021-02-16  8:05 Alfredo Tupone
2021-01-24 13:35 Sam James
2021-01-24 12:10 Agostino Sarubbo
2021-01-24 11:58 Agostino Sarubbo
2020-05-26 20:08 Alfredo Tupone
2020-05-05  6:01 Alfredo Tupone
2020-05-04 20:13 Alfredo Tupone
2020-02-11 17:49 Alfredo Tupone
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 11:09 Agostino Sarubbo
2020-02-11  9:52 Agostino Sarubbo
2020-01-01 15:53 Alfredo Tupone

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=1730753259.063f3a381f21a2643e2ca99d1eb03f5e26b67cab.tupone@gentoo \
    --to=tupone@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