[gentoo-commits] proj/sci:master commit in: sci-physics/mc-tester/

2021-03-03 Thread Andrew Ammerlaan
commit: 495887d18f6f7f583843c623008ce3fb68d6f4c7
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Mar  3 15:41:56 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Mar  3 15:41:56 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=495887d1

sci-physics/mc-tester: fix typo

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 sci-physics/mc-tester/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/mc-tester/metadata.xml 
b/sci-physics/mc-tester/metadata.xml
index 521dff098..7d0535abc 100644
--- a/sci-physics/mc-tester/metadata.xml
+++ b/sci-physics/mc-tester/metadata.xml
@@ -10,6 +10,6 @@


Compile sci-physics/hepmc 
interface
-   Compile sci-physics/pythiac 
interface
+   Compile sci-physics/pythia 
interface

 



[gentoo-commits] proj/sci:master commit in: sci-physics/mc-tester/files/, sci-physics/mc-tester/

2021-03-03 Thread Andrew Ammerlaan
commit: 6a99019c4da6610a402d95e133d556895e5d2ad7
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Mar  3 15:39:18 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Mar  3 15:39:18 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a99019c

sci-physics/mc-tester: EAPI bump, add pythia flag

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../files/mc-tester-1.25.0-compare.sh.patch|  4 +--
 sci-physics/mc-tester/mc-tester-1.25.0.ebuild  | 40 +++---
 sci-physics/mc-tester/metadata.xml |  4 +--
 3 files changed, 23 insertions(+), 25 deletions(-)

diff --git a/sci-physics/mc-tester/files/mc-tester-1.25.0-compare.sh.patch 
b/sci-physics/mc-tester/files/mc-tester-1.25.0-compare.sh.patch
index 180dcb029..bb8695fca 100644
--- a/sci-physics/mc-tester/files/mc-tester-1.25.0-compare.sh.patch
+++ b/sci-physics/mc-tester/files/mc-tester-1.25.0-compare.sh.patch
@@ -1,5 +1,5 @@
 analyze/compare.sh
-+++ analyze/compare.sh
+--- a/analyze/compare.sh
 b/analyze/compare.sh
 @@ -6,13 +6,14 @@
  #--
  # Change these variables

diff --git a/sci-physics/mc-tester/mc-tester-1.25.0.ebuild 
b/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
index d651961b9..5a08d1b3e 100644
--- a/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
+++ b/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
@@ -1,48 +1,53 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils
+MYPN="MC-TESTER"
 
-MYPN=MC-TESTER
+DOCS_BUILDER="doxygen"
+DOCS_DIR="doc"
+DOCS_DEPEND="media-gfx/graphviz"
+
+inherit docs
 
 DESCRIPTION="Comparisons of Monte Carlo predictions in High Energy Physics"
 HOMEPAGE="http://mc-tester.web.cern.ch/MC-TESTER/";
 SRC_URI="http://mc-tester.web.cern.ch/MC-TESTER/${MYPN}-${PV}.tar.gz";
-LICENSE="CPC GPL-2+"
-#HepMC interface is licensed under GPL, other code under CPC
 
+#HepMC interface is licensed under GPL, other code under CPC
+LICENSE="CPC GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc examples hepmc"
+
+IUSE="examples hepmc pythia"
 
 RDEPEND="sci-physics/root:=
hepmc? ( sci-physics/hepmc )
+   pythia? ( sci-physics/pythia:8 )
 "
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
+DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/${MYPN}"
 
-src_prepare() {
-   epatch "${FILESDIR}/${P}-compare.sh.patch"
-}
+PATCHES=(
+   "${FILESDIR}/${P}-compare.sh.patch"
+)
 
 src_configure() {
econf \
--with-root="${EPREFIX}/usr" \
-   --without-Pythia8 \
+   $(use_with pythia Pythia8 "${EPREFIX}/usr") \
$(use_with hepmc HepMC "${EPREFIX}/usr")
 }
 
 src_compile() {
+   docs_compile
default
-   use doc && cd doc && default
 }
 
 src_install() {
-   emake PREFIX="${D}/usr" install
+   default
newbin analyze/compare.sh mc-tester-compare
 
insinto /usr/libexec/${PN}/analyze
@@ -50,11 +55,6 @@ src_install() {
insinto /usr/share/${PN}
doins analyze/*.tex
 
-   if use doc; then
-   dohtml doc/doxygenDocs/html/*
-   dodoc doc/{README*,USER-TESTS,tester.ps.gz}
-   fi
-
use examples && dodoc -r examples-*
 }
 

diff --git a/sci-physics/mc-tester/metadata.xml 
b/sci-physics/mc-tester/metadata.xml
index 53b89a9c9..521dff098 100644
--- a/sci-physics/mc-tester/metadata.xml
+++ b/sci-physics/mc-tester/metadata.xml
@@ -8,10 +8,8 @@
sci-phys...@gentoo.org
Gentoo Physics Project

-   
-A universal tool for comparisons of Monte Carlo predictions in High Energy 
Physics
-

Compile sci-physics/hepmc 
interface
+   Compile sci-physics/pythiac 
interface

 



[gentoo-commits] proj/sci:master commit in: sci-physics/mc-tester/

2019-04-13 Thread Martin Mokrejs
commit: 55b203149488709cd3f2e362e3560c9ec614e2c9
Author: Martin Mokrejs  fold  natur  cuni  cz>
AuthorDate: Sat Apr 13 20:39:49 2019 +
Commit: Martin Mokrejs  fold  natur  cuni  cz>
CommitDate: Sat Apr 13 20:39:49 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=55b20314

sci-physics/mc-tester: add missing SLOT (non-maintainer commit)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Martin Mokrejs  fold.natur.cuni.cz>

 sci-physics/mc-tester/mc-tester-1.25.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-physics/mc-tester/mc-tester-1.25.0.ebuild 
b/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
index 6126cde65..d651961b9 100644
--- a/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
+++ b/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc examples hepmc"
 
-RDEPEND="sci-physics/root
+RDEPEND="sci-physics/root:=
hepmc? ( sci-physics/hepmc )
 "
 DEPEND="${RDEPEND}



[gentoo-commits] proj/sci:master commit in: sci-physics/mc-tester/

2015-09-23 Thread Justin Lecher
commit: f1a5a86dc4fa9ede4ddad920162694bb0d5ef9b3
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Sep 23 12:47:20 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Sep 23 12:47:20 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f1a5a86d

sci-physics/mc-tester: Use default functions

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher  gentoo.org>

 sci-physics/mc-tester/mc-tester-1.25.0.ebuild |  6 +++---
 sci-physics/mc-tester/metadata.xml| 18 --
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/sci-physics/mc-tester/mc-tester-1.25.0.ebuild 
b/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
index f196349..78eff0e 100644
--- a/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
+++ b/sci-physics/mc-tester/mc-tester-1.25.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -38,8 +38,8 @@ src_configure() {
 }
 
 src_compile() {
-   emake
-   use doc && cd doc && emake
+   default
+   use doc && cd doc && default
 }
 
 src_install() {

diff --git a/sci-physics/mc-tester/metadata.xml 
b/sci-physics/mc-tester/metadata.xml
index 2edb7b2..d5e96a2 100644
--- a/sci-physics/mc-tester/metadata.xml
+++ b/sci-physics/mc-tester/metadata.xml
@@ -1,16 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
-sci-physics
-
-  piatli...@gmail.com
-
-
-
+  sci-physics
+  
+piatli...@gmail.com
+  
+  
   A universal tool for comparisons of Monte Carlo predictions in High Energy 
Physics
 
-
-  Compile sci-physics/hepmc interface
-
+  
+Compile sci-physics/hepmc interface
+