sci-physics/iregi - 1.1.0 (science)

Search

Install

Install this version:

emerge -a =sci-physics/iregi-1.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-physics/iregi-1.1.0

Or alternatively:

emerge --autounmask-write -a =sci-physics/iregi-1.1.0

Package Information

Description:
Integral REduction with General positive propagator Indices
Homepage:
https://gitlab.com/APN-Pucky/iregi-mirror https://arxiv.org/abs/hep-ph/0303184 https://launchpad.net/mg5amcnlo https://github.com/mg5amcnlo/mg5amcnlo
License:
UoI-NCSA

Ebuild Details

Version EAPI Keywords Slot
1.1.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2 toolchain-funcs

MY_P=iregi-mirror-v${PV}

DESCRIPTION="Integral REduction with General positive propagator Indices"
HOMEPAGE="
	https://gitlab.com/APN-Pucky/iregi-mirror
	https://arxiv.org/abs/hep-ph/0303184
	https://launchpad.net/mg5amcnlo
	https://github.com/mg5amcnlo/mg5amcnlo
"

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://gitlab.com/APN-Pucky/iregi-mirror"
	EGIT_BRANCH="master"
else
	SRC_URI="https://gitlab.com/APN-Pucky/iregi-mirror/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
	S=${WORKDIR}/${MY_P}
	KEYWORDS="~amd64"
fi

# only lives in MG5_aMC@NLO repo => same license
LICENSE="UoI-NCSA"
SLOT="0"
IUSE="+static-libs"

DEPEND="
	sci-physics/oneloop
	sci-physics/qcdloop
"
RDEPEND="${DEPEND}"

src_compile() {
	tc-export FC
	emake -j1 onelooppath="${EPREFIX}"/usr/include/ FC="${FC}" FFLAGS="${FFLAGS}"
}

src_install() {
	default

	if ! use static-libs; then
		rm -f "${D}"/usr/lib/*.a || die
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-physics/iregi | euse -E <flag> -p sci-physics/iregi | euse -D <flag> -p sci-physics/iregi

Global/Standard Flags

static-libs
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	sci-physics/oneloop
	sci-physics/qcdloop

RDEPEND

	sci-physics/oneloop
	sci-physics/qcdloop

Manifest for 1.1.0

Type File Size Source URLs
DIST iregi-1.1.0.tar.bz2 68981 bytes https://gitlab.com/APN-Pucky/iregi-mirror/-/archive/v1.1.0/iregi-mirror-v1.1.0.tar.bz2