1 |
commit: 1b2f348af326246ea399ec0b1bcab890c2acccff |
2 |
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> |
3 |
AuthorDate: Sun Oct 16 17:09:50 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 09:33:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2f348a |
7 |
|
8 |
sci-physics/lhapdf: add 6.5.3 |
9 |
|
10 |
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sci-physics/lhapdf/Manifest | 1 + |
14 |
sci-physics/lhapdf/lhapdf-6.5.3.ebuild | 63 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 64 insertions(+) |
16 |
|
17 |
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest |
18 |
index 39261d785a20..6507a8b85792 100644 |
19 |
--- a/sci-physics/lhapdf/Manifest |
20 |
+++ b/sci-physics/lhapdf/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9 SHA512 4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b |
23 |
DIST LHAPDF-6.5.1.tar.gz 843942 BLAKE2B 4b86b2b3c32d8c02839946aee831d57657eccc7c80efaa49af9052f8437d1ae86b95a6acc5120e3337d528a184d8af5b4dde75a23ac6deeb85ed0d745f73647b SHA512 eeca814a60d7ae03491e82991f328bc4216d46ad94834ce19fb813e59f2d6e9bb7450678c8f6cdf1aaa3d700e56ef8dfc1363e46120893fa8be4d451c37603d2 |
24 |
DIST LHAPDF-6.5.2.tar.gz 865088 BLAKE2B 630846f6105351d0561619f59810d23d936043842b0524d3818153416d116833ca550a940824a74ee9c6684d8d2ea59e72f3a74b3238fd3dc2828937c1422185 SHA512 14dc815a1abb22398d5dc2d4bbe21b0be4dbf16b834fe6be467f11c65d9e13e34548e93d29358740cdb0afedd141e950608258ddd6c0a5d83174861cffdc8f8d |
25 |
+DIST LHAPDF-6.5.3.tar.gz 864918 BLAKE2B 2dd1b5b94523c0cadac2b63d3dcbc73c5d621463ec9a0e6736b40cb24f6f4da744cf74484b6a5cfb1cfc10054171858dfb3968b22da565747d9b0d00cb3f545c SHA512 444e1dd75c087b0618a65b0ebda0d06dac640d75e43de3a2e4cd5733dd2eaa6eeb6cb0aac437ee559b00b60a6b839a4125b3b26d398da81d52a3a97a7b875662 |
26 |
|
27 |
diff --git a/sci-physics/lhapdf/lhapdf-6.5.3.ebuild b/sci-physics/lhapdf/lhapdf-6.5.3.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..f41aa16191cb |
30 |
--- /dev/null |
31 |
+++ b/sci-physics/lhapdf/lhapdf-6.5.3.ebuild |
32 |
@@ -0,0 +1,63 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..11} ) |
39 |
+DOCS_BUILDER="doxygen" |
40 |
+DOCS_DEPEND=" |
41 |
+ dev-texlive/texlive-bibtexextra |
42 |
+ dev-texlive/texlive-fontsextra |
43 |
+ dev-texlive/texlive-fontutils |
44 |
+ dev-texlive/texlive-latex |
45 |
+ dev-texlive/texlive-latexextra |
46 |
+" |
47 |
+inherit python-single-r1 docs |
48 |
+ |
49 |
+MY_PV=$(ver_cut 1-3) |
50 |
+MY_PF=LHAPDF-${MY_PV} |
51 |
+ |
52 |
+DESCRIPTION="Les Houches Parton Density Function unified library" |
53 |
+HOMEPAGE="https://lhapdf.hepforge.org/" |
54 |
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz" |
55 |
+S="${WORKDIR}/${MY_PF}" |
56 |
+ |
57 |
+LICENSE="GPL-2" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64" |
60 |
+IUSE="examples" |
61 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ dev-libs/boost:= |
65 |
+ ${PYTHON_DEPS}" |
66 |
+DEPEND="${RDEPEND}" |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}"/${PN}-6.5.2-py.patch |
70 |
+) |
71 |
+ |
72 |
+src_configure() { |
73 |
+ CONFIG_SHELL="${EPREFIX}/bin/bash" \ |
74 |
+ econf \ |
75 |
+ --disable-static \ |
76 |
+ --enable-python |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ emake all $(use doc && echo doxy) |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ emake -C tests |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ default |
89 |
+ use doc && dodoc -r doc/doxygen/. |
90 |
+ use examples && dodoc examples/*.cc |
91 |
+ |
92 |
+ python_optimize |
93 |
+ |
94 |
+ find "${ED}" -name '*.la' -delete || die |
95 |
+} |