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/itk/
Date: Sat, 28 Mar 2020 10:45:01 +0000 (UTC)	[thread overview]
Message-ID: <1585392278.a1b78e82745fad42fefafb2152ac68be7263b057.tupone@gentoo> (raw)

commit:     a1b78e82745fad42fefafb2152ac68be7263b057
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 28 10:44:38 2020 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 10:44:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1b78e82

dev-tcltk/itk: weaken dependency on dev-tcltk/itcl

Closes: https://bugs.gentoo.org/712552
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-tcltk/itk/itk-4.1.0.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-tcltk/itk/itk-4.1.0.ebuild b/dev-tcltk/itk/itk-4.1.0.ebuild
index 51ca9d3669c..639c402f12d 100644
--- a/dev-tcltk/itk/itk-4.1.0.ebuild
+++ b/dev-tcltk/itk/itk-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,6 @@ EAPI=7
 inherit autotools multilib virtualx
 
 MY_PV=${PV/_beta/b}
-ITCL_VERSION=$(ver_cut 1-2)
 
 DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
 HOMEPAGE="http://incrtcl.sourceforge.net/"
@@ -20,7 +19,7 @@ RESTRICT="!test? ( test )"
 
 DEPEND="
 	>=dev-lang/tk-8.6:=
-	=dev-tcltk/itcl-${ITCL_VERSION}*"
+	>=dev-tcltk/itcl-4.1"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}${MY_PV}"
@@ -33,6 +32,8 @@ src_prepare() {
 }
 
 src_configure() {
+	local ITCL_VERSION=$(best_version dev-tcltk/itcl)
+	ITCL_VERSION=${ITCL_VERSION:15} # remove category, package name and dash
 	source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die
 	econf \
 		--with-tcl="${EPREFIX}"/usr/$(get_libdir) \


             reply	other threads:[~2020-03-28 10:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28 10:45 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-13  2:54 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/itk/ Sam James
2025-02-13  2:54 Sam James
2025-02-08 10:16 Arthur Zamarin
2024-11-08  2:49 Sam James
2024-03-11 11:28 Alfredo Tupone
2024-03-07 21:44 Alfredo Tupone
2024-02-29 11:08 Alfredo Tupone
2024-02-28 20:38 Alfredo Tupone
2024-02-28 20:13 Alfredo Tupone
2023-03-11 21:48 Alfredo Tupone
2021-09-15 19:47 Alfredo Tupone
2021-03-31 19:59 Andreas Sturmlechner
2021-02-22 18:57 Sam James
2019-11-17  4:37 Matt Turner
2019-11-15  7:34 Alfredo Tupone
2019-06-05  7:46 Agostino Sarubbo
2019-06-05  7:28 Agostino Sarubbo
2019-04-07 22:15 Aaron Bauman
2019-03-27 21:22 Sergei Trofimovich
2018-10-11 19:58 Alfredo Tupone
2016-12-31 22:20 Agostino Sarubbo
2016-11-27 20:22 Tobias Klausmann
2016-10-14 17:48 Amy Winston

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=1585392278.a1b78e82745fad42fefafb2152ac68be7263b057.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