commit:     b6ae6794c22ef3d6f547f7c6db1ba6a29429684a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  6 16:27:03 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar  6 16:28:35 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ae6794

dev-tcltk/tclpython: no tcl-9. Version bump

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

 dev-tcltk/tclpython/Manifest                       |  1 +
 .../tclpython/files/tclpython-5.1-gentoo.patch     | 26 ++++++++++++++++++++++
 ...ython-5.0-r3.ebuild => tclpython-5.0-r4.ebuild} |  4 ++--
 ...clpython-5.0-r3.ebuild => tclpython-5.1.ebuild} |  6 ++---
 4 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/dev-tcltk/tclpython/Manifest b/dev-tcltk/tclpython/Manifest
index 68cb6e9da97c..37722aca6464 100644
--- a/dev-tcltk/tclpython/Manifest
+++ b/dev-tcltk/tclpython/Manifest
@@ -1 +1,2 @@
 DIST tclpython-5.0.tar.gz 19327 BLAKE2B 
bad25a6eb04dbcd9ca3e9bc81d44f098f31f2acf367ecc32307596d5da3ed95752b3c60d9ee74fc04e21669e0361f0790edad3ad5793c78ece4904beacd92900
 SHA512 
fe15218fe00e921384dbd9611685b86cb6dfacb515a95545079550aeadaaafc3964e6ef0594a268a3fd900f40d178659e8b7f6f2a6d9aa507b59a8be0bd116af
+DIST tclpython-5.1.tar.gz 19867 BLAKE2B 
bd931a6cf71f636d4e7dd8656c1a0dfa8f99948b9176b21449d920ba2c61a1615caa92368b0c9b82af0ed02e141b11979a91fb9927a16832b0ad892bb6a89af4
 SHA512 
9719e1ee68c76b215ed27aea41484eab306329ec7c2b966740897b6d7a3d30ae5c89ffeaa88172142056baebbd90b9f572ffb112df47da0bb5ad29a53b9a5ddc

diff --git a/dev-tcltk/tclpython/files/tclpython-5.1-gentoo.patch 
b/dev-tcltk/tclpython/files/tclpython-5.1-gentoo.patch
new file mode 100644
index 000000000000..ff910b7b213e
--- /dev/null
+++ b/dev-tcltk/tclpython/files/tclpython-5.1-gentoo.patch
@@ -0,0 +1,26 @@
+--- a/Makefile 2018-10-28 17:21:20.274137396 +0100
++++ b/Makefile 2018-10-28 17:21:47.696694473 +0100
+@@ -23,11 +23,11 @@
+ LIBRARY:= $(PKG_NAME).so.$(PKG_VERSION)
+ 
+ TCL_VERSION=$(shell echo 'puts $\$$tcl_version' | tclsh)
+-CFLAGS:= -O2 -Wall -fPIC -DUSE_TCL_STUBS
++CFLAGS:= $(MYCFLAGS) -fPIC -DUSE_TCL_STUBS
+ CFLAGS+= $(shell $(PYTHON_CONFIG) --cflags)
+ CFLAGS+= -I/usr/include/tcl$(TCL_VERSION)
+ CFLAGS+= -DTCLPYTHON_VERSION=$(PKG_VERSION)
+-LDFLAGS:= -shared -s
++LDFLAGS:= $(MYLDFLAGS) -shared
+ LDFLAGS+= $(PYTHON_CONFIG_LDFLAGS)
+ LDFLAGS+= -ltclstub$(TCL_VERSION)
+ 
+@@ -69,7 +69,8 @@
+ $(OUTPUT_DIR)/pkgIndex.tcl:pkg/pkgIndex.tcl
+       cp -t $(dir $@) $^
+ 
+-package: $(OUTPUT_DIR)/$(LIBRARY) $(OUTPUT_DIR)/pkgIndex.tcl
++package: $(OUTPUT_DIR)/$(LIBRARY)
++      $(MAKE) $(OUTPUT_DIR)/pkgIndex.tcl
+ 
+ ifneq ($(MAKECMDGOALS), clean)
+   -include $(DEPEND)

diff --git a/dev-tcltk/tclpython/tclpython-5.0-r3.ebuild 
b/dev-tcltk/tclpython/tclpython-5.0-r4.ebuild
similarity index 94%
copy from dev-tcltk/tclpython/tclpython-5.0-r3.ebuild
copy to dev-tcltk/tclpython/tclpython-5.0-r4.ebuild
index 3c9cd7b2e70f..64f33691a1a9 100644
--- a/dev-tcltk/tclpython/tclpython-5.0-r3.ebuild
+++ b/dev-tcltk/tclpython/tclpython-5.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,7 +18,7 @@ KEYWORDS="amd64 ppc x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}
-       dev-lang/tcl:0="
+       <dev-lang/tcl-9:0="
 RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )

diff --git a/dev-tcltk/tclpython/tclpython-5.0-r3.ebuild 
b/dev-tcltk/tclpython/tclpython-5.1.ebuild
similarity index 91%
rename from dev-tcltk/tclpython/tclpython-5.0-r3.ebuild
rename to dev-tcltk/tclpython/tclpython-5.1.ebuild
index 3c9cd7b2e70f..fb915a0fed83 100644
--- a/dev-tcltk/tclpython/tclpython-5.0-r3.ebuild
+++ b/dev-tcltk/tclpython/tclpython-5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,12 +13,12 @@ 
SRC_URI="https://github.com/amykyta3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}
-       dev-lang/tcl:0="
+       <dev-lang/tcl-9:0="
 RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )

Reply via email to