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 DD302139085 for ; Sat, 4 Feb 2017 01:31:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C736521C06A; Sat, 4 Feb 2017 01:31:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A82F521C054 for ; Sat, 4 Feb 2017 01:31:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA020340F53 for ; Sat, 4 Feb 2017 01:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FD213DC6 for ; Sat, 4 Feb 2017 01:31:40 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1486171848.f0663b688886caad77bca4bfeda596f5b282f6ba.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/dieharder/dieharder-3.31.1-r1.ebuild X-VCS-Directories: app-crypt/dieharder/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: f0663b688886caad77bca4bfeda596f5b282f6ba X-VCS-Branch: master Date: Sat, 4 Feb 2017 01:31:40 +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: c7a0413d-5fa7-481f-8dd0-d518516161a6 X-Archives-Hash: 64a64f3c7a83837ff6862b83931fb4f3 commit: f0663b688886caad77bca4bfeda596f5b282f6ba Author: Alon Bar-Lev gentoo org> AuthorDate: Fri Feb 3 23:27:49 2017 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Feb 4 01:30:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0663b68 app-crypt/dieharder: eapi bump Package-Manager: portage-2.3.3 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 31 ++++++++++++++++++-------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index d389c1b..1a44ed1 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit autotools eutils @@ -19,8 +19,27 @@ RDEPEND="sci-libs/gsl" DEPEND="${RDEPEND} doc? ( dev-tex/latex2html )" +DOCS=( + NOTES +) +HTML_DOCS=() + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +pkg_setup() { + use doc && DOCS+=( + ChangeLog + manual/dieharder.pdf manual/dieharder.ps + ) + use doc && HTML_DOCS+=( + dieharder.html + ) +} + src_prepare() { - epatch "${FILESDIR}/${P}-build.patch" + default eautoreconf } @@ -31,15 +50,9 @@ src_compile() { src_install() { default - dodoc NOTES + docinto "dieharder" dodoc dieharder/README dieharder/NOTES docinto "libdieharder" dodoc libdieharder/README libdieharder/NOTES - - if use doc ; then - dodoc ChangeLog dieharder.html - docinto "manual" - dodoc manual/dieharder.pdf manual/dieharder.ps - fi }