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 4F118138334 for ; Sat, 7 Dec 2019 23:37:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DB28E076B; Sat, 7 Dec 2019 23:37:51 +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 6EFACE076B for ; Sat, 7 Dec 2019 23:37:51 +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 650CE34D821 for ; Sat, 7 Dec 2019 23:37:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8DFF26C for ; Sat, 7 Dec 2019 23:37:48 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1575761828.cc34d8bca43d2708c1cd5865712d5da660ff9a0b.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/rngstreams/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/rngstreams/rngstreams-1.0.1.ebuild X-VCS-Directories: sci-mathematics/rngstreams/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: cc34d8bca43d2708c1cd5865712d5da660ff9a0b X-VCS-Branch: master Date: Sat, 7 Dec 2019 23:37:48 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef467daa-7ef7-434b-a8b2-ac997dcf7098 X-Archives-Hash: ebdfce1acf6a76130d9383f67b661442 commit: cc34d8bca43d2708c1cd5865712d5da660ff9a0b Author: David Seifert gentoo org> AuthorDate: Sat Dec 7 23:37:08 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Dec 7 23:37:08 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc34d8bc sci-mathematics/rngstreams: Port to EAPI 7 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert gentoo.org> sci-mathematics/rngstreams/rngstreams-1.0.1.ebuild | 32 +++++++++++++++------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/sci-mathematics/rngstreams/rngstreams-1.0.1.ebuild b/sci-mathematics/rngstreams/rngstreams-1.0.1.ebuild index 2ea39b2a42f..cf74c8bf763 100644 --- a/sci-mathematics/rngstreams/rngstreams-1.0.1.ebuild +++ b/sci-mathematics/rngstreams/rngstreams-1.0.1.ebuild @@ -1,24 +1,36 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit autotools-utils +inherit out-of-source DESCRIPTION="Multiple independent streams of pseudo-random numbers" HOMEPAGE="http://statmath.wu.ac.at/software/RngStreams/" -SRC_URI="${HOMEPAGE}${P}.tar.gz" +SRC_URI="http://statmath.wu.ac.at/software/RngStreams/${P}.tar.gz" LICENSE="GPL-3" -SLOT=0 +SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="doc examples static-libs" +IUSE="doc examples" + +my_src_configure() { + econf --enable-shared --disable-static +} + +my_src_install_all() { + if use doc; then + HTML_DOCS=( doc/rngstreams.html/. ) + dodoc doc/${PN}.pdf + fi + einstalldocs -src_install() { - autotools-utils_src_install - use doc && dohtml -r doc/rngstreams.html/* && dodoc doc/${PN}.pdf if use examples; then - rm examples/Makefile* + rm examples/Makefile* || die dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples fi + + # no static archives + find "${D}" -name '*.la' -delete || die }