Skip to content

Commit

Permalink
dev-tcltk/bwidget: bump to 1.9.12 and fix test
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/630888
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
atupone committed Oct 7, 2018
1 parent ec2744c commit 68d8389
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev-tcltk/bwidget/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST bwidget-1.9.12.tar.gz 254905 BLAKE2B 02b206b9d19ec9580003a8549aa14d2bce230f8dc9834fcd2ba327bee2cf1f90c324f1804e175b89055d5f5f8727253132d186e9230efdc8b29e390e3cf2bf6b SHA512 0e01725ec65041a47a32625f2687e22bc42ccd581a26b3ca7be5a969b0b901c07fd5887a47ff846cc1111767a72cfc6e31f4aa99a1c9040a6f08705d97a5970f
DIST bwidget-1.9.8.tar.gz 252668 BLAKE2B d7318b3ac932fd0ab9a5fb180e3ca739012e2e6583ba8e3366b6a63c85bfda26ea2f2534540442f9a2047cc27179877658bf492ccfac8106858d049f46f33034 SHA512 437958871809c8ce285cbf4521ff08720d106dca708183ff94234015da2b04ccb3a7b05df13d8e3f46466106c91418607c5983fc4ed8d9c4285ae0a0b1071262
DIST bwidget-1.9.9.tar.gz 243001 BLAKE2B 31935584e5c6737b143e67113f7d5fb34450ea5bf7852f3c72691abcb1545752f1607945377ac1cb68e5bb256aabc8f92aa193d2a63149ab3de0b74c074409d2 SHA512 6374c9127ab37dd2cc3ede30fc525a7d0f226a995e44f7b1c9751e1c5520090bfbbae5cfcb5cbeec4d1c89eb8f4cd7eb2e453ac055d4ae5ef4b7b77512d2e042
40 changes: 40 additions & 0 deletions dev-tcltk/bwidget/bwidget-1.9.12.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit eutils multilib virtualx

MY_PN=${PN/bw/BW}
MY_P=${MY_PN}-${PV}

DESCRIPTION="High-level widget set for Tcl/Tk"
HOMEPAGE="http://tcllib.sourceforge.net/"
SRC_URI="mirror://sourceforge/tcllib/${MY_PN}/${PV}/${P}.tar.gz"

LICENSE="tcltk"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc"

DEPEND="dev-lang/tk:0"
RDEPEND="${DEPEND}"

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

insinto /usr/share/doc/${PF}/
doins -r demo
dodoc ChangeLog README.txt

docinto html
use doc && dodoc -r BWman/*
}
4 changes: 2 additions & 2 deletions dev-tcltk/bwidget/bwidget-1.9.9.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
Expand Down Expand Up @@ -26,7 +26,7 @@ src_prepare() {

src_test() {
VIRTUALX_COMMAND=tclsh
virtualmake tests/entry.test
TCLLIBPATH="${S}" virtualmake tests/entry.test
}

src_install() {
Expand Down

0 comments on commit 68d8389

Please sign in to comment.