[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2024-03-18 Thread Andrew Ammerlaan
commit: b155b1eb7a32da674c81d51a068081f63c3fb332
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 17 18:37:17 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Mar 18 11:09:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b155b1eb

sci-physics/yoda: Fix bashcompletion

Bug: https://bugs.gentoo.org/926510
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/35746
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/yoda/yoda-1.9.10.ebuild | 22 +-
 sci-physics/yoda/yoda-1.9.9.ebuild  | 22 +-
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/sci-physics/yoda/yoda-1.9.10.ebuild 
b/sci-physics/yoda/yoda-1.9.10.ebuild
index ea206e059b09..cab2ee9ece18 100644
--- a/sci-physics/yoda/yoda-1.9.10.ebuild
+++ b/sci-physics/yoda/yoda-1.9.10.ebuild
@@ -80,7 +80,27 @@ src_test() {
 src_install() {
emake install DESTDIR="${ED}"
 
-   newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+   if use python ; then
+   newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+   bashcomp_alias ${PN} ${PN}-config
+   bashcomp_alias ${PN} ${PN}stack \
+   aida2flat \
+   ${PN}diff \
+   ${PN}cnv \
+   ${PN}hist \
+   ${PN}-config \
+   ${PN}2flat \
+   ${PN}scale \
+   ${PN}2root \
+   ${PN}cmp \
+   ${PN}merge \
+   ${PN}plot \
+   aida2${PN} \
+   ${PN}ls \
+   ${PN}envelope \
+   ${PN}2aida
+   fi
+
rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
 
use python && python_optimize

diff --git a/sci-physics/yoda/yoda-1.9.9.ebuild 
b/sci-physics/yoda/yoda-1.9.9.ebuild
index bb8f1e8ffb59..0294b67c3cf3 100644
--- a/sci-physics/yoda/yoda-1.9.9.ebuild
+++ b/sci-physics/yoda/yoda-1.9.9.ebuild
@@ -80,7 +80,27 @@ src_test() {
 src_install() {
emake install DESTDIR="${ED}"
 
-   newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+   if use python ; then
+   newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+   bashcomp_alias ${PN} ${PN}-config
+   bashcomp_alias ${PN} ${PN}stack \
+   aida2flat \
+   ${PN}diff \
+   ${PN}cnv \
+   ${PN}hist \
+   ${PN}-config \
+   ${PN}2flat \
+   ${PN}scale \
+   ${PN}2root \
+   ${PN}cmp \
+   ${PN}merge \
+   ${PN}plot \
+   aida2${PN} \
+   ${PN}ls \
+   ${PN}envelope \
+   ${PN}2aida
+   fi
+
rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
 
use python && python_optimize



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/files/, sci-physics/yoda/

2024-03-18 Thread Andrew Ammerlaan
commit: 5e2741b26cc97d723e60264033f0d550b932d1ca
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Mar 14 11:26:53 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Mar 18 11:09:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2741b2

sci-physics/yoda: add 1.9.9, 1.9.10

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  users.noreply.github.com>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/yoda/Manifest |  2 +
 sci-physics/yoda/files/yoda-1.9.9-configure.patch | 56 ++
 sci-physics/yoda/yoda-1.9.10.ebuild   | 92 +++
 sci-physics/yoda/yoda-1.9.9.ebuild| 92 +++
 4 files changed, 242 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 6cb5d1036f33..aa6f35fa911b 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,4 +1,6 @@
 DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 
70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189
 SHA512 
eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71
+DIST YODA-1.9.10.tar.bz2 1278729 BLAKE2B 
f6ae9b579d79b6be62e9644e327f0b449882c0f1a0efaac09ac97eae90a2ced10bf2b13447d75390552b3e4d8c128e7a33184bf8b2d308236f828e611df6d7a4
 SHA512 
54a455a1b2772ea3201477d4dddcf0c92c85bfee8825d8726d62331ebacb37fc8d1f6e02cdfe592722f2a747a46786d2bdb3c36cc982794a30b25e718d32e998
 DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 
010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a
 SHA512 
46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247
 DIST YODA-1.9.6.tar.bz2 1069530 BLAKE2B 
23d782723c5b2429e9e9a70abe8dbf3d58a2204437a46b6e2e196cacc9b6ce55464d5600dd53492f43801866fc7da0e82d1e765cc04c493f40b2da95413aba25
 SHA512 
2433f2d685ccc97aa41e5f44e0c7ca560de01e3b746f2e4837ee6259cd142106e9aa0066aaa106e5298f8d4d9df3a09f5a2d058d6b1593792c9afe06b65d1a22
 DIST YODA-1.9.7.tar.bz2 1084794 BLAKE2B 
86a1d061c6c16ceb994878d734642fe2be18dcce4391e7f8cb57df27b5944ba4edc6573915b150993c921a4a7b5eda2b3f598b7984466f6706348ca137e4981a
 SHA512 
923e51a5783638304841bdc7aad6351c109c1806ce3f87d1ed9d965c4c95179bb1e416c9db77e39cd8f81417d08a7668cdde4f56cd893ce528b7cf9fe0e67c01
+DIST YODA-1.9.9.tar.bz2 1278231 BLAKE2B 
74b759d5e152a28359ab244690a0c8e8cf10d2eb130bbf4017d602a98b28264b4f9f05842b6ef261b990e62908db6cad490aa85dde54cae3dc948eaa5f9f8440
 SHA512 
76e80891878712c6576cc13013b332dc48711c9b19ba1257a6c2128bdde5eb483c61f9a7d7f7946b8f0c44fd3940afe699c8dd6a45083917bf8f30351d9ce191

diff --git a/sci-physics/yoda/files/yoda-1.9.9-configure.patch 
b/sci-physics/yoda/files/yoda-1.9.9-configure.patch
new file mode 100644
index ..47872f64097a
--- /dev/null
+++ b/sci-physics/yoda/files/yoda-1.9.9-configure.patch
@@ -0,0 +1,56 @@
+From a9267acfaadf93cd4fbe6d5a91e766bfb3bf154a Mon Sep 17 00:00:00 2001
+From: Alexander Puck Neuwirth 
+Date: Fri, 15 Mar 2024 20:36:32 +
+Subject: [PATCH 1/2] Fix configure failure for uncommon shells
+
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 86de6b35..e9db8ee7 100644
+--- a/configure.ac
 b/configure.ac
+@@ -131,11 +131,11 @@ if test x$enable_pyext = xyes; then
+ enable_pyext=no
+   fi
+ fi
+-AM_CONDITIONAL(ENABLE_PYEXT, [test x$enable_pyext == xyes])
++AM_CONDITIONAL(ENABLE_PYEXT, [test x$enable_pyext = xyes])
+ 
+ 
+ ## Cython checks
+-if test x$enable_pyext == xyes; then
++if test x$enable_pyext = xyes; then
+   AM_CHECK_CYTHON([0.24], [:], [:])
+   if test x$CYTHON_FOUND = xyes; then
+ AC_PATH_PROGS(CYTHON, [$CYTHON cython-$PYTHON_VERSION 
cython$PYTHON_VERSION cython-$PYTHON_MAJOR_VERSION cython$PYTHON_MAJOR_VERSION 
cython])
+-- 
+GitLab
+
+
+From 62f321a54d83a3937d5061759ca04b97aa8e2616 Mon Sep 17 00:00:00 2001
+From: Alexander Puck Neuwirth 
+Date: Fri, 15 Mar 2024 20:41:19 +
+Subject: [PATCH 2/2] Update configure.ac
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index e9db8ee7..6a8a34cb 100644
+--- a/configure.ac
 b/configure.ac
+@@ -194,7 +194,7 @@ AC_CONFIG_FILES([yodaenv.sh yoda.pc])
+ 
+ AC_OUTPUT
+ 
+-if test x$enable_pyext == xyes; then
++if test x$enable_pyext = xyes; then
+cat  
${P^^}.tar.bz2"
+   S="${WORKDIR}/${P^^}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"

[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2023-02-24 Thread Andrew Ammerlaan
commit: 80b26cc4b25e282d6dc115ea79aa0fa1bf4c9706
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Feb 24 08:43:17 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Feb 24 08:43:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b26cc4

sci-physics/yoda: add 1.9.7

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/yoda-1.9.7.ebuild | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index d6600391198d..6cb5d1036f33 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,3 +1,4 @@
 DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 
70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189
 SHA512 
eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71
 DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 
010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a
 SHA512 
46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247
 DIST YODA-1.9.6.tar.bz2 1069530 BLAKE2B 
23d782723c5b2429e9e9a70abe8dbf3d58a2204437a46b6e2e196cacc9b6ce55464d5600dd53492f43801866fc7da0e82d1e765cc04c493f40b2da95413aba25
 SHA512 
2433f2d685ccc97aa41e5f44e0c7ca560de01e3b746f2e4837ee6259cd142106e9aa0066aaa106e5298f8d4d9df3a09f5a2d058d6b1593792c9afe06b65d1a22
+DIST YODA-1.9.7.tar.bz2 1084794 BLAKE2B 
86a1d061c6c16ceb994878d734642fe2be18dcce4391e7f8cb57df27b5944ba4edc6573915b150993c921a4a7b5eda2b3f598b7984466f6706348ca137e4981a
 SHA512 
923e51a5783638304841bdc7aad6351c109c1806ce3f87d1ed9d965c4c95179bb1e416c9db77e39cd8f81417d08a7668cdde4f56cd893ce528b7cf9fe0e67c01

diff --git a/sci-physics/yoda/yoda-1.9.7.ebuild 
b/sci-physics/yoda/yoda-1.9.7.ebuild
new file mode 100644
index ..e812e9d72c77
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.9.7.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit bash-completion-r1 autotools python-single-r1
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="https://yoda.hepforge.org/;
+SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> 
${P^^}.tar.bz2"
+S="${WORKDIR}/${P^^}"
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="root python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
+
+RDEPEND="
+   root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   # reconf due to python3_10 patch
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --disable-static \
+   $(use_enable root) \
+   $(use_enable python pyext)
+}
+
+src_test() {
+   # PYTESTS and SHTESTS both require python tools to be installed already
+   emake check PYTESTS= SHTESTS=
+}
+
+src_install() {
+   # prevent double installation of python library
+   emake install DESTDIR="${ED}"
+   find "${ED}" -name '*.la' -delete || die
+   newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion yoda
+   python_optimize
+   rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2022-08-23 Thread Andrew Ammerlaan
commit: f011a8f478b183b84da6805263ff81b7a5415642
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Jul 27 02:08:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Aug 23 12:34:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f011a8f4

sci-physics/yoda: add version 1.9.6

Closes: https://github.com/gentoo/gentoo/pull/26613
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/yoda-1.9.6.ebuild | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 0dfe8252bde5..d6600391198d 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,2 +1,3 @@
 DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 
70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189
 SHA512 
eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71
 DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 
010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a
 SHA512 
46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247
+DIST YODA-1.9.6.tar.bz2 1069530 BLAKE2B 
23d782723c5b2429e9e9a70abe8dbf3d58a2204437a46b6e2e196cacc9b6ce55464d5600dd53492f43801866fc7da0e82d1e765cc04c493f40b2da95413aba25
 SHA512 
2433f2d685ccc97aa41e5f44e0c7ca560de01e3b746f2e4837ee6259cd142106e9aa0066aaa106e5298f8d4d9df3a09f5a2d058d6b1593792c9afe06b65d1a22

diff --git a/sci-physics/yoda/yoda-1.9.6.ebuild 
b/sci-physics/yoda/yoda-1.9.6.ebuild
new file mode 100644
index ..5802ef26d25b
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.9.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit bash-completion-r1 autotools python-single-r1
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="https://yoda.hepforge.org/;
+SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> 
${P^^}.tar.bz2"
+S="${WORKDIR}/${P^^}"
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="root python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
+
+RDEPEND="
+   root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   # reconf due to python3_10 patch
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --disable-static \
+   $(use_enable root) \
+   $(use_enable python pyext)
+}
+
+src_test() {
+   # PYTESTS and SHTESTS both require python tools to be installed already
+   emake check PYTESTS= SHTESTS=
+}
+
+src_install() {
+   # prevent double installation of python library
+   emake install DESTDIR="${ED}"
+   find "${ED}" -name '*.la' -delete || die
+   newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion yoda
+   python_optimize
+   rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2022-07-03 Thread Andrew Ammerlaan
commit: c1ce4c24fd0ccea53497f7563e5d0d59ffbf5a0d
Author: Thamognya Kodi  thamognya  com>
AuthorDate: Thu Jun 23 00:11:15 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jul  3 10:10:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ce4c24

sci-physics/yoda: Bump to 1.9.5 and EAPI 8

Signed-off-by: Thamognya Kodi  thamognya.com>
Closes: https://bugs.gentoo.org/851540
Closes: https://github.com/gentoo/gentoo/pull/26048
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/yoda-1.9.5.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 3b97f8db6071..0dfe8252bde5 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1 +1,2 @@
 DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 
70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189
 SHA512 
eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71
+DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 
010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a
 SHA512 
46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247

diff --git a/sci-physics/yoda/yoda-1.9.5.ebuild 
b/sci-physics/yoda/yoda-1.9.5.ebuild
new file mode 100644
index ..e21cc066b474
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.9.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="https://yoda.hepforge.org/;
+SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> 
${P^^}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="root"
+
+RDEPEND="root? ( sci-physics/root:= )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P^^}"
+
+src_configure() {
+   econf \
+   --disable-pyext \
+   --disable-static \
+   $(use_enable root)
+}
+
+src_test() {
+   # PYTESTS and SHTESTS both require python tools
+   emake check PYTESTS= SHTESTS=
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+   newbashcomp "${ED}"/etc/bash_completion.d/yoda-completion yoda
+   rm "${ED}"/etc/bash_completion.d/yoda-completion || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2021-09-19 Thread Andreas K. Hüttel
commit: 14c85cf310e124ba086cfc54626293f49e502d1b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Sep 19 16:46:43 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Sep 19 16:48:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14c85cf3

sci-physics/yoda: Remove old

Bug: https://bugs.gentoo.org/786909
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Huettel  gentoo.org>

 sci-physics/yoda/Manifest  |  1 -
 sci-physics/yoda/yoda-1.8.5.ebuild | 39 --
 2 files changed, 40 deletions(-)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 9ec1a49f33a..3b97f8db607 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,2 +1 @@
-DIST YODA-1.8.5.tar.bz2 1057576 BLAKE2B 
3c6abb680afcfb8250c3ae340a1b1307cb5498b726199ecf9afe593fc49c4099fd2b4ac881568c303abd10c22fcf91ffae4283021443fc6230456376617f0de1
 SHA512 
d1fffa55af069f894b3c88bcd105f77a3105095281febf9c06c0cea2fadea6c63d69df5bde4aa96646d2d560bd83cade6802d9ed19d5a30553cd003ace19dfc8
 DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 
70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189
 SHA512 
eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71

diff --git a/sci-physics/yoda/yoda-1.8.5.ebuild 
b/sci-physics/yoda/yoda-1.8.5.ebuild
deleted file mode 100644
index 5e364620967..000
--- a/sci-physics/yoda/yoda-1.8.5.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="https://yoda.hepforge.org/;
-SRC_URI="https://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="root"
-
-RDEPEND="root? ( sci-physics/root:= )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P^^}"
-
-src_configure() {
-   econf \
-   --disable-pyext \
-   --disable-static \
-   $(use_enable root)
-}
-
-src_test() {
-   # PYTESTS and SHTESTS both require python tools
-   emake check PYTESTS= SHTESTS=
-}
-
-src_install() {
-   default
-   newbashcomp "${ED}"/usr/share/YODA/yoda-completion yoda
-   rm "${ED}"/usr/share/YODA/yoda-completion || die
-   rm -r "${ED}"/usr/etc || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2021-06-14 Thread Sam James
commit: dc8fb78b8b544c68940f26e4e61aacd9efdd1ad5
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 14 19:00:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 14 22:11:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8fb78b

sci-physics/yoda: add 1.9.0

Closes: https://bugs.gentoo.org/786909
Signed-off-by: Sam James  gentoo.org>

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/yoda-1.9.0.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index bb6ac4b1770..9ec1a49f33a 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1 +1,2 @@
 DIST YODA-1.8.5.tar.bz2 1057576 BLAKE2B 
3c6abb680afcfb8250c3ae340a1b1307cb5498b726199ecf9afe593fc49c4099fd2b4ac881568c303abd10c22fcf91ffae4283021443fc6230456376617f0de1
 SHA512 
d1fffa55af069f894b3c88bcd105f77a3105095281febf9c06c0cea2fadea6c63d69df5bde4aa96646d2d560bd83cade6802d9ed19d5a30553cd003ace19dfc8
+DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 
70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189
 SHA512 
eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71

diff --git a/sci-physics/yoda/yoda-1.9.0.ebuild 
b/sci-physics/yoda/yoda-1.9.0.ebuild
new file mode 100644
index 000..eccb09af10a
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.9.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="https://yoda.hepforge.org/;
+SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> 
${P^^}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="root"
+
+RDEPEND="root? ( sci-physics/root:= )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P^^}"
+
+src_configure() {
+   econf \
+   --disable-pyext \
+   --disable-static \
+   $(use_enable root)
+}
+
+src_test() {
+   # PYTESTS and SHTESTS both require python tools
+   emake check PYTESTS= SHTESTS=
+}
+
+src_install() {
+   default
+
+   newbashcomp "${ED}"/etc/bash_completion.d/yoda-completion yoda
+   rm "${ED}"/etc/bash_completion.d/yoda-completion || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2021-02-13 Thread David Seifert
commit: 8d768805ea8314c2da5c00cf217ebb6fb50daabe
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Feb 13 22:51:14 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 13 22:51:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d768805

sci-physics/yoda: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-physics/yoda/Manifest |  1 -
 sci-physics/yoda/yoda-1.7.0-r2.ebuild | 39 ---
 2 files changed, 40 deletions(-)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 26c7828baa4..bb6ac4b1770 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,2 +1 @@
-DIST YODA-1.7.0.tar.bz2 949964 BLAKE2B 
44063500b95e6a089adac0a28eb0165c6d91f09642dcba7eae994a8b2dd9c4cc5cff40d63cbb481f41e023193632b9b2c17c4304bc03afa4ad2c6010b52c15da
 SHA512 
de4eff3fdd7f8f031745152907eadfe4687c6c8597772d8aba628e58e7d6f203bbe55ba030a77990b2441a9b046a4d7e2bce1fb29ba9a631c1cff17acd95b1e5
 DIST YODA-1.8.5.tar.bz2 1057576 BLAKE2B 
3c6abb680afcfb8250c3ae340a1b1307cb5498b726199ecf9afe593fc49c4099fd2b4ac881568c303abd10c22fcf91ffae4283021443fc6230456376617f0de1
 SHA512 
d1fffa55af069f894b3c88bcd105f77a3105095281febf9c06c0cea2fadea6c63d69df5bde4aa96646d2d560bd83cade6802d9ed19d5a30553cd003ace19dfc8

diff --git a/sci-physics/yoda/yoda-1.7.0-r2.ebuild 
b/sci-physics/yoda/yoda-1.7.0-r2.ebuild
deleted file mode 100644
index a17c010c34b..000
--- a/sci-physics/yoda/yoda-1.7.0-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="https://yoda.hepforge.org/;
-SRC_URI="https://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="root static-libs"
-
-RDEPEND="
-   root? ( sci-physics/root:= )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P^^}"
-
-src_configure() {
-   econf \
-   --disable-pyext \
-   $(use_enable root) \
-   $(use_enable static-libs static)
-}
-
-src_test() {
-   # PYTESTS and SHTESTS both require python tools
-   emake check PYTESTS= SHTESTS=
-}
-
-src_install() {
-   default
-   newbashcomp "${ED%/}"/usr/share/YODA/yoda-completion ${PN}
-   rm "${ED%/}"/usr/share/YODA/yoda-completion || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2021-02-13 Thread David Seifert
commit: d3f7bd8be84df9b66c787cdfbc8170f1c764c229
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Feb 13 22:51:11 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 13 22:51:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f7bd8b

sci-physics/yoda: Bump to 1.8.5

Closes: https://bugs.gentoo.org/732052
Closes: https://bugs.gentoo.org/725810

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/yoda-1.8.5.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 2aa93c63435..26c7828baa4 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1 +1,2 @@
 DIST YODA-1.7.0.tar.bz2 949964 BLAKE2B 
44063500b95e6a089adac0a28eb0165c6d91f09642dcba7eae994a8b2dd9c4cc5cff40d63cbb481f41e023193632b9b2c17c4304bc03afa4ad2c6010b52c15da
 SHA512 
de4eff3fdd7f8f031745152907eadfe4687c6c8597772d8aba628e58e7d6f203bbe55ba030a77990b2441a9b046a4d7e2bce1fb29ba9a631c1cff17acd95b1e5
+DIST YODA-1.8.5.tar.bz2 1057576 BLAKE2B 
3c6abb680afcfb8250c3ae340a1b1307cb5498b726199ecf9afe593fc49c4099fd2b4ac881568c303abd10c22fcf91ffae4283021443fc6230456376617f0de1
 SHA512 
d1fffa55af069f894b3c88bcd105f77a3105095281febf9c06c0cea2fadea6c63d69df5bde4aa96646d2d560bd83cade6802d9ed19d5a30553cd003ace19dfc8

diff --git a/sci-physics/yoda/yoda-1.8.5.ebuild 
b/sci-physics/yoda/yoda-1.8.5.ebuild
new file mode 100644
index 000..5e364620967
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.8.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="https://yoda.hepforge.org/;
+SRC_URI="https://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="root"
+
+RDEPEND="root? ( sci-physics/root:= )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P^^}"
+
+src_configure() {
+   econf \
+   --disable-pyext \
+   --disable-static \
+   $(use_enable root)
+}
+
+src_test() {
+   # PYTESTS and SHTESTS both require python tools
+   emake check PYTESTS= SHTESTS=
+}
+
+src_install() {
+   default
+   newbashcomp "${ED}"/usr/share/YODA/yoda-completion yoda
+   rm "${ED}"/usr/share/YODA/yoda-completion || die
+   rm -r "${ED}"/usr/etc || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2020-09-16 Thread Michał Górny
commit: 93f886262580e21013aab82a8b0f1748af1c2b58
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 16 10:04:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 16 10:04:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f88626

sci-physics/yoda: Use HTTPS

Signed-off-by: Michał Górny  gentoo.org>

 sci-physics/yoda/yoda-1.7.0-r2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-physics/yoda/yoda-1.7.0-r2.ebuild 
b/sci-physics/yoda/yoda-1.7.0-r2.ebuild
index 918658484a9..a17c010c34b 100644
--- a/sci-physics/yoda/yoda-1.7.0-r2.ebuild
+++ b/sci-physics/yoda/yoda-1.7.0-r2.ebuild
@@ -6,11 +6,10 @@ EAPI=6
 inherit bash-completion-r1
 
 DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="http://yoda.hepforge.org/;
+HOMEPAGE="https://yoda.hepforge.org/;
+SRC_URI="https://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
 
-SRC_URI="http://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
 LICENSE="GPL-2"
-
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="root static-libs"



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2020-09-16 Thread Michał Górny
commit: ce66592d68ebb28de9b58391a353c96909cdc690
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 16 09:49:16 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 16 10:04:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce66592d

sci-physics/yoda: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sci-physics/yoda/Manifest  |  1 -
 sci-physics/yoda/yoda-1.6.5.ebuild | 51 --
 2 files changed, 52 deletions(-)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 66afc8b5095..2aa93c63435 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,2 +1 @@
-DIST YODA-1.6.5.tar.bz2 818613 BLAKE2B 
6a8762c4f8d4bbcacf11c1b9929cff4b00811d4e18c596122dce335782a741aa1c76fab4b2ed9897dc800af1a18dba809e4fa0956cb5eb6fc84cc98544c669d6
 SHA512 
bead0a3ada233c1fbafe66d25e65262c20d9a9dfa6265440320a0fc782e91b3ac6581698e2015d86f2b58dc305dedbc48ed648ff03ec9f6abc11a7fb27938b1a
 DIST YODA-1.7.0.tar.bz2 949964 BLAKE2B 
44063500b95e6a089adac0a28eb0165c6d91f09642dcba7eae994a8b2dd9c4cc5cff40d63cbb481f41e023193632b9b2c17c4304bc03afa4ad2c6010b52c15da
 SHA512 
de4eff3fdd7f8f031745152907eadfe4687c6c8597772d8aba628e58e7d6f203bbe55ba030a77990b2441a9b046a4d7e2bce1fb29ba9a631c1cff17acd95b1e5

diff --git a/sci-physics/yoda/yoda-1.6.5.ebuild 
b/sci-physics/yoda/yoda-1.6.5.ebuild
deleted file mode 100644
index 82bf586a70b..000
--- a/sci-physics/yoda/yoda-1.6.5.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit bash-completion-r1 python-single-r1
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="http://yoda.hepforge.org/;
-
-SRC_URI="http://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="python root static-libs"
-
-RDEPEND="
-   dev-libs/boost:=
-   python? ( ${PYTHON_DEPS} )
-   root? ( sci-physics/root:=[python=,${PYTHON_SINGLE_USEDEP}] )"
-DEPEND="${RDEPEND}
-   python? (
-   $(python_gen_cond_dep '
-   dev-python/cython[${PYTHON_MULTI_USEDEP}]
-   ')
-   )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${P^^}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
-   econf \
-   $(use_enable python pyext) \
-   $(use_enable root) \
-   $(use_enable static-libs static)
-}
-
-src_install() {
-   default
-
-   newbashcomp "${ED%/}"/usr/share/YODA/yoda-completion ${PN}
-   rm "${ED%/}"/usr/share/YODA/yoda-completion || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2020-09-16 Thread Michał Górny
commit: 811700044421890b5085b1f15cd8a51cd39d8909
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 16 09:50:03 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 16 10:04:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81170004

sci-physics/yoda: Disable python2

Closes: https://bugs.gentoo.org/735196
Signed-off-by: Michał Górny  gentoo.org>

 .../{yoda-1.7.0-r1.ebuild => yoda-1.7.0-r2.ebuild} | 29 --
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/sci-physics/yoda/yoda-1.7.0-r1.ebuild 
b/sci-physics/yoda/yoda-1.7.0-r2.ebuild
similarity index 58%
rename from sci-physics/yoda/yoda-1.7.0-r1.ebuild
rename to sci-physics/yoda/yoda-1.7.0-r2.ebuild
index a29234715ba..918658484a9 100644
--- a/sci-physics/yoda/yoda-1.7.0-r1.ebuild
+++ b/sci-physics/yoda/yoda-1.7.0-r2.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 )
-
-inherit bash-completion-r1 python-single-r1
+inherit bash-completion-r1
 
 DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
 HOMEPAGE="http://yoda.hepforge.org/;
@@ -15,33 +13,26 @@ LICENSE="GPL-2"
 
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="python root static-libs"
+IUSE="root static-libs"
 
 RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-   root? ( sci-physics/root:=[python=,${PYTHON_SINGLE_USEDEP}] )"
-DEPEND="${RDEPEND}
-   python? (
-   $(python_gen_cond_dep '
-   dev-python/cython[${PYTHON_MULTI_USEDEP}]
-   ')
-   )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+   root? ( sci-physics/root:= )"
+DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/${P^^}"
 
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
 src_configure() {
econf \
-   $(use_enable python pyext) \
+   --disable-pyext \
$(use_enable root) \
$(use_enable static-libs static)
 }
 
+src_test() {
+   # PYTESTS and SHTESTS both require python tools
+   emake check PYTESTS= SHTESTS=
+}
+
 src_install() {
default
newbashcomp "${ED%/}"/usr/share/YODA/yoda-completion ${PN}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2020-02-09 Thread Michał Górny
commit: 931af7747167c447b23b0e83f2f377b010a80fc6
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  7 19:11:17 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  9 16:35:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931af774

sci-physics/yoda: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny  gentoo.org>

 sci-physics/yoda/yoda-1.6.5.ebuild   | 10 +++---
 sci-physics/yoda/{yoda-1.7.0.ebuild => yoda-1.7.0-r1.ebuild} | 10 +++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/sci-physics/yoda/yoda-1.6.5.ebuild 
b/sci-physics/yoda/yoda-1.6.5.ebuild
index 00d3f8949c2..82bf586a70b 100644
--- a/sci-physics/yoda/yoda-1.6.5.ebuild
+++ b/sci-physics/yoda/yoda-1.6.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,9 +20,13 @@ IUSE="python root static-libs"
 RDEPEND="
dev-libs/boost:=
python? ( ${PYTHON_DEPS} )
-   root? ( sci-physics/root:=[python=,${PYTHON_USEDEP}] )"
+   root? ( sci-physics/root:=[python=,${PYTHON_SINGLE_USEDEP}] )"
 DEPEND="${RDEPEND}
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+   python? (
+   $(python_gen_cond_dep '
+   dev-python/cython[${PYTHON_MULTI_USEDEP}]
+   ')
+   )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

diff --git a/sci-physics/yoda/yoda-1.7.0.ebuild 
b/sci-physics/yoda/yoda-1.7.0-r1.ebuild
similarity index 82%
rename from sci-physics/yoda/yoda-1.7.0.ebuild
rename to sci-physics/yoda/yoda-1.7.0-r1.ebuild
index 9f53d934f26..a29234715ba 100644
--- a/sci-physics/yoda/yoda-1.7.0.ebuild
+++ b/sci-physics/yoda/yoda-1.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,9 +19,13 @@ IUSE="python root static-libs"
 
 RDEPEND="
python? ( ${PYTHON_DEPS} )
-   root? ( sci-physics/root:=[python=,${PYTHON_USEDEP}] )"
+   root? ( sci-physics/root:=[python=,${PYTHON_SINGLE_USEDEP}] )"
 DEPEND="${RDEPEND}
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+   python? (
+   $(python_gen_cond_dep '
+   dev-python/cython[${PYTHON_MULTI_USEDEP}]
+   ')
+   )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2018-03-09 Thread Guilherme Amadio
commit: f9ca7d787a70027a99843e3202ba12d2bcb8789e
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar  9 10:12:55 2018 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar  9 10:53:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9ca7d78

sci-physics/yoda: version bump to 1.7.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/yoda-1.7.0.ebuild | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index acdf1b246eb..66afc8b5095 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1 +1,2 @@
 DIST YODA-1.6.5.tar.bz2 818613 BLAKE2B 
6a8762c4f8d4bbcacf11c1b9929cff4b00811d4e18c596122dce335782a741aa1c76fab4b2ed9897dc800af1a18dba809e4fa0956cb5eb6fc84cc98544c669d6
 SHA512 
bead0a3ada233c1fbafe66d25e65262c20d9a9dfa6265440320a0fc782e91b3ac6581698e2015d86f2b58dc305dedbc48ed648ff03ec9f6abc11a7fb27938b1a
+DIST YODA-1.7.0.tar.bz2 949964 BLAKE2B 
44063500b95e6a089adac0a28eb0165c6d91f09642dcba7eae994a8b2dd9c4cc5cff40d63cbb481f41e023193632b9b2c17c4304bc03afa4ad2c6010b52c15da
 SHA512 
de4eff3fdd7f8f031745152907eadfe4687c6c8597772d8aba628e58e7d6f203bbe55ba030a77990b2441a9b046a4d7e2bce1fb29ba9a631c1cff17acd95b1e5

diff --git a/sci-physics/yoda/yoda-1.7.0.ebuild 
b/sci-physics/yoda/yoda-1.7.0.ebuild
new file mode 100644
index 000..9f53d934f26
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 python-single-r1
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="http://yoda.hepforge.org/;
+
+SRC_URI="http://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
+LICENSE="GPL-2"
+
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="python root static-libs"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   root? ( sci-physics/root:=[python=,${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${P^^}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   econf \
+   $(use_enable python pyext) \
+   $(use_enable root) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+   newbashcomp "${ED%/}"/usr/share/YODA/yoda-completion ${PN}
+   rm "${ED%/}"/usr/share/YODA/yoda-completion || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2018-03-09 Thread Guilherme Amadio
commit: 5b9426e3ed6e3ae60d9dbf3459773c4e03953183
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar  9 10:00:07 2018 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar  9 10:53:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9426e3

sci-physics/yoda: drop old 1.4.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-physics/yoda/Manifest  |  1 -
 sci-physics/yoda/metadata.xml  |  1 -
 sci-physics/yoda/yoda-1.4.0.ebuild | 50 --
 3 files changed, 52 deletions(-)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 0776986c70a..acdf1b246eb 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,2 +1 @@
-DIST YODA-1.4.0.tar.bz2 809432 BLAKE2B 
5a02ccc67f9fe2bfea9471d2bb1518b0377747182551d8041fce3ee4058f701bf69170e37792d22d8efd00c9264eea8ae8e2673b14b46768953dcc4ca2ca6304
 SHA512 
f1873888f3d2c28d42ac54fa9f3fa4a98e648a638ebceffce0a2f742c5fb6647fabd0de49c00407741e937600fc8a12d33ca26b8b9cd9b81c28a4d2e11f2bd3a
 DIST YODA-1.6.5.tar.bz2 818613 BLAKE2B 
6a8762c4f8d4bbcacf11c1b9929cff4b00811d4e18c596122dce335782a741aa1c76fab4b2ed9897dc800af1a18dba809e4fa0956cb5eb6fc84cc98544c669d6
 SHA512 
bead0a3ada233c1fbafe66d25e65262c20d9a9dfa6265440320a0fc782e91b3ac6581698e2015d86f2b58dc305dedbc48ed648ff03ec9f6abc11a7fb27938b1a

diff --git a/sci-physics/yoda/metadata.xml b/sci-physics/yoda/metadata.xml
index 61a7329540b..8075483ee7b 100644
--- a/sci-physics/yoda/metadata.xml
+++ b/sci-physics/yoda/metadata.xml
@@ -13,7 +13,6 @@
   in Rivet.
 
 
-   Build using the C++11 standard
   Adds support for sci-physics/root
 
 

diff --git a/sci-physics/yoda/yoda-1.4.0.ebuild 
b/sci-physics/yoda/yoda-1.4.0.ebuild
deleted file mode 100644
index 81a8d7b03a9..000
--- a/sci-physics/yoda/yoda-1.4.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 autotools-utils bash-completion-r1
-
-MYP=YODA-${PV}
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="http://yoda.hepforge.org/;
-
-SRC_URI="http://www.hepforge.org/archive/${PN}/${MYP}.tar.bz2;
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="c++11 python root static-libs"
-
-RDEPEND="
-   dev-libs/boost:0=
-   python? ( ${PYTHON_DEPS} )
-   root? ( sci-physics/root:0=[python=,${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MYP}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
-   local myeconfargs=(
-   $(use_enable c++11 stdcxx11)
-   $(use_enable python pyext)
-   $(use_enable root)
-   )
-   autotools-utils_src_configure
-}
-
-src_install() {
-   autotools-utils_src_install
-   newbashcomp "${ED}"/usr/share/YODA/yoda-completion yoda
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2016-10-31 Thread David Seifert
commit: 239d0c8bbfff2f258149aed55337c7bb0cf38d71
Author: Gerhard Bräunlich  gmx  net>
AuthorDate: Sat Oct 29 22:35:29 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Oct 31 08:22:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239d0c8b

sci-physics/yoda: Version bump to 1.6.5 and EAPI bump 5 -> 6

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2698

Signed-off-by: David Seifert  gentoo.org>

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/yoda-1.6.5.ebuild | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 4e6f617..47f9f97 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1 +1,2 @@
 DIST YODA-1.4.0.tar.bz2 809432 SHA256 
e76a129f7c2b72b53525fe0b712606eeeab0dc145daa070ebf0728f0384eaf48 SHA512 
f1873888f3d2c28d42ac54fa9f3fa4a98e648a638ebceffce0a2f742c5fb6647fabd0de49c00407741e937600fc8a12d33ca26b8b9cd9b81c28a4d2e11f2bd3a
 WHIRLPOOL 
6c8e0176b729d951351b3b9d574c91add5d6302aa76417241e560f3f3bbf38f4b60f41713d89a03a62b1c4ad3a98bd5342fd05901671e6aedf0c2c11dc36b024
+DIST YODA-1.6.5.tar.bz2 818613 SHA256 
1477fe754cfe2e4e06aa363a773accf18aab960a8b899968b77834368cac14c5 SHA512 
bead0a3ada233c1fbafe66d25e65262c20d9a9dfa6265440320a0fc782e91b3ac6581698e2015d86f2b58dc305dedbc48ed648ff03ec9f6abc11a7fb27938b1a
 WHIRLPOOL 
b6b88832b89357dbf0309641f9e4180f0c0fabf917ec7f36bafe75b811b849f0cf1cf24877b468b50d340f7a1ae1575d07fc63e9ec810a318dda7adb9b9aeed7

diff --git a/sci-physics/yoda/yoda-1.6.5.ebuild 
b/sci-physics/yoda/yoda-1.6.5.ebuild
new file mode 100644
index ..ee66c0a
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.6.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 python-single-r1
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="http://yoda.hepforge.org/;
+
+SRC_URI="http://www.hepforge.org/archive/${PN}/${P^^}.tar.bz2;
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="python root static-libs"
+
+RDEPEND="
+   dev-libs/boost:=
+   python? ( ${PYTHON_DEPS} )
+   root? ( sci-physics/root:=[python=,${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${P^^}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   econf \
+   $(use_enable python pyext) \
+   $(use_enable root) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+
+   newbashcomp "${ED%/}"/usr/share/YODA/yoda-completion ${PN}
+   rm "${ED%/}"/usr/share/YODA/yoda-completion || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/

2015-08-19 Thread Jauhien Piatlicki
commit: dae5155b70763d1cbd8f3b8732cc8d93ea62d910
Author: Jauhien Piatlicki jauhien AT gentoo DOT org
AuthorDate: Thu Aug 20 04:54:52 2015 +
Commit: Jauhien Piatlicki jauhien AT gentoo DOT org
CommitDate: Thu Aug 20 04:56:08 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae5155b

sci-physics/yoda: initial import from the science overlay

Package-Manager: portage-2.2.18

 sci-physics/yoda/Manifest  |  1 +
 sci-physics/yoda/metadata.xml  | 16 
 sci-physics/yoda/yoda-1.4.0.ebuild | 51 ++
 3 files changed, 68 insertions(+)

diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
new file mode 100644
index 000..4e6f617
--- /dev/null
+++ b/sci-physics/yoda/Manifest
@@ -0,0 +1 @@
+DIST YODA-1.4.0.tar.bz2 809432 SHA256 
e76a129f7c2b72b53525fe0b712606eeeab0dc145daa070ebf0728f0384eaf48 SHA512 
f1873888f3d2c28d42ac54fa9f3fa4a98e648a638ebceffce0a2f742c5fb6647fabd0de49c00407741e937600fc8a12d33ca26b8b9cd9b81c28a4d2e11f2bd3a
 WHIRLPOOL 
6c8e0176b729d951351b3b9d574c91add5d6302aa76417241e560f3f3bbf38f4b60f41713d89a03a62b1c4ad3a98bd5342fd05901671e6aedf0c2c11dc36b024

diff --git a/sci-physics/yoda/metadata.xml b/sci-physics/yoda/metadata.xml
new file mode 100644
index 000..b221b3a
--- /dev/null
+++ b/sci-physics/yoda/metadata.xml
@@ -0,0 +1,16 @@
+?xml version=1.0 encoding=UTF-8?
+!DOCTYPE pkgmetadata SYSTEM http://www.gentoo.org/dtd/metadata.dtd;
+pkgmetadata
+herdsci-physics/herd
+longdescription
+  Yet more Objects for Data Analysis is a small set of data analysis
+  (specifically histogramming) classes being developed by MCnet
+  members as a lightweight common system for MC event generator
+  validation analyses, particularly as the core histogramming system
+  in Rivet.
+/longdescription
+use
+  flag name=c++11 Build using the C++11 standard/flag
+  flag name='root'Adds support for pkgsci-physics/root/pkg/flag
+/use
+/pkgmetadata

diff --git a/sci-physics/yoda/yoda-1.4.0.ebuild 
b/sci-physics/yoda/yoda-1.4.0.ebuild
new file mode 100644
index 000..81c62f6
--- /dev/null
+++ b/sci-physics/yoda/yoda-1.4.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 autotools-utils bash-completion-r1
+
+MYP=YODA-${PV}
+
+DESCRIPTION=Yet more Objects for (High Energy Physics) Data Analysis
+HOMEPAGE=http://yoda.hepforge.org/;
+
+SRC_URI=http://www.hepforge.org/archive/${PN}/${MYP}.tar.bz2;
+LICENSE=GPL-2
+
+SLOT=0
+KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
+IUSE=c++11 python root static-libs
+
+RDEPEND=
+   dev-libs/boost:0=
+   python? ( ${PYTHON_DEPS} )
+   root? ( sci-physics/root:0=[python=,${PYTHON_USEDEP}] )
+DEPEND=${RDEPEND}
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )
+
+REQUIRED_USE=python? ( ${PYTHON_REQUIRED_USE} )
+
+S=${WORKDIR}/${MYP}
+
+pkg_setup() {
+   use python  python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local myeconfargs=(
+   $(use_enable c++11 stdcxx11)
+   $(use_enable python pyext)
+   $(use_enable root)
+   )
+   autotools-utils_src_configure
+}
+
+src_install() {
+   autotools-utils_src_install
+   newbashcomp ${ED}/usr/share/YODA/yoda-completion yoda
+}