summaryrefslogtreecommitdiff
path: root/sci-physics/lhapdf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sci-physics/lhapdf
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-physics/lhapdf')
-rw-r--r--sci-physics/lhapdf/Manifest2
-rw-r--r--sci-physics/lhapdf/lhapdf-6.2.3.ebuild21
2 files changed, 13 insertions, 10 deletions
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 61a1f0cdc80f..843795f455be 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,3 +1,3 @@
DIST LHAPDF-6.2.3.tar.gz 750659 BLAKE2B a16f67c69f41e96cdb5434cc53658c6b085b94c9ad06443fdfb49aa1de50eeb2a59aa41442a032c29b361bad4f749cef42499f3d16f2774efb0b399f889576e4 SHA512 167064a141f46e5c834d950690a989330b940acec62377b8b4c40e14665503cf7b4ddb79e05c71ebe1f801231192d951e294bec3944ec37b2bca484b2e5ce894
-EBUILD lhapdf-6.2.3.ebuild 1603 BLAKE2B a10b72c02b6f9ea491908d1520bebdf4a6073c7ed61c64e8379e1db7e042a42e00317060e70fbf7e529cb9c48374022eb15786fbd06a80124a055fdab7d1d701 SHA512 f9be54595fe9e98fcc2bcef349edf651e40b30f8ab6d0dce0422747a0154e77bcfe619619e10a8506a801936744268c64eea6d57db91c54f309262f7ab0ed127
+EBUILD lhapdf-6.2.3.ebuild 1635 BLAKE2B 2cfce80f7f3727dd8fc124add0e278153c81a1a1f524bda1f6cd41dd4cbc1848d566e52f1fd9b3195f246653d66d5d9a7b144b3bf7fb2d0c0d9988ebfa84dd8d SHA512 1f3a4462298cd4f8b7cf0577a69c094b557d301a50bd5b9d7a66524d03772d7f27f0e2e3b26972b5c7f6e9d42273ebd14aab069c3f7cbae308915ef85dd9a3e0
MISC metadata.xml 996 BLAKE2B 97df1e778a0e4fdd20faeffcc992c5c76d203c35f9916a15c823bd10d8914cea7b2b6c7b58cca1e6af50ff4a134db8c5cf40db345520cd6f4d16a58d02fda822 SHA512 0c5f089f8428dfbf3e6151f2d9052409dbf7dc64af40fe28664df3e6ba014c8ec4c3e6ae2958c0f0b13ee7edc59f038dab14272622119cc5cb5d6f7fc43637cc
diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index 4b3de592bb3f..602bad369360 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -3,8 +3,7 @@
EAPI=7
-AUTOTOOLS_IN_SOURCE_BUILD=yes
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@@ -18,14 +17,14 @@ SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-
-IUSE="doc examples python static-libs"
+IUSE="doc examples python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
dev-libs/boost:0=
python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
doc? (
app-doc/doxygen
dev-texlive/texlive-bibtexextra
@@ -33,13 +32,15 @@ DEPEND="${RDEPEND}
dev-texlive/texlive-fontutils
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
- )
-"
+ )"
S="${WORKDIR}/${MY_PF}"
src_configure() {
- econf $(use_enable python)
+ econf \
+ --disable-static \
+ $(use_enable python)
+
if use python; then
cd "${S}/wrappers/python" && distutils-r1_src_prepare
fi
@@ -47,6 +48,7 @@ src_configure() {
src_compile() {
emake all $(use doc && echo doxy)
+
if use python; then
cd "${S}/wrappers/python" && distutils-r1_src_compile
fi
@@ -64,8 +66,9 @@ src_install() {
doins examples/*.cc
fi
if use python; then
- cd "${S}/wrappers/python" && distutils-r1_src_install
+ cd "${S}/wrappers/python" && distutils-r1_src_install
fi
+ find "${ED}" -name '*.la' -delete || die
}
pkg_postinst() {