From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E2C5E138334 for ; Fri, 21 Sep 2018 20:47:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A712BE07DB; Fri, 21 Sep 2018 20:47:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8132EE07DB for ; Fri, 21 Sep 2018 20:47:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E2C7335D2B for ; Fri, 21 Sep 2018 20:47:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0084C3F5 for ; Fri, 21 Sep 2018 20:46:59 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1537562804.62f91614ae08bd7da2447207f960d6b8b507c82b.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild X-VCS-Directories: dev-tcltk/tkzinc/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 62f91614ae08bd7da2447207f960d6b8b507c82b X-VCS-Branch: master Date: Fri, 21 Sep 2018 20:46:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dbd0dba1-2723-46f7-ad4b-8fc3fb659870 X-Archives-Hash: f3348d18888cafffd677b439f5435766 commit: 62f91614ae08bd7da2447207f960d6b8b507c82b Author: Tupone Alfredo gentoo org> AuthorDate: Fri Sep 21 20:46:44 2018 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Fri Sep 21 20:46:44 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f91614 dev-tcltk/tkzinc: EAPI 6, set VARTEXFONTS Closes: https://bugs.gentoo.org/652026 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild | 43 +++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild index 14b37ebcd1f..73b6514bd1b 100644 --- a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild +++ b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild @@ -1,11 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -AUTOTOOLS_AUTORECONF=yes - -inherit autotools-utils +inherit autotools DESCRIPTION="A Tk widget library" HOMEPAGE="http://www.tkzinc.org" @@ -17,8 +15,8 @@ KEYWORDS="~amd64 ~x86 ~ppc" IUSE="debug doc threads" DEPEND=" - dev-lang/tk - media-libs/glew + dev-lang/tk:= + media-libs/glew:= virtual/opengl doc? ( virtual/latex-base )" RDEPEND="${DEPEND}" @@ -30,28 +28,33 @@ PATCHES=( "${FILESDIR}"/${PN}-3.3.4-latex.patch ) -AUTOTOOLS_IN_SOURCE_BUILD=1 +HTML_DOCS='doc/*png doc/*html doc/*css' -DOCS=( BUGS ) +src_prepare() { + default + eautoreconf +} src_configure() { - local myeconfargs=( - --enable-shared - --enable-gl=damage - $(use_enable debug symbols) + econf \ + --enable-shared \ + --enable-gl=damage \ + $(use_enable debug symbols) \ $(use_enable threads) - ) - autotools-utils_src_configure } src_compile() { - autotools-utils_src_compile - use doc && emake pdf + default + if use doc; then + VARTEXFONTS="${T}"/fonts emake pdf + fi } src_install() { - autotools-utils_src_install - - dohtml -r doc/* + default use doc && dodoc doc/refman.pdf } + +src_test() { + emake test +}