Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/
Date: Mon, 31 Oct 2016 08:27:41
Message-Id: 1477902145.239d0c8bbfff2f258149aed55337c7bb0cf38d71.soap@gentoo
1 commit: 239d0c8bbfff2f258149aed55337c7bb0cf38d71
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Sat Oct 29 22:35:29 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 08:22:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239d0c8b
7
8 sci-physics/yoda: Version bump to 1.6.5 and EAPI bump 5 -> 6
9
10 Package-Manager: portage-2.3.0
11 Closes: https://github.com/gentoo/gentoo/pull/2698
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-physics/yoda/Manifest | 1 +
16 sci-physics/yoda/yoda-1.6.5.ebuild | 48 ++++++++++++++++++++++++++++++++++++++
17 2 files changed, 49 insertions(+)
18
19 diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
20 index 4e6f617..47f9f97 100644
21 --- a/sci-physics/yoda/Manifest
22 +++ b/sci-physics/yoda/Manifest
23 @@ -1 +1,2 @@
24 DIST YODA-1.4.0.tar.bz2 809432 SHA256 e76a129f7c2b72b53525fe0b712606eeeab0dc145daa070ebf0728f0384eaf48 SHA512 f1873888f3d2c28d42ac54fa9f3fa4a98e648a638ebceffce0a2f742c5fb6647fabd0de49c00407741e937600fc8a12d33ca26b8b9cd9b81c28a4d2e11f2bd3a WHIRLPOOL 6c8e0176b729d951351b3b9d574c91add5d6302aa76417241e560f3f3bbf38f4b60f41713d89a03a62b1c4ad3a98bd5342fd05901671e6aedf0c2c11dc36b024
25 +DIST YODA-1.6.5.tar.bz2 818613 SHA256 1477fe754cfe2e4e06aa363a773accf18aab960a8b899968b77834368cac14c5 SHA512 bead0a3ada233c1fbafe66d25e65262c20d9a9dfa6265440320a0fc782e91b3ac6581698e2015d86f2b58dc305dedbc48ed648ff03ec9f6abc11a7fb27938b1a WHIRLPOOL b6b88832b89357dbf0309641f9e4180f0c0fabf917ec7f36bafe75b811b849f0cf1cf24877b468b50d340f7a1ae1575d07fc63e9ec810a318dda7adb9b9aeed7
26
27 diff --git a/sci-physics/yoda/yoda-1.6.5.ebuild b/sci-physics/yoda/yoda-1.6.5.ebuild
28 new file mode 100644
29 index 00000000..ee66c0a
30 --- /dev/null
31 +++ b/sci-physics/yoda/yoda-1.6.5.ebuild
32 @@ -0,0 +1,48 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +PYTHON_COMPAT=( python2_7 )
40 +
41 +inherit bash-completion-r1 python-single-r1
42 +
43 +DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
44 +HOMEPAGE="http://yoda.hepforge.org/"
45 +
46 +SRC_URI="http://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2"
47 +LICENSE="GPL-2"
48 +
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
51 +IUSE="python root static-libs"
52 +
53 +RDEPEND="
54 + dev-libs/boost:=
55 + python? ( ${PYTHON_DEPS} )
56 + root? ( sci-physics/root:=[python=,${PYTHON_USEDEP}] )"
57 +DEPEND="${RDEPEND}
58 + python? ( dev-python/cython[${PYTHON_USEDEP}] )"
59 +
60 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
61 +
62 +S="${WORKDIR}/${P^^}"
63 +
64 +pkg_setup() {
65 + use python && python-single-r1_pkg_setup
66 +}
67 +
68 +src_configure() {
69 + econf \
70 + $(use_enable python pyext) \
71 + $(use_enable root) \
72 + $(use_enable static-libs static)
73 +}
74 +
75 +src_install() {
76 + default
77 +
78 + newbashcomp "${ED%/}"/usr/share/YODA/yoda-completion ${PN}
79 + rm "${ED%/}"/usr/share/YODA/yoda-completion || die
80 +}