From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE74C158094 for ; Wed, 6 Jul 2022 12:56:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABBBEE0CEA; Wed, 6 Jul 2022 12:56:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 762D2E0CEA for ; Wed, 6 Jul 2022 12:56:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 700153414C6 for ; Wed, 6 Jul 2022 12:56:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0B374F7 for ; Wed, 6 Jul 2022 12:56:36 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1657112189.3afdcbcc899a99d8bbec5bf8eef5199c022e5ea5.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/lhapdf/Manifest sci-physics/lhapdf/lhapdf-6.5.1.ebuild X-VCS-Directories: sci-physics/lhapdf/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 3afdcbcc899a99d8bbec5bf8eef5199c022e5ea5 X-VCS-Branch: master Date: Wed, 6 Jul 2022 12:56:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0dbec19d-332b-4f42-803a-435c96e6c415 X-Archives-Hash: a36851f23a8e37f1216452f71d3765ca commit: 3afdcbcc899a99d8bbec5bf8eef5199c022e5ea5 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Jul 6 12:52:23 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Jul 6 12:56:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3afdcbcc sci-physics/lhapdf: add 6.5.1 Python bindings can't properly be disabled, so enable python unconditionally otherwise it is automagic. Does not currently compile with python3_10+ Bug: https://bugs.gentoo.org/846290 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-physics/lhapdf/Manifest | 1 + sci-physics/lhapdf/lhapdf-6.5.1.ebuild | 57 ++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest index 8ec59baa9c17..0686619035e9 100644 --- a/sci-physics/lhapdf/Manifest +++ b/sci-physics/lhapdf/Manifest @@ -1 +1,2 @@ DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9 SHA512 4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b +DIST LHAPDF-6.5.1.tar.gz 843942 BLAKE2B 4b86b2b3c32d8c02839946aee831d57657eccc7c80efaa49af9052f8437d1ae86b95a6acc5120e3337d528a184d8af5b4dde75a23ac6deeb85ed0d745f73647b SHA512 eeca814a60d7ae03491e82991f328bc4216d46ad94834ce19fb813e59f2d6e9bb7450678c8f6cdf1aaa3d700e56ef8dfc1363e46120893fa8be4d451c37603d2 diff --git a/sci-physics/lhapdf/lhapdf-6.5.1.ebuild b/sci-physics/lhapdf/lhapdf-6.5.1.ebuild new file mode 100644 index 000000000000..fd63f215565d --- /dev/null +++ b/sci-physics/lhapdf/lhapdf-6.5.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_9 ) +DOCS_BUILDER="doxygen" +DOCS_DEPEND=" + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra +" +inherit python-single-r1 docs + +MY_PV=$(ver_cut 1-3) +MY_PF=LHAPDF-${MY_PV} + +DESCRIPTION="Les Houches Parton Density Function unified library" +HOMEPAGE="https://lhapdf.hepforge.org/" +SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz" +S="${WORKDIR}/${MY_PF}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + dev-libs/boost:0= + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +src_configure() { + CONFIG_SHELL="${EPREFIX}/bin/bash" \ + econf \ + --disable-static \ + --enable-python +} + +src_compile() { + emake all $(use doc && echo doxy) +} + +src_test() { + emake -C tests +} + +src_install() { + default + use doc && dodoc -r doc/doxygen/. + use examples && dodoc examples/*.cc + + find "${ED}" -name '*.la' -delete || die +}