public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/openloops/
@ 2024-12-12 15:20 Alexander Puck Neuwirth
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Puck Neuwirth @ 2024-12-12 15:20 UTC (permalink / raw
  To: gentoo-commits

commit:     d180ae1fc1c0fbd40b45f9576dfa8adba563d7b8
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Dec 12 13:34:51 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Dec 12 15:19:25 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d180ae1f

sci-physics/openloops: offer processes

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

 sci-physics/openloops/metadata.xml                 |  4 ++
 ...oops-2.1.3.ebuild => openloops-2.1.3-r1.ebuild} | 56 ++++++++++++++++------
 2 files changed, 46 insertions(+), 14 deletions(-)

diff --git a/sci-physics/openloops/metadata.xml b/sci-physics/openloops/metadata.xml
index 5bec6ac4c..a32ce734b 100644
--- a/sci-physics/openloops/metadata.xml
+++ b/sci-physics/openloops/metadata.xml
@@ -19,5 +19,9 @@
     <flag name="collier">Build with collier</flag>
     <flag name="extra">Build libs with extra</flag>
     <flag name="cuttools">Build with cuttools</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>
+    <flag name="pplnjj-ckm">Build pp to lljj process with ckm matrix</flag>
   </use>
 </pkgmetadata>

diff --git a/sci-physics/openloops/openloops-2.1.3.ebuild b/sci-physics/openloops/openloops-2.1.3-r1.ebuild
similarity index 62%
rename from sci-physics/openloops/openloops-2.1.3.ebuild
rename to sci-physics/openloops/openloops-2.1.3-r1.ebuild
index a53eb1f9e..876bbdaa3 100644
--- a/sci-physics/openloops/openloops-2.1.3.ebuild
+++ b/sci-physics/openloops/openloops-2.1.3-r1.ebuild
@@ -14,13 +14,23 @@ DESCRIPTION="Evaluation of tree and one-loop matrix elements for any Standard Mo
 HOMEPAGE="https://openloops.hepforge.org/index.html"
 #SRC_URI="https://openloops.hepforge.org/downloads?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
 #S="${WORKDIR}/${MY_P}"
-SRC_URI="https://gitlab.com/openloops/OpenLoops/-/archive/${MY_P}/${MY_PN}-${MY_P}.tar.bz2"
+# since the files are not publicly versioned we mirror them from
+# https://www.physik.uzh.ch/data/openloops/repositories/public/processes/2
+COMMON_URI="https://gitlab.com/openloopsmirror/"
+
+SRC_URI="
+	https://gitlab.com/openloops/OpenLoops/-/archive/${MY_P}/${MY_PN}-${MY_P}.tar.bz2
+	ppllj? ( ${COMMON_URI}/ppllj/-/archive/a3a36918/ppllj-a3a36918.tar.bz2 )
+	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 )
+"
 S="${WORKDIR}/${MY_PN}-${MY_P}"
 
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+collier +cuttools +extra"
+IUSE="+collier +cuttools +extra ppllj pplljj pplnj-ckm pplnjj-ckm"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
@@ -39,7 +49,7 @@ PATCHES=(
 src_prepare() {
 	default
 	mv openloops.cfg.tmpl openloops.cfg || die
-	sed -i "s|scons -Q|scons -Q -C /opt/${MY_P}/|g" openloops || die
+	sed -i "s|\\\$BASEDIR/scons -Q|scons -Q -C /opt/${MY_P}/|g" openloops || die
 	if use extra ; then
 		sed -i "s|#compile_extra.*|compile_extra = 1|" openloops.cfg || die
 	fi
@@ -54,9 +64,7 @@ src_prepare() {
 	cc = $(tc-getCC)
 	cxx = $(tc-getCXX)
 	fortran_compiler = $(tc-getFC)
-	process_src_dir = ${EPREFIX}/opt/${MY_P}/process_src/
-	process_obj_dir = ${EPREFIX}/opt/${MY_P}/process_obj/
-	process_lib_dir = ${EPREFIX}/opt/${MY_P}/proclib/
+
 	release = $PV
 	import_env = @all
 	EOF
@@ -70,6 +78,22 @@ src_prepare() {
 
 src_compile() {
 	escons --cache-disable
+	for OLPROC in ppllj pplljj pplnj_ckm pplnjj_ckm;  do
+		if use ${OLPROC//_/-}; then
+			# move downloaded files to src
+			mkdir -p "${S}/process_src/${OLPROC}" || die
+			mv "${WORKDIR}/${OLPROC}-"*/* "${S}/process_src/${OLPROC}" || die
+			# compile it
+			escons auto=${OLPROC} generator=0
+		fi
+	done
+
+	# insert these later since we are done with compiling in ${S} now
+	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)/
+	EOF
 }
 
 src_install() {
@@ -77,9 +101,17 @@ src_install() {
 	dobin openloops
 	cd include || die
 	doheader openloops.h
-	cd ../lib || die
+
 	# Also install so.version links
+	cd ../lib || die
 	dolib.so libolcommon.so* libopenloops.so* librambo.so* libtrred.so*
+	# install processes
+	cd ../proclib || die
+	dolib.so *.so
+	# also install the process info files
+	insinto /usr/$(get_libdir)/
+	doins *.info
+
 	cd ../lib_src/olcommon/mod || die
 	doheader *.mod
 	cd ../../openloops/mod || die
@@ -94,15 +126,11 @@ src_install() {
 	doins openloops.cfg SConstruct
 	doins -r pyol
 
-	# Previous method of allowing everyone everything
-	# maybe better to use a group for that
-	# for now like lhapdf just let root install
-	#fperms -R a=u /opt/${MY_P}
-	#fperms a=u /opt/${MY_P}
-
+	# no need to also install the source code
+	#doins -r process_src
 }
 
 pkg_postinst() {
 	elog "Install processes with openloops libinstall."
-	elog "They are installed in /opt/${MY_P}/proclib."
+	elog "They are installed in ${EPREFIX}/usr/$(get_libdir)/."
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/openloops/
@ 2024-12-13 10:42 Alexander Puck Neuwirth
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Puck Neuwirth @ 2024-12-13 10:42 UTC (permalink / raw
  To: gentoo-commits

commit:     031319117d9154ea23d5c9d6bf43928c926c8cab
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Fri Dec 13 09:19:14 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Fri Dec 13 09:19:14 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=03131911

sci-physics/openloops: fix no processes case

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

 sci-physics/openloops/openloops-2.1.3-r1.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/sci-physics/openloops/openloops-2.1.3-r1.ebuild b/sci-physics/openloops/openloops-2.1.3-r1.ebuild
index 876bbdaa3..ebe75037f 100644
--- a/sci-physics/openloops/openloops-2.1.3-r1.ebuild
+++ b/sci-physics/openloops/openloops-2.1.3-r1.ebuild
@@ -105,12 +105,15 @@ src_install() {
 	# Also install so.version links
 	cd ../lib || die
 	dolib.so libolcommon.so* libopenloops.so* librambo.so* libtrred.so*
+
 	# install processes
-	cd ../proclib || die
-	dolib.so *.so
-	# also install the process info files
-	insinto /usr/$(get_libdir)/
-	doins *.info
+	if [ -d "../proclib" ]; then
+		cd ../proclib || die
+		dolib.so *.so
+		# also install the process info files
+		insinto /usr/$(get_libdir)/
+		doins *.info
+	fi
 
 	cd ../lib_src/olcommon/mod || die
 	doheader *.mod


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/openloops/
@ 2025-01-22 14:03 Alexander Puck Neuwirth
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Puck Neuwirth @ 2025-01-22 14:03 UTC (permalink / raw
  To: gentoo-commits

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/."
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/openloops/
@ 2025-02-13 17:58 Alexander Puck Neuwirth
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Puck Neuwirth @ 2025-02-13 17:58 UTC (permalink / raw
  To: gentoo-commits

commit:     26b91f943c810e439c529ab909075e0526255a0e
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Feb 13 12:13:54 2025 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Feb 13 12:16:44 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=26b91f94

sci-physics/openloops: add 2.1.4

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

 sci-physics/openloops/metadata.xml           |   4 +
 sci-physics/openloops/openloops-2.1.4.ebuild | 143 +++++++++++++++++++++++++++
 2 files changed, 147 insertions(+)

diff --git a/sci-physics/openloops/metadata.xml b/sci-physics/openloops/metadata.xml
index ebd5233b6..f7ec2a109 100644
--- a/sci-physics/openloops/metadata.xml
+++ b/sci-physics/openloops/metadata.xml
@@ -24,5 +24,9 @@
     <flag name="pplljj">Build pp to lljj process</flag>
     <flag name="pplnj-ckm">Build pp to lnj process with ckm matrix</flag>
     <flag name="pplnjj-ckm">Build pp to lljj process with ckm matrix</flag>
+    <flag name="ppjj">Build pp to jj process</flag>
+    <flag name="ppjjj">Build pp to jjj process</flag>
+    <flag name="ppajj">Build pp to ajj process</flag>
+    <flag name="pphllj-ew">Build pp to hllj process with EW corrections</flag>
   </use>
 </pkgmetadata>

diff --git a/sci-physics/openloops/openloops-2.1.4.ebuild b/sci-physics/openloops/openloops-2.1.4.ebuild
new file mode 100644
index 000000000..8ad625413
--- /dev/null
+++ b/sci-physics/openloops/openloops-2.1.4.ebuild
@@ -0,0 +1,143 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit fortran-2 python-single-r1 scons-utils toolchain-funcs
+
+MY_PN=OpenLoops
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Evaluation of tree and one-loop matrix elements for any Standard Model."
+HOMEPAGE="https://openloops.hepforge.org/index.html"
+#SRC_URI="https://openloops.hepforge.org/downloads?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+#S="${WORKDIR}/${MY_P}"
+# since the files are not publicly versioned we mirror them from
+# https://www.physik.uzh.ch/data/openloops/repositories/public/processes/2
+COMMON_URI="https://gitlab.com/openloopsmirror/"
+
+SRC_URI="
+	https://gitlab.com/openloops/OpenLoops/-/archive/${MY_P}/${MY_PN}-${MY_P}.tar.bz2
+	ppllj?      ( ${COMMON_URI}/ppllj/-/archive/a3a36918/ppllj-a3a36918.tar.bz2         )
+	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   )
+	ppjj?       ( ${COMMON_URI}/ppjj/-/archive/d3d5302/ppjj-d3d5302.tar.bz2             )
+	ppjjj?      ( ${COMMON_URI}/ppjjj/-/archive/93a6e3f7/ppjjj-93a6e3f7.tar.bz2         )
+	ppajj?      ( ${COMMON_URI}/ppajj/-/archive/93a6e3f7/ppajj-93a6e3f7.tar.bz2         )
+	pphllj-ew?  ( ${COMMON_URI}/pphllj_ew/-/archive/93a6e3f7/pphllj_ew-93a6e3f7.tar.bz2 )
+
+"
+S="${WORKDIR}/${MY_PN}-${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+collier +cuttools +extra pplla-ew ppllj pplljj pplnj-ckm pplnjj-ckm ppjj ppjjj ppajj pphllj-ew"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	sci-physics/qcdloop
+	sci-physics/oneloop[dpkind,qpkind16,-qpkind,-cppintf]
+	collier? ( sci-physics/collier[-static-libs] )
+	cuttools? ( sci-physics/cuttools[dummy] )
+	${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+	mv openloops.cfg.tmpl openloops.cfg || die
+	sed -i "s|\\\$BASEDIR/scons -Q|scons -Q -C /opt/${MY_P}/|g" openloops || die
+	if use extra ; then
+		sed -i "s|#compile_extra.*|compile_extra = 1|" openloops.cfg || die
+	fi
+
+	cat <<-EOF >> openloops.cfg || die
+	compile_libraries = rambo trred
+	link_libraries = $(usev collier) $(usev cuttools)
+	ccflags = ${CFLAGS}
+	cxxflags = ${CXXFLAGS}
+	f_flags = ${FFLAGS} -I${ESYSROOT}/usr/include/ -I${ESYSROOT}/usr/include/cuttools -lcollier
+	link_flags = ${LDFLAGS} -I${ESYSROOT}/usr/include/ -I${ESYSROOT}/usr/include/cuttools -lcollier
+	cc = $(tc-getCC)
+	cxx = $(tc-getCXX)
+	fortran_compiler = $(tc-getFC)
+
+	release = $PV
+	import_env = @all
+	EOF
+
+	# fix rename for py3.12
+	sed -i 's/SafeConfigParser/ConfigParser/g' pyol/tools/OLBaseConfig.py || die
+	# wipe local scons
+	rm -r scons-local || die
+	rm scons || die
+}
+
+src_compile() {
+	escons --cache-disable
+	for OLPROC in pplla_ew ppllj pplljj pplnj_ckm pplnjj_ckm ppjj ppjjj ppajj pphllj_ew;  do
+		if use ${OLPROC//_/-}; then
+			# move downloaded files to src
+			mkdir -p "${S}/process_src/${OLPROC}" || die
+			mv "${WORKDIR}/${OLPROC}-"*/* "${S}/process_src/${OLPROC}" || die
+			# compile it
+			escons auto=${OLPROC} generator=0
+		fi
+	done
+
+	# insert these later since we are done with compiling in ${S} now
+	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}/opt/${MY_P}/proclib/
+	EOF
+}
+
+src_install() {
+	dosym ../opt/${MY_P} /opt/OpenLoops2
+	dobin openloops
+	cd include || die
+	doheader openloops.h
+
+	newenvd - 99openloops2 <<- _EOF_
+		OpenLoopsPath=${EPREFIX}/opt/OpenLoops2
+	_EOF_
+
+	# Also install so.version links
+	cd ../lib || die
+	dolib.so libolcommon.so* libopenloops.so* librambo.so* libtrred.so*
+
+	cd .. || die
+	# install processes
+	if [ -d "./proclib" ]; then
+		dodir "/opt/${MY_P}/proclib"
+		mv proclib/* "${ED}/opt/${MY_P}/proclib/" || die
+	fi
+
+	cd ./lib_src/olcommon/mod || die
+	doheader *.mod
+	cd ../../openloops/mod || die
+	doheader *.mod
+	cd ../../rambo/mod || die
+	doheader *.mod
+	cd ../../trred/mod || die
+	doheader *.mod
+
+	cd "${S}" || die "Failed to cd into ${S}"
+	insinto /opt/${MY_P}
+	doins openloops.cfg SConstruct
+	doins -r pyol
+
+	# no need to also install the source code
+	#doins -r process_src
+}
+
+pkg_postinst() {
+	elog "Install processes with openloops libinstall."
+	elog "They are installed in ${EPREFIX}/opt/${MY_P}/proclib/."
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/openloops/
@ 2025-02-20 14:02 Alexander Puck Neuwirth
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Puck Neuwirth @ 2025-02-20 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     0df326653c18350d8ee5897f624612f5e96a004f
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Feb 20 14:00:15 2025 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Feb 20 14:01:53 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0df32665

sci-physics/openloops: add pplla, ppllaj, ppllajj

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

 sci-physics/openloops/metadata.xml           |  3 +++
 sci-physics/openloops/openloops-2.1.4.ebuild | 17 ++++++++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/sci-physics/openloops/metadata.xml b/sci-physics/openloops/metadata.xml
index f7ec2a109..f88ff31ee 100644
--- a/sci-physics/openloops/metadata.xml
+++ b/sci-physics/openloops/metadata.xml
@@ -28,5 +28,8 @@
     <flag name="ppjjj">Build pp to jjj process</flag>
     <flag name="ppajj">Build pp to ajj process</flag>
     <flag name="pphllj-ew">Build pp to hllj process with EW corrections</flag>
+    <flag name="pplla">Build pp to lla process</flag>
+    <flag name="ppllaj">Build pp to llaj process</flag>
+    <flag name="ppllajj">Build pp to llajj process</flag>
   </use>
 </pkgmetadata>

diff --git a/sci-physics/openloops/openloops-2.1.4.ebuild b/sci-physics/openloops/openloops-2.1.4.ebuild
index 8ad625413..a4f2dba56 100644
--- a/sci-physics/openloops/openloops-2.1.4.ebuild
+++ b/sci-physics/openloops/openloops-2.1.4.ebuild
@@ -20,15 +20,18 @@ COMMON_URI="https://gitlab.com/openloopsmirror/"
 
 SRC_URI="
 	https://gitlab.com/openloops/OpenLoops/-/archive/${MY_P}/${MY_PN}-${MY_P}.tar.bz2
+	ppajj?      ( ${COMMON_URI}/ppajj/-/archive/93a6e3f7/ppajj-93a6e3f7.tar.bz2         )
+	pphllj-ew?  ( ${COMMON_URI}/pphllj_ew/-/archive/93a6e3f7/pphllj_ew-93a6e3f7.tar.bz2 )
+	ppjj?       ( ${COMMON_URI}/ppjj/-/archive/d3d5302/ppjj-d3d5302.tar.bz2             )
+	ppjjj?      ( ${COMMON_URI}/ppjjj/-/archive/93a6e3f7/ppjjj-93a6e3f7.tar.bz2         )
+	pplla?      ( ${COMMON_URI}/pplla/-/archive/a3a36918/pplla-a3a36918.tar.bz2         )
+	ppllaj?     ( ${COMMON_URI}/ppllaj/-/archive/c77e3a3/ppllaj-c77e3a3.tar.bz2         )
+	ppllajj?    ( ${COMMON_URI}/ppllajj/-/archive/4d8743c/ppllajj-4d8743c.tar.bz2       )
+	pplla-ew?   ( ${COMMON_URI}/pplla_ew/-/archive/0a26af9a/pplla_ew-0a26af9a.tar.bz2   )
 	ppllj?      ( ${COMMON_URI}/ppllj/-/archive/a3a36918/ppllj-a3a36918.tar.bz2         )
 	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   )
-	ppjj?       ( ${COMMON_URI}/ppjj/-/archive/d3d5302/ppjj-d3d5302.tar.bz2             )
-	ppjjj?      ( ${COMMON_URI}/ppjjj/-/archive/93a6e3f7/ppjjj-93a6e3f7.tar.bz2         )
-	ppajj?      ( ${COMMON_URI}/ppajj/-/archive/93a6e3f7/ppajj-93a6e3f7.tar.bz2         )
-	pphllj-ew?  ( ${COMMON_URI}/pphllj_ew/-/archive/93a6e3f7/pphllj_ew-93a6e3f7.tar.bz2 )
 
 "
 S="${WORKDIR}/${MY_PN}-${MY_P}"
@@ -36,7 +39,7 @@ S="${WORKDIR}/${MY_PN}-${MY_P}"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+collier +cuttools +extra pplla-ew ppllj pplljj pplnj-ckm pplnjj-ckm ppjj ppjjj ppajj pphllj-ew"
+IUSE="+collier +cuttools +extra pplla-ew ppllj pplljj pplnj-ckm pplnjj-ckm ppjj ppjjj ppajj pphllj-ew pplla ppllaj ppllajj"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
@@ -80,7 +83,7 @@ src_prepare() {
 
 src_compile() {
 	escons --cache-disable
-	for OLPROC in pplla_ew ppllj pplljj pplnj_ckm pplnjj_ckm ppjj ppjjj ppajj pphllj_ew;  do
+	for OLPROC in pplla_ew ppllj pplljj pplnj_ckm pplnjj_ckm ppjj ppjjj ppajj pphllj_ew pplla ppllaj ppllajj;  do
 		if use ${OLPROC//_/-}; then
 			# move downloaded files to src
 			mkdir -p "${S}/process_src/${OLPROC}" || die


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-20 14:02 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox