sci-physics/lhapdf-sets - 0 (science)

Search

Install

Install this version:

emerge -a =sci-physics/lhapdf-sets-0

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

autounmask =sci-physics/lhapdf-sets-0

Or alternatively:

emerge --autounmask-write -a =sci-physics/lhapdf-sets-0

Package Information

Description:
LHAPDF data grids
Homepage:
https://lhapdf.hepforge.org/
License:
public-domain

Ebuild Details

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

EAPI=8
LHA_VER="6.2.1"

IUSE_LHAPDF_SETS="
	lhapdf_sets_luxqed_plus_pdf4lhc15_nnlo_100
	lhapdf_sets_nnpdf31_nnlo_as_0118_luxqed
	lhapdf_sets_pdf4lhc15_nlo_asvar
	lhapdf_sets_pdf4lhc15_nnlo_100
	lhapdf_sets_ct14qed_proton
	lhapdf_sets_ct14lo
	lhapdf_sets_ct14nlo
	lhapdf_sets_ct10
	lhapdf_sets_ct10nnlo
	lhapdf_sets_mrst2007lomod
	lhapdf_sets_nnpdf23_nlo_as_0119_qed
	lhapdf_sets_nnpdf23_nlo_as_0119_qed_mc
	lhapdf_sets_nnpdf23_nnlo_as_0119_qed_mc
	lhapdf_sets_cteq66
	lhapdf_sets_cteq6l1
	lhapdf_sets_mrst2004qed
	lhapdf_sets_nnpdf23_nlo_as_0118
	lhapdf_sets_nnpdf31_nlo_as_0118
	lhapdf_sets_nnpdf31_nnlo_as_0118
	lhapdf_sets_nnpdf40_nlo_as_0118
"

DESCRIPTION="LHAPDF data grids"
HOMEPAGE="https://lhapdf.hepforge.org/"
COMMON_URI="https://lhapdfsets.web.cern.ch/lhapdfsets/current"
HEPFORGE_URI="https://www.hepforge.org/downloads/lhapdf/pdfsets/v6.backup/${LHA_VER}"
# Alternatively to fetching them here already the user can install them by lhapdf install,
# BUT some codes need them during test and even compile (Herwig) stage.
# Also since it belongs to LHAPDF it is better to fetch them here.
SRC_URI="
	lhapdf_sets_luxqed_plus_pdf4lhc15_nnlo_100? ( ${COMMON_URI}/LUXqed_plus_PDF4LHC15_nnlo_100.tar.gz )
	lhapdf_sets_nnpdf31_nnlo_as_0118_luxqed?    ( ${COMMON_URI}/NNPDF31_nnlo_as_0118_luxqed.tar.gz    )
	lhapdf_sets_pdf4lhc15_nlo_asvar?            ( ${COMMON_URI}/PDF4LHC15_nlo_asvar.tar.gz            )
	lhapdf_sets_pdf4lhc15_nnlo_100?             ( ${COMMON_URI}/PDF4LHC15_nnlo_100.tar.gz             )
	lhapdf_sets_ct14qed_proton?                 ( ${COMMON_URI}/CT14qed_proton.tar.gz                 )
	lhapdf_sets_ct14lo?                         ( ${COMMON_URI}/CT14lo.tar.gz                         )
	lhapdf_sets_ct14nlo?                        ( ${COMMON_URI}/CT14nlo.tar.gz                        )
	lhapdf_sets_ct10?                           ( ${COMMON_URI}/CT10.tar.gz                           )
	lhapdf_sets_ct10nnlo?                       ( ${COMMON_URI}/CT10nnlo.tar.gz                       )
	lhapdf_sets_mrst2007lomod?                  ( ${COMMON_URI}/MRST2007lomod.tar.gz                  )
	lhapdf_sets_nnpdf23_nlo_as_0119_qed?        ( ${COMMON_URI}/NNPDF23_nlo_as_0119_qed.tar.gz        )
	lhapdf_sets_nnpdf23_nlo_as_0119_qed_mc?     ( ${COMMON_URI}/NNPDF23_nlo_as_0119_qed_mc.tar.gz     )
	lhapdf_sets_nnpdf23_nnlo_as_0119_qed_mc?    ( ${COMMON_URI}/NNPDF23_nnlo_as_0119_qed_mc.tar.gz    )
	lhapdf_sets_cteq66?                         ( ${COMMON_URI}/cteq66.tar.gz                         )
	lhapdf_sets_cteq6l1?                        ( ${COMMON_URI}/cteq6l1.tar.gz                        )
	lhapdf_sets_mrst2004qed?                    ( ${HEPFORGE_URI}/MRST2004qed.tar.gz                  )
	lhapdf_sets_nnpdf23_nlo_as_0118?            ( ${COMMON_URI}/NNPDF23_nlo_as_0118.tar.gz            )
	lhapdf_sets_nnpdf31_nlo_as_0118?            ( ${COMMON_URI}/NNPDF31_nlo_as_0118.tar.gz            )
	lhapdf_sets_nnpdf31_nnlo_as_0118?           ( ${COMMON_URI}/NNPDF31_nnlo_as_0118.tar.gz           )
	lhapdf_sets_nnpdf40_nlo_as_0118?            ( ${COMMON_URI}/NNPDF40_nlo_as_01180.tar.gz           )
"

MY_PV=$(ver_cut 1-3)
MY_PF=LHAPDF-${MY_PV}

S="${WORKDIR}"
LICENSE="public-domain"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="${IUSE_LHAPDF_SETS}"
RDEPEND="sci-physics/lhapdf"
DEPEND="${RDEPEND}"

src_unpack() {
	# unpack in destination only to avoid copy
	return
}

src_install() {
	dodir /usr/share/LHAPDF/
	cd "${ED}/usr/share/LHAPDF/" || die
	unpack ${A}
}

USE Flags

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

Dependencies

DEPEND

sci-physics/lhapdf

RDEPEND

sci-physics/lhapdf

Manifest for 0

Type File Size Source URLs
DIST CT10.tar.gz 10246366 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/CT10.tar.gz
DIST CT10nnlo.tar.gz 14226448 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/CT10nnlo.tar.gz
DIST CT14lo.tar.gz 474954 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/CT14lo.tar.gz
DIST CT14nlo.tar.gz 27067462 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/CT14nlo.tar.gz
DIST CT14qed_proton.tar.gz 11064380 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/CT14qed_proton.tar.gz
DIST LUXqed_plus_PDF4LHC15_nnlo_100.tar.gz 30303213 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/LUXqed_plus_PDF4LHC15_nnlo_100.tar.gz
DIST MRST2004qed.tar.gz 185079 bytes https://www.hepforge.org/downloads/lhapdf/pdfsets/v6.backup/6.2.1/MRST2004qed.tar.gz
DIST MRST2007lomod.tar.gz 56685 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/MRST2007lomod.tar.gz
DIST NNPDF23_nlo_as_0118.tar.gz 21655966 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF23_nlo_as_0118.tar.gz
DIST NNPDF23_nlo_as_0119_qed.tar.gz 28541160 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF23_nlo_as_0119_qed.tar.gz
DIST NNPDF23_nlo_as_0119_qed_mc.tar.gz 25223180 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF23_nlo_as_0119_qed_mc.tar.gz
DIST NNPDF23_nnlo_as_0119_qed_mc.tar.gz 28940412 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF23_nnlo_as_0119_qed_mc.tar.gz
DIST NNPDF31_nlo_as_0118.tar.gz 41692760 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF31_nlo_as_0118.tar.gz
DIST NNPDF31_nnlo_as_0118.tar.gz 43193739 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF31_nnlo_as_0118.tar.gz
DIST NNPDF31_nnlo_as_0118_luxqed.tar.gz 47462442 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF31_nnlo_as_0118_luxqed.tar.gz
DIST NNPDF40_nlo_as_01180.tar.gz 52981809 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF40_nlo_as_01180.tar.gz
DIST PDF4LHC15_nlo_asvar.tar.gz 578871 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/PDF4LHC15_nlo_asvar.tar.gz
DIST PDF4LHC15_nnlo_100.tar.gz 29962423 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/PDF4LHC15_nnlo_100.tar.gz
DIST cteq66.tar.gz 8647237 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/cteq66.tar.gz
DIST cteq6l1.tar.gz 317834 bytes https://lhapdfsets.web.cern.ch/lhapdfsets/current/cteq6l1.tar.gz