From 327913eb3ce853b4df7d9a819890d38ac2257bc2 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Wed, 3 Nov 2021 19:38:01 +0100 Subject: [PATCH] dev-tcltk/tkcon: bump 2.7.10 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alfredo Tupone --- dev-tcltk/tkcon/Manifest | 1 + dev-tcltk/tkcon/metadata.xml | 1 + dev-tcltk/tkcon/tkcon-2.7.10.ebuild | 37 +++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-tcltk/tkcon/tkcon-2.7.10.ebuild diff --git a/dev-tcltk/tkcon/Manifest b/dev-tcltk/tkcon/Manifest index 7f79c9a06a5b9..b9d6300833590 100644 --- a/dev-tcltk/tkcon/Manifest +++ b/dev-tcltk/tkcon/Manifest @@ -1,2 +1,3 @@ DIST tkcon-2.5.tar.gz 139834 BLAKE2B 95d0d0fe856b9ed287d1b2af6132845e047d269991fda8fd0ac88b06b200e1e75d9ac5b3ad4bac7daf08d52ebd2a4ec5697c841565cf290980288b0ecf0449a6 SHA512 f53d21dbf281112b761970b05aa643d598819789644445a0e01f6eddcf98709c4b7ef635bc69ec40fc14b5c78397b240b86d8b6ed63aac48f656242c19fd7851 +DIST tkcon-2.7.10.tar.gz 277788 BLAKE2B 7894947c5ca062f2b905550e88c34a414d4b665b6fff0c5bf22a54e2600050b62eecbdfbde179206571cf74d39e3a9d9e33b93356bf5b81aa9cbf79dcdfcf118 SHA512 a580e06d0c86613b3c9e9daa7863fde6fd11b4e2243764c0b016f0db9d9ba0a9cf839ae26efc37e843f5da87f6304a6d0fcab7667ff6c25246a44e1630851634 DIST tkcon-2.7.3.tar.gz 278421 BLAKE2B 67e4f2d441808f26f46a08423e278fbd219cd02ad63e05de2608521066e75a041cba055296628a5b800fec516e6f26994fec413a9baf10c34aa309e04a2a9477 SHA512 2cad55d861059bd615a2084a796e99c7654ad40e50bdb209b4e4bcb36a6051dc9ac101fbd09cc29f9582ef02254c1730297eefc8e8d426c25dd25f4590e6aa25 diff --git a/dev-tcltk/tkcon/metadata.xml b/dev-tcltk/tkcon/metadata.xml index c1ea84cf5bbb5..e62ce8abea351 100644 --- a/dev-tcltk/tkcon/metadata.xml +++ b/dev-tcltk/tkcon/metadata.xml @@ -14,5 +14,6 @@ tkcon + wjoye/tkcon diff --git a/dev-tcltk/tkcon/tkcon-2.7.10.ebuild b/dev-tcltk/tkcon/tkcon-2.7.10.ebuild new file mode 100644 index 0000000000000..d0d15951af1d1 --- /dev/null +++ b/dev-tcltk/tkcon/tkcon-2.7.10.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tk GUI console" +HOMEPAGE="http://tkcon.sourceforge.net/" +SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz -> + ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="doc" + +DEPEND="dev-lang/tk:*" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +src_prepare() { + default + mv docs/changes.txt CHANGES +} + +src_install() { + local tclver="$(echo 'puts $tcl_version' | tclsh)" + local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}$(ver_cut 1-2) + dodir ${instdir} + cp -pP pkgIndex.tcl tkcon.tcl "${D}"${instdir} || die + dodir /usr/bin + dosym ${instdir}/tkcon.tcl /usr/bin/tkcon + if use doc; then + HTML_DOCS=( docs/* ) + fi + einstalldocs +}