From 9fb8bd45513d52d1a2e2afcad2c8992da61288b1 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 12 May 2021 13:00:17 +0200 Subject: sci-physics/fastjet: Update LICENSE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This appears to be licensed under GPL-2+, not QPL. Bug: https://bugs.gentoo.org/789666 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ulrich Müller --- sci-physics/fastjet/fastjet-3.0.6-r1.ebuild | 66 ----------------------------- sci-physics/fastjet/fastjet-3.0.6-r2.ebuild | 66 +++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 sci-physics/fastjet/fastjet-3.0.6-r1.ebuild create mode 100644 sci-physics/fastjet/fastjet-3.0.6-r2.ebuild diff --git a/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild b/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild deleted file mode 100644 index b5cfe12ace33..000000000000 --- a/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED=plugins - -inherit autotools flag-o-matic fortran-2 - -DESCRIPTION="Fast implementation of several recombination jet algorithms" -HOMEPAGE="http://www.fastjet.fr/" -SRC_URI="http://www.fastjet.fr/repo/${P}.tar.gz" - -LICENSE="GPL-2 QPL" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="cgal doc examples +plugins" - -RDEPEND=" - cgal? ( sci-mathematics/cgal:= ) - plugins? ( sci-physics/siscone:= )" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( app-doc/doxygen[dot] )" - -PATCHES=( "${FILESDIR}"/${P}-system-siscone.patch ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - use cgal && \ - has_version 'sci-mathematics/cgal[gmp]' && append-libs -lgmp - - econf \ - --disable-static \ - $(use_enable cgal) \ - $(use_enable plugins allplugins) \ - $(use_enable plugins allcxxplugins) -} - -src_compile() { - default - - if use doc; then - doxygen Doxyfile || die - HTML_DOCS=( html/. ) - fi -} - -src_install() { - default - - if use examples; then - emake -C example maintainer-clean - find example -iname 'makefile*' -delete || die - - docinto examples - dodoc -r example/. - docompress -x /usr/share/doc/${PF}/examples - fi - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-physics/fastjet/fastjet-3.0.6-r2.ebuild b/sci-physics/fastjet/fastjet-3.0.6-r2.ebuild new file mode 100644 index 000000000000..c6472206f843 --- /dev/null +++ b/sci-physics/fastjet/fastjet-3.0.6-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +FORTRAN_NEEDED=plugins + +inherit autotools flag-o-matic fortran-2 + +DESCRIPTION="Fast implementation of several recombination jet algorithms" +HOMEPAGE="http://www.fastjet.fr/" +SRC_URI="http://www.fastjet.fr/repo/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cgal doc examples +plugins" + +RDEPEND=" + cgal? ( sci-mathematics/cgal:= ) + plugins? ( sci-physics/siscone:= )" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-doc/doxygen[dot] )" + +PATCHES=( "${FILESDIR}"/${P}-system-siscone.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + use cgal && \ + has_version 'sci-mathematics/cgal[gmp]' && append-libs -lgmp + + econf \ + --disable-static \ + $(use_enable cgal) \ + $(use_enable plugins allplugins) \ + $(use_enable plugins allcxxplugins) +} + +src_compile() { + default + + if use doc; then + doxygen Doxyfile || die + HTML_DOCS=( html/. ) + fi +} + +src_install() { + default + + if use examples; then + emake -C example maintainer-clean + find example -iname 'makefile*' -delete || die + + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3-65-gdbad