commit:     163e3f4ac82513d749b0501a9b6dbe4281764421
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Tue Oct 18 12:25:29 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 13:57:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=163e3f4a

sci-physics/pythia: Install lhapdf plugin lib

Closes: https://github.com/gentoo/gentoo/pull/27395
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../pythia/{pythia-8.2.45-r1.ebuild => pythia-8.2.45-r2.ebuild}        | 3 ++-
 sci-physics/pythia/{pythia-8.3.07.ebuild => pythia-8.3.07-r1.ebuild}   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-physics/pythia/pythia-8.2.45-r1.ebuild 
b/sci-physics/pythia/pythia-8.2.45-r2.ebuild
similarity index 98%
rename from sci-physics/pythia/pythia-8.2.45-r1.ebuild
rename to sci-physics/pythia/pythia-8.2.45-r2.ebuild
index 7826f78f0c0d..a660f6924c7d 100644
--- a/sci-physics/pythia/pythia-8.2.45-r1.ebuild
+++ b/sci-physics/pythia/pythia-8.2.45-r2.ebuild
@@ -10,7 +10,7 @@ MY_P="${PN}${PV//./}"
 LHA_VER="6.1"
 
 DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
-HOMEPAGE="http://pythia8.hepforge.org/";
+HOMEPAGE="https://pythia.org/";
 SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz
        test? ( lhapdf? (
                
https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/CT10.tar.gz
@@ -159,6 +159,7 @@ src_install() {
        dobin bin/pythia8-config
        doheader -r include/*
        dolib.so lib/libpythia8.so
+       use lhapdf && dolib.so lib/libpythia8lhapdf6.so
        insinto "${PYTHIADIR}"
        doins -r share/Pythia8/xmldoc examples/Makefile.inc
 

diff --git a/sci-physics/pythia/pythia-8.3.07.ebuild 
b/sci-physics/pythia/pythia-8.3.07-r1.ebuild
similarity index 98%
rename from sci-physics/pythia/pythia-8.3.07.ebuild
rename to sci-physics/pythia/pythia-8.3.07-r1.ebuild
index 08fe8482f92e..9dc0a0382067 100644
--- a/sci-physics/pythia/pythia-8.3.07.ebuild
+++ b/sci-physics/pythia/pythia-8.3.07-r1.ebuild
@@ -10,7 +10,7 @@ MY_P="${PN}${PV//./}"
 LHA_VER="6.2.1"
 
 DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
-HOMEPAGE="https://pythia8.hepforge.org/";
+HOMEPAGE="https://pythia.org/";
 SRC_URI="https://pythia.org/download/${PN}${MV//./}/${MY_P}.tgz
        test? ( lhapdf? (
                
https://www.hepforge.org/archive/lhapdf/pdfsets/v6.backup/${LHA_VER}/CT10.tar.gz
@@ -154,6 +154,7 @@ src_install() {
        dobin bin/pythia8-config
        doheader -r include/*
        dolib.so lib/libpythia8.so
+       use lhapdf && dolib.so lib/libpythia8lhapdf6.so
        insinto "${PYTHIADIR}"
        doins -r share/Pythia8/xmldoc examples/Makefile.inc
 

Reply via email to