public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/rngstreams/
Date: Sat,  7 Dec 2019 23:37:48 +0000 (UTC)	[thread overview]
Message-ID: <1575761828.cc34d8bca43d2708c1cd5865712d5da660ff9a0b.soap@gentoo> (raw)

commit:     cc34d8bca43d2708c1cd5865712d5da660ff9a0b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 23:37:08 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> 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 <soap <AT> 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
 }


             reply	other threads:[~2019-12-07 23:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07 23:37 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-03  6:06 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/rngstreams/ Sam James
2022-12-03  6:06 Sam James
2017-11-25 17:42 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1575761828.cc34d8bca43d2708c1cd5865712d5da660ff9a0b.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox