From a0953f7ac639d8e180f62ab3364ccf9af71f783d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 26 Feb 2023 21:58:19 +0000 Subject: gentoo auto-resync : 26:02:2023 - 21:58:19 --- dev-tcltk/tclpython/Manifest | 1 + dev-tcltk/tclpython/tclpython-5.0-r2.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-tcltk/tclpython/tclpython-5.0-r2.ebuild (limited to 'dev-tcltk/tclpython') diff --git a/dev-tcltk/tclpython/Manifest b/dev-tcltk/tclpython/Manifest index 31bc1fd95077..9b461fb42e74 100644 --- a/dev-tcltk/tclpython/Manifest +++ b/dev-tcltk/tclpython/Manifest @@ -1,4 +1,5 @@ AUX tclpython-5.0-gentoo.patch 1476 BLAKE2B 86b099a5a30506c4f3dfb4c382a34dbc211b8eceabe039e033d6ec45d80d03bf64a259673ac80f4478b49a55e4605c8387bf17f3c9e3f4467345ca66ba2d98c7 SHA512 abc41ffae87ad1dabbac1dbc747c7df199559aa4d9be9676282d55020d5f1c9bde444ceb59363ddbcb2e786749fa9e42a0192d300be0fd945a01021da2abe8a9 DIST tclpython-5.0.tar.gz 19327 BLAKE2B bad25a6eb04dbcd9ca3e9bc81d44f098f31f2acf367ecc32307596d5da3ed95752b3c60d9ee74fc04e21669e0361f0790edad3ad5793c78ece4904beacd92900 SHA512 fe15218fe00e921384dbd9611685b86cb6dfacb515a95545079550aeadaaafc3964e6ef0594a268a3fd900f40d178659e8b7f6f2a6d9aa507b59a8be0bd116af EBUILD tclpython-5.0-r1.ebuild 1015 BLAKE2B 6cfe7f84d570bf93b99f428caefee349f95cc76aa60fa3a2f1b390e1e063296cfd0a4c2a9fb5343c8eca4c37606c4989b4ac21f04bea9d48de421d8ba78bd458 SHA512 b8739544082ba402c035672e86b2eeeeafb7c6701e3b05f37b00efe43c7636e3023e709d569e10342a46c5e0469f02dbde40978e962871f2f809b6dbff226317 +EBUILD tclpython-5.0-r2.ebuild 1018 BLAKE2B 8ab24d3b76b24c94366168b5ba0c5ee3dc6b2be2b4e3aa6d1382a9eb813eae7853fdbce2298159584d9512aa4f9d4f1f24456169458546d32acb60d4fffa07c4 SHA512 a5853753ef5a55a4dd35df58d3c2f05bd2fb25b4a75014428bbca21728d83af68046d43e0a06df0336b0bf71f526e190c06891d65424376a63cbb1e5876e3c7d MISC metadata.xml 337 BLAKE2B 3c1da9bcf75dfa06284eddc662e59132d4afc9085ae4327cea50f90bed808266c9857398857a99b8c560110b9339e46a8e74f5e7ce30865474c7aad7aeaaf040 SHA512 065bb7cb172671b9b9cad10777fd6af45f3946c4eb4b7ef34d476f21b93627470c8c9adf21b0d5323495e2787817eaeef9d5b7216da11632ba62a2fb054755d7 diff --git a/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild b/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild new file mode 100644 index 000000000000..0731a9cc5200 --- /dev/null +++ b/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +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" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + dev-lang/tcl: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 +} -- cgit v1.2.3