commit: 8b95f55142bb7614a54052612f65c9109c9c76b7 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Mon May 12 12:00:07 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Sat May 17 11:02:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b95f551
sci-physics/lhapdf: use_enable doxygen Closes: https://bugs.gentoo.org/856799 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Part-of: https://github.com/gentoo/gentoo/pull/42051 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> .../{lhapdf-9999.ebuild => lhapdf-6.5.5-r1.ebuild} | 16 +++++----------- sci-physics/lhapdf/lhapdf-9999.ebuild | 6 +++--- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/sci-physics/lhapdf/lhapdf-9999.ebuild b/sci-physics/lhapdf/lhapdf-6.5.5-r1.ebuild similarity index 84% copy from sci-physics/lhapdf/lhapdf-9999.ebuild copy to sci-physics/lhapdf/lhapdf-6.5.5-r1.ebuild index c0934bb24f79..ef997a9335fb 100644 --- a/sci-physics/lhapdf/lhapdf-9999.ebuild +++ b/sci-physics/lhapdf/lhapdf-6.5.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ DOCS_DEPEND=" dev-texlive/texlive-latex dev-texlive/texlive-latexextra " -inherit python-single-r1 docs autotools +inherit python-single-r1 docs MY_PV=$(ver_cut 1-3) MY_PF=LHAPDF-${MY_PV} @@ -51,22 +51,17 @@ pkg_setup() { use python && python-single-r1_pkg_setup } -src_prepare() { - default - # live git does not have a configure script - eautoreconf -} - src_configure() { local -x CONFIG_SHELL="${EPREFIX}/bin/bash" econf \ --disable-static \ --with-yaml-cpp="${EPREFIX}/usr" \ - $(use_enable python) + $(use_enable python) \ + $(use_enable doc doxygen) } src_compile() { - emake all $(use doc && echo doxy) + emake all } src_test() { @@ -75,7 +70,6 @@ src_test() { src_install() { default - use doc && dodoc -r doc/doxygen/. use examples && dodoc examples/*.cc use python && python_optimize diff --git a/sci-physics/lhapdf/lhapdf-9999.ebuild b/sci-physics/lhapdf/lhapdf-9999.ebuild index c0934bb24f79..a4f6e47e6eef 100644 --- a/sci-physics/lhapdf/lhapdf-9999.ebuild +++ b/sci-physics/lhapdf/lhapdf-9999.ebuild @@ -62,11 +62,12 @@ src_configure() { econf \ --disable-static \ --with-yaml-cpp="${EPREFIX}/usr" \ - $(use_enable python) + $(use_enable python) \ + $(use_enable doc doxygen) } src_compile() { - emake all $(use doc && echo doxy) + emake all } src_test() { @@ -75,7 +76,6 @@ src_test() { src_install() { default - use doc && dodoc -r doc/doxygen/. use examples && dodoc examples/*.cc use python && python_optimize
