commit:     230d6f49a7d36c07ef9e79ca2307f97a9490392a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  2 16:58:33 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 16:59:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230d6f49

dev-tcltk/bwidget: add 1.10.1

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

 dev-tcltk/bwidget/Manifest              |  1 +
 dev-tcltk/bwidget/bwidget-1.10.1.ebuild | 38 +++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-tcltk/bwidget/Manifest b/dev-tcltk/bwidget/Manifest
index 9f43d5226710..3736bd44b866 100644
--- a/dev-tcltk/bwidget/Manifest
+++ b/dev-tcltk/bwidget/Manifest
@@ -1,2 +1,3 @@
 DIST BWidget-1.9.15.zip 329390 BLAKE2B 
011bc3e303082af8ec4aaf1bfa3812cec0e0c91dac41db867d5ebd5883949795d5877a53050be31823a218fdbc5113df8c848378af133ecb26dc07f5e8360b1c
 SHA512 
cc3c46a112e902158c3f010941efcd51b42adae5b989511b325c619bffe79c3a11d74b044619e1ed9ef4b77abf18f7a2e8dfbd3fe46e1d26a1b61a02c3a3096c
+DIST bwidget-1.10.1.tar.gz 254211 BLAKE2B 
c45a8c15621aa683547a6eefe1ed1f85ea1493eb2e8a2c5f7ed5ea323d9b783f302da336423919273689c2bd29057fa3184605eeab92aadc2b97c6d7faa61e50
 SHA512 
6fcbf22a57e17f1072850b7b0388e73741fcf27438f951ba4704b65286e7a60b91593fad4f5120217a6546b5b4dfd1540a35eda97b64d179c6fcfa589f51bb0e
 DIST bwidget-1.9.16.tar.gz 252813 BLAKE2B 
2e8aff10d73e5782603a62991551d83cce6b88513e2a1b9487105ed2778a144f10e1815be7a4a9e34e2e036efb9526a221e4a880d53e30bed85bbc67c852141f
 SHA512 
1355e8d8fa784d4bb72a82eae267b6c958cd7d401d68ded05e296929b8d39d64aeab4620c7c9acb02d31bf8da6c3da15460429f95f8d07846f68a8e86257f43d

diff --git a/dev-tcltk/bwidget/bwidget-1.10.1.ebuild 
b/dev-tcltk/bwidget/bwidget-1.10.1.ebuild
new file mode 100644
index 000000000000..4483847c1c45
--- /dev/null
+++ b/dev-tcltk/bwidget/bwidget-1.10.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit virtualx
+
+DESCRIPTION="High-level widget set for Tcl/Tk"
+HOMEPAGE="http://tcllib.sourceforge.net/";
+SRC_URI="https://downloads.sourceforge.net/tcllib/BWidget/${PV}/${P}.tar.gz";
+
+LICENSE="tcltk"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+IUSE="doc"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-lang/tk:0"
+RDEPEND="${DEPEND}"
+BDEPEND="app-arch/unzip"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.9.8-test.patch )
+
+src_test() {
+       TCLLIBPATH=${S} virtx tclsh tests/entry.test
+}
+
+src_install() {
+       insinto /usr/$(get_libdir)/${P}
+       doins *.tcl
+       doins -r images lang
+
+       dodoc -r demo
+       dodoc ChangeLog README.txt
+
+       docinto html
+       use doc && dodoc -r BWman/*
+}

Reply via email to