1 |
commit: cbdc793bcad6a2a5899c108ba53a9e758c273763 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 31 20:57:57 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 20:57:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbdc793b |
7 |
|
8 |
sci-physics/lhapdf: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sci-physics/lhapdf/Manifest | 1 - |
13 |
sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 79 ---------------------------------- |
14 |
2 files changed, 80 deletions(-) |
15 |
|
16 |
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest |
17 |
index c992963b79a..8ec59baa9c1 100644 |
18 |
--- a/sci-physics/lhapdf/Manifest |
19 |
+++ b/sci-physics/lhapdf/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST LHAPDF-6.2.3.tar.gz 750659 BLAKE2B a16f67c69f41e96cdb5434cc53658c6b085b94c9ad06443fdfb49aa1de50eeb2a59aa41442a032c29b361bad4f749cef42499f3d16f2774efb0b399f889576e4 SHA512 167064a141f46e5c834d950690a989330b940acec62377b8b4c40e14665503cf7b4ddb79e05c71ebe1f801231192d951e294bec3944ec37b2bca484b2e5ce894 |
22 |
DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9 SHA512 4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b |
23 |
|
24 |
diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild |
25 |
deleted file mode 100644 |
26 |
index 03e30f85b39..00000000000 |
27 |
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,79 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_7 ) |
36 |
- |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-MY_PV=$(ver_cut 1-3) |
40 |
-MY_PF=LHAPDF-${MY_PV} |
41 |
- |
42 |
-DESCRIPTION="Les Houches Parton Density Function unified library" |
43 |
-HOMEPAGE="http://lhapdf.hepforge.org/" |
44 |
-SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz" |
45 |
- |
46 |
-LICENSE="GPL-2" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
49 |
-IUSE="doc examples python" |
50 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- dev-libs/boost:0= |
54 |
- python? ( ${PYTHON_DEPS} )" |
55 |
-DEPEND="${RDEPEND}" |
56 |
-BDEPEND=" |
57 |
- doc? ( |
58 |
- app-doc/doxygen |
59 |
- dev-texlive/texlive-bibtexextra |
60 |
- dev-texlive/texlive-fontsextra |
61 |
- dev-texlive/texlive-fontutils |
62 |
- dev-texlive/texlive-latex |
63 |
- dev-texlive/texlive-latexextra |
64 |
- )" |
65 |
- |
66 |
-S="${WORKDIR}/${MY_PF}" |
67 |
- |
68 |
-src_configure() { |
69 |
- CONFIG_SHELL="${EPREFIX}/bin/bash" \ |
70 |
- econf \ |
71 |
- --disable-static \ |
72 |
- $(use_enable python) |
73 |
- |
74 |
- if use python; then |
75 |
- cd "${S}/wrappers/python" && distutils-r1_src_prepare |
76 |
- fi |
77 |
-} |
78 |
- |
79 |
-src_compile() { |
80 |
- emake all $(use doc && echo doxy) |
81 |
- |
82 |
- if use python; then |
83 |
- cd "${S}/wrappers/python" && distutils-r1_src_compile |
84 |
- fi |
85 |
-} |
86 |
- |
87 |
-src_test() { |
88 |
- emake -C tests |
89 |
-} |
90 |
- |
91 |
-src_install() { |
92 |
- emake DESTDIR="${D}" install |
93 |
- use doc && dodoc -r doc/doxygen/* |
94 |
- if use examples; then |
95 |
- insinto /usr/share/doc/${PF}/examples |
96 |
- doins examples/*.cc |
97 |
- fi |
98 |
- if use python; then |
99 |
- cd "${S}/wrappers/python" && distutils-r1_src_install |
100 |
- fi |
101 |
- find "${ED}" -name '*.la' -delete || die |
102 |
-} |
103 |
- |
104 |
-pkg_postinst() { |
105 |
- elog "Download data files from:" |
106 |
- elog "http://www.hepforge.org/archive/${PN}/pdfsets/$(ver_cut 1-2)" |
107 |
- elog "and untar them into ${EPREFIX}/usr/share/LHAPDF" |
108 |
-} |