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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7918C158004 for ; Tue, 27 Feb 2024 10:59:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C010EE2AE5; Tue, 27 Feb 2024 10:59:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A916BE2AE5 for ; Tue, 27 Feb 2024 10:59:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE5EE335D72 for ; Tue, 27 Feb 2024 10:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 820D8E95 for ; Tue, 27 Feb 2024 10:59:48 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1709031575.cb9fc6eab0737589764022f2b46a2255645e6664.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/itcl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/itcl/Manifest dev-tcltk/itcl/itcl-4.2.4.ebuild X-VCS-Directories: dev-tcltk/itcl/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: cb9fc6eab0737589764022f2b46a2255645e6664 X-VCS-Branch: master Date: Tue, 27 Feb 2024 10:59:48 +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: 987ee2f6-75ff-4cdb-9e7d-14a6a2239673 X-Archives-Hash: 03b368efdcd0c9d3b75ae35897ff6b1d commit: cb9fc6eab0737589764022f2b46a2255645e6664 Author: Alfredo Tupone gentoo org> AuthorDate: Tue Feb 27 10:58:57 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Tue Feb 27 10:59:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9fc6ea dev-tcltk/itcl: add 4.2.4 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/itcl/Manifest | 1 + dev-tcltk/itcl/itcl-4.2.4.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-tcltk/itcl/Manifest b/dev-tcltk/itcl/Manifest index 4d081551d8e4..ea11e0ae88c4 100644 --- a/dev-tcltk/itcl/Manifest +++ b/dev-tcltk/itcl/Manifest @@ -1 +1,2 @@ DIST itcl-4-2-2.tar.gz 522497 BLAKE2B 3bb79525e5796b37b9274fe514b2430f8cd3f17f9b63ad008e1cc011eb298d47efedc9b684ea23cc0811f2da5f14d5dbc2c6e4b3ebf8bd7787fcc71661a621db SHA512 60bb5fba6c1188cbec15236c2f33b2409ff7a77af89526552a865376703574d01075fa9422d89e6f10c188b3eb8b3553f6d449704f55444005d2050de1c255d6 +DIST itcl-4-2-4.tar.gz 536828 BLAKE2B 970d6e5cbe7322d88a0117737df553f155cdda3264aaae93b30db361f40296dde74f1652d26bb6afccc3ca4c825fbc012710d8292b6df991af3a86f8e31c2e8b SHA512 fbe3e4298721b97777947675b42a434c8c7ec566564b81b1479fb958519ac4176b707f9be7bc6860ee72ee10fe29c82b211c4ac816f9ba6d4269ab43007eefe6 diff --git a/dev-tcltk/itcl/itcl-4.2.4.ebuild b/dev-tcltk/itcl/itcl-4.2.4.ebuild new file mode 100644 index 000000000000..2c2b6c38747a --- /dev/null +++ b/dev-tcltk/itcl/itcl-4.2.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MYP="${PN}-$(ver_rs 1- '-')" + +DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" +HOMEPAGE="http://incrtcl.sourceforge.net/" +SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MYP}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-lang/tcl-8.6:0=" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${MYP}" + +# somehow broken +#RESTRICT=test + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 opendir64 rewinddir64 closedir64 # used to test for Large File Support +) + +src_prepare() { + default + cp -r itclWidget/tclconfig tclconfig || die +} + +src_configure() { + econf \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + --with-tclinclude="${EPREFIX}"/usr/include \ + --disable-rpath +} + +src_compile() { + # adjust install_name on darwin + if [[ ${CHOST} == *-darwin* ]]; then + sed -i \ + -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \ + "${S}"/Makefile || die 'sed failed' + fi + + sed 's:-pipe::g' -i Makefile || die + + emake CFLAGS_DEFAULT="${CFLAGS}" +} + +src_install() { + default + + local MY_P=${PN}${PV} + + sed \ + -e "/BUILD_LIB_SPEC/s:-L${S}::g" \ + -e "/BUILD_STUB_LIB_SPEC/s:-L${S}::g" \ + -e "/BUILD_STUB_LIB_PATH/s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \ + -e "/INCLUDE_SPEC/s:${S}/generic:${EPREFIX}/usr/include:g" \ + -e "s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \ + -i "${ED}"/usr/$(get_libdir)/${MY_P}/itclConfig.sh || die + + cat >> "${T}"/34${PN} <<- EOF + LDPATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/" + EOF + doenvd "${T}"/34${PN} +}