diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-06 20:24:30 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-06 20:24:30 +0000 |
| commit | dce9fcb881a36c98ea6bb21f4f920045c41db9fa (patch) | |
| tree | ae84b8fb2cf973aa354fd4ab5e7103e7cdd71c86 /dev-tcltk/tclpython | |
| parent | 6665804c54da30cc55e602711b02548f7f683343 (diff) | |
| download | baldeagleos-repo-dce9fcb881a36c98ea6bb21f4f920045c41db9fa.tar.gz baldeagleos-repo-dce9fcb881a36c98ea6bb21f4f920045c41db9fa.tar.xz baldeagleos-repo-dce9fcb881a36c98ea6bb21f4f920045c41db9fa.zip | |
Adding metadata
Diffstat (limited to 'dev-tcltk/tclpython')
| -rw-r--r-- | dev-tcltk/tclpython/Manifest | 1 | ||||
| -rw-r--r-- | dev-tcltk/tclpython/files/tclpython-5.1-gentoo.patch | 26 | ||||
| -rw-r--r-- | dev-tcltk/tclpython/tclpython-5.0-r4.ebuild (renamed from dev-tcltk/tclpython/tclpython-5.0-r3.ebuild) | 4 | ||||
| -rw-r--r-- | dev-tcltk/tclpython/tclpython-5.1.ebuild | 43 |
4 files changed, 72 insertions, 2 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 index ffb6a05b945e..dafca3ddd2c6 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.1.ebuild b/dev-tcltk/tclpython/tclpython-5.1.ebuild new file mode 100644 index 000000000000..7fa6b640a3d9 --- /dev/null +++ b/dev-tcltk/tclpython/tclpython-5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) + +inherit python-single-r1 toolchain-funcs + +DESCRIPTION="Python package for Tcl" +HOMEPAGE="http://jfontain.free.fr/tclpython.htm" +SRC_URI="https://github.com/amykyta3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + <dev-lang/tcl-9:0=" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_compile() { + emake PKG_NAME=tclpython3 CC="$(tc-getCC)" \ + MYCFLAGS="${CFLAGS}" \ + MYLDFLAGS="${LDFLAGS} $(python_get_library_path)" +} + +src_test() { + emake PKG_NAME=tclpython3 CC="$(tc-getCC)" test +} + +src_install() { + insinto /usr/$(get_libdir) + doins -r build/tclpython3/tclpython3 + fperms 775 /usr/$(get_libdir)/tclpython3/tclpython3.so.${PV} + dosym tclpython3.so.${PV} /usr/$(get_libdir)/tclpython3/tclpython3.so + + dodoc README.md VERSION.md +} |
