From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/getdata/
Date: Wed, 5 Sep 2018 18:05:36 +0000 (UTC) [thread overview]
Message-ID: <1536170522.eaf61075cf730121322d40b30273b4c9aed3161f.asturm@gentoo> (raw)
commit: eaf61075cf730121322d40b30273b4c9aed3161f
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 5 18:02:02 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 5 18:02:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf61075
sci-libs/getdata: Run python-single-r1_pkg_setup conditionally
Package-Manager: Portage-2.3.49, Repoman-2.3.10
sci-libs/getdata/getdata-0.9.0-r1.ebuild | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
index 9bbc02d66ae..d46c5d419c3 100644
--- a/sci-libs/getdata/getdata-0.9.0-r1.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
FORTRAN_STANDARD="95"
FORTRAN_NEEDED=fortran
-
+PYTHON_COMPAT=( python2_7 )
inherit autotools eutils fortran-2 python-single-r1
DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data"
@@ -28,9 +26,11 @@ DEPEND="
python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
-PATCHES=(
- "${FILESDIR}/${P}-remove-python-test.patch"
-)
+PATCHES=( "${FILESDIR}/${P}-remove-python-test.patch" )
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
src_prepare() {
default
@@ -42,20 +42,20 @@ src_configure() {
--disable-idl \
--disable-matlab \
--disable-php \
- $(use_enable cxx cplusplus) \
- $(use_enable debug) \
- $(use_enable fortran) \
- $(use_enable fortran fortran95) \
- $(use_enable perl) \
- $(use_enable python) \
- $(use_enable static-libs static) \
--with-libz \
--without-libslim \
--without-libzzip \
$(use_with bzip2 libbz2) \
+ $(use_enable cxx cplusplus) \
+ $(use_enable debug) \
$(use_with flac libFLAC) \
+ $(use_enable fortran) \
+ $(use_enable fortran fortran95) \
$(use_with lzma liblzma) \
- $(usex perl --with-perl-dir=vendor)
+ $(use_enable perl) \
+ $(usex perl --with-perl-dir=vendor) \
+ $(use_enable python) \
+ $(use_enable static-libs static)
}
src_install() {
next reply other threads:[~2018-09-05 18:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-05 18:05 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-27 5:59 [gentoo-commits] repo/gentoo:master commit in: sci-libs/getdata/ Sam James
2024-03-27 4:52 Sam James
2024-03-27 4:52 Sam James
2022-11-19 11:41 Andrew Ammerlaan
2022-01-11 14:46 Andrew Ammerlaan
2021-02-19 12:47 Sam James
2020-09-09 11:30 Michał Górny
2020-02-09 16:36 Michał Górny
2020-01-22 21:50 Michał Górny
2020-01-16 6:39 Michał Górny
2018-09-05 18:05 Andreas Sturmlechner
2015-12-20 17:06 Justin Lecher
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=1536170522.eaf61075cf730121322d40b30273b4c9aed3161f.asturm@gentoo \
--to=asturm@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