diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 15:03:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 15:03:33 +0000 |
commit | c9388864702fdd7b0b56c049eddb41bdb9054dcb (patch) | |
tree | 3595822471cd11e6f9f92565ab81ab9c5ee39c3f /sci-physics/lhapdf | |
parent | a41f630aea0b4b71a6c9a088571f1eaaf8413d53 (diff) |
gentoo auto-resync : 30:10:2022 - 15:03:33
Diffstat (limited to 'sci-physics/lhapdf')
-rw-r--r-- | sci-physics/lhapdf/Manifest | 4 | ||||
-rw-r--r-- | sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch | 11 | ||||
-rw-r--r-- | sci-physics/lhapdf/lhapdf-6.5.2-r1.ebuild | 61 | ||||
-rw-r--r-- | sci-physics/lhapdf/lhapdf-6.5.3.ebuild | 63 |
4 files changed, 139 insertions, 0 deletions
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest index 5cee2dad8066..498d0758eecf 100644 --- a/sci-physics/lhapdf/Manifest +++ b/sci-physics/lhapdf/Manifest @@ -1,7 +1,11 @@ +AUX lhapdf-6.5.2-py.patch 391 BLAKE2B f5d904659a9163ec2e269e5c950c0610c9604dd936f307600641f68e5b22eb2e36fbc013b8d7432b158f61ca83ce2e8bcfb5202fff95a57e85ce0766299169f5 SHA512 c344b98d9f604cb530fa179b5ad4511edc7d1f56b5de3ec385d57a2823526b634bf8cf3cc0e51ca0b5dc868116fd5569bfb9e59d3dfbb1ffc377945570329b6a DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9 SHA512 4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b DIST LHAPDF-6.5.1.tar.gz 843942 BLAKE2B 4b86b2b3c32d8c02839946aee831d57657eccc7c80efaa49af9052f8437d1ae86b95a6acc5120e3337d528a184d8af5b4dde75a23ac6deeb85ed0d745f73647b SHA512 eeca814a60d7ae03491e82991f328bc4216d46ad94834ce19fb813e59f2d6e9bb7450678c8f6cdf1aaa3d700e56ef8dfc1363e46120893fa8be4d451c37603d2 DIST LHAPDF-6.5.2.tar.gz 865088 BLAKE2B 630846f6105351d0561619f59810d23d936043842b0524d3818153416d116833ca550a940824a74ee9c6684d8d2ea59e72f3a74b3238fd3dc2828937c1422185 SHA512 14dc815a1abb22398d5dc2d4bbe21b0be4dbf16b834fe6be467f11c65d9e13e34548e93d29358740cdb0afedd141e950608258ddd6c0a5d83174861cffdc8f8d +DIST LHAPDF-6.5.3.tar.gz 864918 BLAKE2B 2dd1b5b94523c0cadac2b63d3dcbc73c5d621463ec9a0e6736b40cb24f6f4da744cf74484b6a5cfb1cfc10054171858dfb3968b22da565747d9b0d00cb3f545c SHA512 444e1dd75c087b0618a65b0ebda0d06dac640d75e43de3a2e4cd5733dd2eaa6eeb6cb0aac437ee559b00b60a6b839a4125b3b26d398da81d52a3a97a7b875662 EBUILD lhapdf-6.3.0.ebuild 1666 BLAKE2B e49b783a789b2f6527859b2cac5cb081d48fd52d3592b0a3a5c5f1d43f33c0ecaf396439ce963c3d63344506f703ef4881936cd5dfbee553806b1aca0da6a0de SHA512 464dedbde7502e42d8aa023310f7d38c38868325bdd75d68589269819f72e5b4081d3b7d1cfbab2e97371bb323dcce24ae48ab73f0f2ca12bf332898b024017a EBUILD lhapdf-6.5.1.ebuild 1137 BLAKE2B b9871e68f0d0ab81d7d14d2f40eeffe974d358b1de95ae82194097f48577c93d41aa77128fcc2cada9a9ca52b8db290eb5c06ca8444dac3157c50a25a62c47e6 SHA512 257a6b45bd58dd41d298ca8920094c1b2c11658fa62705b1141ef62ffbaba7ca08a3d6b729b36ebbe78ec73a8722d14d49ea9a03787bf146b2bac2277412c2ba +EBUILD lhapdf-6.5.2-r1.ebuild 1201 BLAKE2B f93cde1d486aa5c4a54c29e91de73484bc0555a624a8ce1291733543cafeadde8321af845ab28e5819e266fe09e5d398283d7191c31c0df93c3ff344d71d12cb SHA512 8285ea9f86b630268e1aec034fa7636ae36165f0be420435e60ac456d62d7c8a835966da3e6ab044efcb5c1e4bd1168971c27fadeaba3dbf0a58d34244c6ffb2 EBUILD lhapdf-6.5.2.ebuild 1161 BLAKE2B 31b99e0877b96d05ed159b2c8f639a6da6a0c6f32bb076eea1cd9ddca00b968a45f6067058083b001f281ae7bcebf5603b86bc38501e4afe80057e2d5fe206af SHA512 2fcdde81472e5934f6ce0f9b41791364ef36ec94cb91660cfb0930736a51db17483cf83023c2ce2037d6f8ac234f6bbcb96cb953018579821003296b89645a84 +EBUILD lhapdf-6.5.3.ebuild 1181 BLAKE2B 96b885ef0624540eee99f7cd51feb4e0dd6c9f2ab16c46367a68e1569c6203671d038d43ee5f2093f793e8cd0d3daf61a9548d08315744179acf165cf9a87f40 SHA512 7702dbdc86dd1c8752ca949c3d918e4486876ecdab7b2adc0f380d8d5d30df087d74a793c8792073a99b0b8f7726daa94f03c0f804b27a7ff6c0099d50642219 MISC metadata.xml 1074 BLAKE2B fdd2f72c76bfe83ce7d3bd16b008325849116bb5ae5d9056ae66309dd6506369f975aad00da9d3bd5c2bd75bec43ef6dc8a507ee9b80f6abda6208900b898e54 SHA512 7768e9988fcd218bd5894d6be78a40652a94455938e037d42e1b77bc0a263097c708821f44e298dd8fe6b027dcb0d9cc799628390547ab6cea8f00fc1999ec8e diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch new file mode 100644 index 000000000000..e4e6579872e2 --- /dev/null +++ b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch @@ -0,0 +1,11 @@ +--- a/wrappers/python/build.py.in 2022-10-16 17:54:18.406418600 +0200 ++++ b/wrappers/python/build.py.in 2022-10-16 17:54:31.926612653 +0200 +@@ -20,7 +20,7 @@ + ## Include args + incargs = " ".join("-I{}".format(d) for d in incdirs) + incargs += " -I@prefix@/include" +-incargs += " @CPPFLAGS@" ++incargs += " @CPPFLAGS@ @CXXFLAGS@ @LDFLAGS@" + + ## Compile args + cmpargs = "" #"@PYEXT_CXXFLAGS@" diff --git a/sci-physics/lhapdf/lhapdf-6.5.2-r1.ebuild b/sci-physics/lhapdf/lhapdf-6.5.2-r1.ebuild new file mode 100644 index 000000000000..847df333d690 --- /dev/null +++ b/sci-physics/lhapdf/lhapdf-6.5.2-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DOCS_BUILDER="doxygen" +DOCS_DEPEND=" + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra +" +inherit python-single-r1 docs + +MY_PV=$(ver_cut 1-3) +MY_PF=LHAPDF-${MY_PV} + +DESCRIPTION="Les Houches Parton Density Function unified library" +HOMEPAGE="https://lhapdf.hepforge.org/" +SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz" +S="${WORKDIR}/${MY_PF}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + dev-libs/boost:= + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-py.patch +) +src_configure() { + CONFIG_SHELL="${EPREFIX}/bin/bash" \ + econf \ + --disable-static \ + --enable-python +} + +src_compile() { + emake all $(use doc && echo doxy) +} + +src_test() { + emake -C tests +} + +src_install() { + default + use doc && dodoc -r doc/doxygen/. + use examples && dodoc examples/*.cc + + python_optimize + + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-physics/lhapdf/lhapdf-6.5.3.ebuild b/sci-physics/lhapdf/lhapdf-6.5.3.ebuild new file mode 100644 index 000000000000..f41aa16191cb --- /dev/null +++ b/sci-physics/lhapdf/lhapdf-6.5.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DOCS_BUILDER="doxygen" +DOCS_DEPEND=" + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra +" +inherit python-single-r1 docs + +MY_PV=$(ver_cut 1-3) +MY_PF=LHAPDF-${MY_PV} + +DESCRIPTION="Les Houches Parton Density Function unified library" +HOMEPAGE="https://lhapdf.hepforge.org/" +SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz" +S="${WORKDIR}/${MY_PF}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + dev-libs/boost:= + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-6.5.2-py.patch +) + +src_configure() { + CONFIG_SHELL="${EPREFIX}/bin/bash" \ + econf \ + --disable-static \ + --enable-python +} + +src_compile() { + emake all $(use doc && echo doxy) +} + +src_test() { + emake -C tests +} + +src_install() { + default + use doc && dodoc -r doc/doxygen/. + use examples && dodoc examples/*.cc + + python_optimize + + find "${ED}" -name '*.la' -delete || die +} |