aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2023-10-23 20:37:10 +0200
committerAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2023-10-28 12:03:49 +0200
commit2e22079da1c948701180f3665c5a5730f55f18f5 (patch)
tree0998d929a9e526ec19dcd89b6b7217ae38f95239 /sci-physics
parentsci-physics/pyhf: new package, add 0.7.3 (diff)
downloadsci-2e22079da1c948701180f3665c5a5730f55f18f5.tar.gz
sci-2e22079da1c948701180f3665c5a5730f55f18f5.tar.bz2
sci-2e22079da1c948701180f3665c5a5730f55f18f5.zip
sci-physics/lhapdf-sets: new package, add 0
Closes: https://github.com/gentoo/sci/pull/1219 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/lhapdf-sets/Manifest12
-rw-r--r--sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild66
-rw-r--r--sci-physics/lhapdf-sets/metadata.xml12
3 files changed, 90 insertions, 0 deletions
diff --git a/sci-physics/lhapdf-sets/Manifest b/sci-physics/lhapdf-sets/Manifest
new file mode 100644
index 000000000..6b51079a6
--- /dev/null
+++ b/sci-physics/lhapdf-sets/Manifest
@@ -0,0 +1,12 @@
+DIST CT10.tar.gz 10246366 BLAKE2B f0daf0a3ca6cd2f178f993944cdc29de5deb1f441d197e47c8b1c285a56abc0fdb1cd53ec5a8e7736e200397bea9ec9cf4d04420ce206e5c396b85b63f695d00 SHA512 90406bd102ab54b683fa3e6f3fc759febea2454a0b96c6a8d373cdec297f5d652097057a015c7d87241792ed9b5d9ac658a33155cdd7362f59110f8f06ecce73
+DIST CT14lo.tar.gz 474954 BLAKE2B 60e8d3695fa64a997f0431516086f037d8843a9310cb52910c28a8a8960838409bafb280cf776b25fde1b31225743b72a48a3d467b1f7a4ff5478d515607645b SHA512 bc6acfcf522262da227411555f10dd73456fb5d0ab9db334b99cf7953463e1fa3de8c78bbb95269e9a47629860d906d43948e6cf1719b00402645ec18249f959
+DIST CT14nlo.tar.gz 27067462 BLAKE2B b8d46593a62e80c320c76fb89f646ba0f31ab98811076120de1d21ef3b4849ff3d2e7b8d01d01dff5f1ee05a2266d94664e7f4a27347fa32c8ac4c68b0e72acb SHA512 1fcdfd24569966c1bc9c98f8ae2bf7d3a306700387b1351c92bc2b4f061db5d59d048c6cdd25095e1dc58344afa7f65a6526c611d747a5894398754483db77a2
+DIST CT14qed_proton.tar.gz 11064380 BLAKE2B b0b5834473a90d2adfedfa4dd467847349fc1b60907d387d1007387dcf557fac37871ea7430161edc0ecf6f8e8839077283dc8fcad610f03dd192efd70890c3f SHA512 a41f6f82e5505f66014e5523210c272254fb8018bbfac542eb1941e60c1c897ee687bfef1afbd981132cb772240fdd4d19b5dcd2b36b01f8e34ea959d9acd4f7
+DIST MRST2004qed.tar.gz 185079 BLAKE2B 62e0371de965698100755b14b0c282095b84b40800a58cd6776c458b03982f032f3b2464eb76174084dd22de9fd962e202a4896327b0a00579c3a632dac24ccc SHA512 404aacf0e241f572cc42ad4cf963deef1acd3d365fa68cfa3518878f921858046377ea39caf663fdced2cdde07af2f6ce695737f7fea229489df3d3f38283c95
+DIST MRST2007lomod.tar.gz 56685 BLAKE2B 8515b6f77302621f4b37f550840f07f0351e7ea98de16a37ceb4cb0f2ea64aa4b027462ffc442f34d1f4c349d67fac7b35353606d8920f17621c7187e508c689 SHA512 8e55627a01c85d90a62e4fb11b115c2faac2220479b6d558d3d6f1b801fc5c3e88abc377cd5437ccaeedd34b2ca42d6e833014566b796e5e1eebcf4d620e5dc0
+DIST NNPDF23_nlo_as_0119_qed_mc.tar.gz 25223180 BLAKE2B 05dd8772d559e8f08e28dc16da6b256d875563b140e1954cedac9b5f541e9cd325c4dfd5adbb13af434e036cbafa9bfe19325f69ae00ed599cfac6791629d989 SHA512 fc6998d50a61bbe65eef827021c0f453164795c079daef6a4932f825f8db4ae318bbf0e8781b61f1d3ffa9a495b5c4813af3aa31c77694657a44356d93fa970f
+DIST NNPDF23_nnlo_as_0119_qed_mc.tar.gz 28940412 BLAKE2B 57c7c98bb863258f87e236fea2d0233ac61350012aec6ba5cced75de0b4b945a5633d7fd487b0913b822df1c3ef804de2aacf34b1319d6973d959dc02ebbc9b2 SHA512 5088c30acbd1da4e412ba9f6a997ceaa34f426f41c7ebacaf4d2e8aa49b8b45052913e8d873b293d9f140c01e82c05735b66dd527a9aa124b86f73bf5e4d8c53
+DIST NNPDF31_nnlo_as_0118_luxqed.tar.gz 47462442 BLAKE2B 2b473d943ec49e28de63d002e4eadfd3002c63aa6ef9b4e792adf7acf8bb3a771f91298ac6575034407653d15aa4191da6090aaaa34d8a8091cb1a5d4562479a SHA512 5faafc9a2b23dc0a82c7f3ca26a6691cfa476f83741beab2b41a77e63fa5f10428bf43579670636689c0080421f4b08ec058aa63c047f04f6d892b1b848fd702
+DIST PDF4LHC15_nlo_asvar.tar.gz 578871 BLAKE2B a42a24d4af82f892e0dccfeeacedfcbb074be1ddc9649d55ff6c15e3923901173337ba4197248410d2a40e72ab627af9a0cea09e5ee98c37130aceb34402d9d4 SHA512 ef96970050b78f5a5bc54b43ee2d7ed0eb76796ea23ce864f1c8ff6de2d68f99023d5c4530f4e73197948c39886fcb832ed26dfa126ca0396e4fd08e353df8a0
+DIST cteq66.tar.gz 8647237 BLAKE2B 3ac47b6eee434f89ff329cfcb8268782af4ffa552ca4b412a59254e9b10410518f9fe9543b47f193d9cd31b06fc1101556df2be01c25ca17febcb9fb1855e5ca SHA512 25d0fa01dcdb59d71c7092367af8258471a2bc6dfd146766cc79f90ffb0feafa0f2011d0a37a7d75315c10ba7c7a6e3fa583d9c0a28119b072228ac800294e48
+DIST cteq6l1.tar.gz 317834 BLAKE2B eccad131853f9a760d0dfd43a3f8705f8edbac3ec7373de9ef9a8936f13ba06500ba5758cd04649dd1b85ac04fc778e9d96222877e74e9ff02263455b233fa41 SHA512 7177608e97077eaf45a292db4ea74eb9a28b4b500ab8be02098b4837a5583cd397828abc3bf43ead448926eaa75ae3968bd059ecde333d90ed6e4295cbe1873c
diff --git a/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
new file mode 100644
index 000000000..edd3639d2
--- /dev/null
+++ b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
@@ -0,0 +1,66 @@
+# 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_nnpdf31_nnlo_as_0118_luxqed
+ lhapdf_sets_pdf4lhc15_nlo_asvar
+ lhapdf_sets_ct14qed_proton
+ lhapdf_sets_ct14lo
+ lhapdf_sets_ct14nlo
+ lhapdf_sets_ct10
+ lhapdf_sets_mrst2007lomod
+ 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
+"
+
+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_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_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_mrst2007lomod? ( ${COMMON_URI}/MRST2007lomod.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 )
+"
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="LHAPDF data grids"
+HOMEPAGE="https://lhapdf.hepforge.org/"
+KEYWORDS="~amd64 ~x86"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+IUSE="${IUSE_LHAPDF_SETS}"
+SLOT="0"
+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}
+}
diff --git a/sci-physics/lhapdf-sets/metadata.xml b/sci-physics/lhapdf-sets/metadata.xml
new file mode 100644
index 000000000..73a7063eb
--- /dev/null
+++ b/sci-physics/lhapdf-sets/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+</pkgmetadata>