public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexander Puck Neuwirth" <alexander@neuwirth-informatik.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/openloops/
Date: Wed, 22 Jan 2025 14:03:57 +0000 (UTC)	[thread overview]
Message-ID: <1737554545.1b32a974d7b3dd38692ea74ee3a7faff729052c3.alexander@gentoo> (raw)

commit:     1b32a974d7b3dd38692ea74ee3a7faff729052c3
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Mon Dec 16 15:35:07 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Wed Jan 22 14:02:25 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=1b32a974

sci-physics/openloops: add pplla_ew

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 sci-physics/openloops/metadata.xml                  |  1 +
 ...ps-2.1.3-r1.ebuild => openloops-2.1.3-r2.ebuild} | 21 ++++++++++-----------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/sci-physics/openloops/metadata.xml b/sci-physics/openloops/metadata.xml
index a32ce734b..ebd5233b6 100644
--- a/sci-physics/openloops/metadata.xml
+++ b/sci-physics/openloops/metadata.xml
@@ -19,6 +19,7 @@
     <flag name="collier">Build with collier</flag>
     <flag name="extra">Build libs with extra</flag>
     <flag name="cuttools">Build with cuttools</flag>
+    <flag name="pplla-ew">Build pp to lla process with EW corrections</flag>
     <flag name="ppllj">Build pp to llj process</flag>
     <flag name="pplljj">Build pp to lljj process</flag>
     <flag name="pplnj-ckm">Build pp to lnj process with ckm matrix</flag>

diff --git a/sci-physics/openloops/openloops-2.1.3-r1.ebuild b/sci-physics/openloops/openloops-2.1.3-r2.ebuild
similarity index 87%
rename from sci-physics/openloops/openloops-2.1.3-r1.ebuild
rename to sci-physics/openloops/openloops-2.1.3-r2.ebuild
index ebe75037f..af10ffe93 100644
--- a/sci-physics/openloops/openloops-2.1.3-r1.ebuild
+++ b/sci-physics/openloops/openloops-2.1.3-r2.ebuild
@@ -24,13 +24,14 @@ SRC_URI="
 	pplljj? ( ${COMMON_URI}/pplljj/-/archive/93a6e3f7/pplljj-93a6e3f7.tar.bz2 )
 	pplnj-ckm? ( ${COMMON_URI}/pplnj_ckm/-/archive/4d8743c/pplnj_ckm-4d8743c.tar.bz2 )
 	pplnjj-ckm? ( ${COMMON_URI}/pplnjj_ckm/-/archive/d3d5302/pplnjj_ckm-d3d5302.tar.bz2 )
+	pplla-ew? ( ${COMMON_URI}/pplla_ew/-/archive/0a26af9a/pplla_ew-0a26af9a.tar.bz2 )
 "
 S="${WORKDIR}/${MY_PN}-${MY_P}"
 
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+collier +cuttools +extra ppllj pplljj pplnj-ckm pplnjj-ckm"
+IUSE="+collier +cuttools +extra pplla-ew ppllj pplljj pplnj-ckm pplnjj-ckm"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
@@ -78,7 +79,7 @@ src_prepare() {
 
 src_compile() {
 	escons --cache-disable
-	for OLPROC in ppllj pplljj pplnj_ckm pplnjj_ckm;  do
+	for OLPROC in pplla_ew ppllj pplljj pplnj_ckm pplnjj_ckm;  do
 		if use ${OLPROC//_/-}; then
 			# move downloaded files to src
 			mkdir -p "${S}/process_src/${OLPROC}" || die
@@ -92,7 +93,7 @@ src_compile() {
 	cat <<-EOF >> openloops.cfg || die
 	process_src_dir = ${EPREFIX}/opt/${MY_P}/process_src/
 	process_obj_dir = ${EPREFIX}/opt/${MY_P}/process_obj/
-	process_lib_dir = ${EPREFIX}/usr/$(get_libdir)/
+	process_lib_dir = ${EPREFIX}/opt/${MY_P}/proclib/
 	EOF
 }
 
@@ -106,16 +107,14 @@ src_install() {
 	cd ../lib || die
 	dolib.so libolcommon.so* libopenloops.so* librambo.so* libtrred.so*
 
+	cd .. || die
 	# install processes
-	if [ -d "../proclib" ]; then
-		cd ../proclib || die
-		dolib.so *.so
-		# also install the process info files
-		insinto /usr/$(get_libdir)/
-		doins *.info
+	if [ -d "./proclib" ]; then
+		dodir "/opt/${MY_P}/proclib"
+		mv proclib/* "${ED}/opt/${MY_P}/proclib/" || die
 	fi
 
-	cd ../lib_src/olcommon/mod || die
+	cd ./lib_src/olcommon/mod || die
 	doheader *.mod
 	cd ../../openloops/mod || die
 	doheader *.mod
@@ -135,5 +134,5 @@ src_install() {
 
 pkg_postinst() {
 	elog "Install processes with openloops libinstall."
-	elog "They are installed in ${EPREFIX}/usr/$(get_libdir)/."
+	elog "They are installed in ${EPREFIX}/opt/${MY_P}/proclib/."
 }


             reply	other threads:[~2025-01-22 14:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 14:03 Alexander Puck Neuwirth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-20 14:02 [gentoo-commits] proj/sci:master commit in: sci-physics/openloops/ Alexander Puck Neuwirth
2025-02-13 17:58 Alexander Puck Neuwirth
2024-12-13 10:42 Alexander Puck Neuwirth
2024-12-12 15:20 Alexander Puck Neuwirth

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=1737554545.1b32a974d7b3dd38692ea74ee3a7faff729052c3.alexander@gentoo \
    --to=alexander@neuwirth-informatik.de \
    --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