From cb7e4377c338fd6cd2fb4fc22d64eef88e390161 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Feb 2024 23:41:01 +0000 Subject: gentoo auto-resync : 28:02:2024 - 23:41:01 --- dev-tcltk/itcl/Manifest | 2 +- dev-tcltk/itcl/itcl-4.2.4-r1.ebuild | 77 +++++++++++++++++++++++++++++++++++++ dev-tcltk/itcl/itcl-4.2.4.ebuild | 76 ------------------------------------ 3 files changed, 78 insertions(+), 77 deletions(-) create mode 100644 dev-tcltk/itcl/itcl-4.2.4-r1.ebuild delete mode 100644 dev-tcltk/itcl/itcl-4.2.4.ebuild (limited to 'dev-tcltk/itcl') diff --git a/dev-tcltk/itcl/Manifest b/dev-tcltk/itcl/Manifest index 20964e32367e..ffc9b764586e 100644 --- a/dev-tcltk/itcl/Manifest +++ b/dev-tcltk/itcl/Manifest @@ -2,5 +2,5 @@ AUX itcl-4.2.4-gentoo.patch 435 BLAKE2B 2097c09df204f1b63132dbfa48dbbc9f8abfaf2c DIST itcl-4-2-2.tar.gz 522497 BLAKE2B 3bb79525e5796b37b9274fe514b2430f8cd3f17f9b63ad008e1cc011eb298d47efedc9b684ea23cc0811f2da5f14d5dbc2c6e4b3ebf8bd7787fcc71661a621db SHA512 60bb5fba6c1188cbec15236c2f33b2409ff7a77af89526552a865376703574d01075fa9422d89e6f10c188b3eb8b3553f6d449704f55444005d2050de1c255d6 DIST itcl-4-2-4.tar.gz 536828 BLAKE2B 970d6e5cbe7322d88a0117737df553f155cdda3264aaae93b30db361f40296dde74f1652d26bb6afccc3ca4c825fbc012710d8292b6df991af3a86f8e31c2e8b SHA512 fbe3e4298721b97777947675b42a434c8c7ec566564b81b1479fb958519ac4176b707f9be7bc6860ee72ee10fe29c82b211c4ac816f9ba6d4269ab43007eefe6 EBUILD itcl-4.2.2.ebuild 1641 BLAKE2B d9cb4caf741b5b04af2ed1e9965fb44fbf88425199c1021539ecd5d2dc25c012fbd77c99720fcf1f9956d83a9babda2ecd8dc31f2514af543aeb4af794bd9f6d SHA512 87721fc43a968d94b6197fce23f31a5f10855b548743674d5a41432db0094087bdae5884eefedbfc651f16faba3b8cd0f607f7f776ddb9e225b03f7db80b563d -EBUILD itcl-4.2.4.ebuild 1792 BLAKE2B 3433bb417dc93df3ca3e79ea26cbd68d62e71529e1a9d05378184ef1f2c75e88b14bb5c63e5377d8a3c7c91ed7431b64a879cb7476b7b6bfcce8f314daba001f SHA512 1862cdf8c961b593e152f0033320980adaca99ca25993cc98ac01837bb7f532278ddb9fc177b743bfd15da014ce442d5e69e3a6cb86fba2bcfb334d44f22ece6 +EBUILD itcl-4.2.4-r1.ebuild 1836 BLAKE2B 70c8d1600a1574ae8c7a4f06023d7885b9f89e7582b1b783738333ac898564c70c070a5ef3c88b1d552958fea47963087c2382b823548a2133901b7257ed5c4b SHA512 856cf6655ec29d4a6091ec63a87151b5d2b5e4a556eeb2dea7ab4289614fb1907728eaf63a25b80a7dc4418972b22d5d564e1be1f502eebc11781c599110df16 MISC metadata.xml 381 BLAKE2B 10be715b2d7375efe50d58e9fa2ac732553271e077bdebed3a0422b0a3f0932aa6d2ccb15f4c1db1aca8d619b20efc593d417b5adbec6c1dfb41ddda409e98b5 SHA512 6343f2deffd5ac471db9b2ebfa6ed602a4ce2beed9aa47e58e3bf49c040f847d12f209549151ca4947f6690f001effa8e8ab60172e8b2a182c59b77938761417 diff --git a/dev-tcltk/itcl/itcl-4.2.4-r1.ebuild b/dev-tcltk/itcl/itcl-4.2.4-r1.ebuild new file mode 100644 index 000000000000..bf4ef0c480da --- /dev/null +++ b/dev-tcltk/itcl/itcl-4.2.4-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +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 +) + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_prepare() { + default + cp -r itclWidget/tclconfig tclconfig || die + echo "git-a3e8b43c671afc7f0d82bd892325d42c813791ab" > manifest.uuid + eautoreconf +} + +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} + dosym . /usr/$(get_libdir)/${MY_P}/library +} diff --git a/dev-tcltk/itcl/itcl-4.2.4.ebuild b/dev-tcltk/itcl/itcl-4.2.4.ebuild deleted file mode 100644 index 264d0c966f03..000000000000 --- a/dev-tcltk/itcl/itcl-4.2.4.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -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 -) - -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) - -src_prepare() { - default - cp -r itclWidget/tclconfig tclconfig || die - echo "git-a3e8b43c671afc7f0d82bd892325d42c813791ab" > manifest.uuid - eautoreconf -} - -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} -} -- cgit v1.2.3