From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id EEE531584AD for ; Tue, 29 Apr 2025 19:16:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D6700342FE4 for ; Tue, 29 Apr 2025 19:16:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8A9A61103AD; Tue, 29 Apr 2025 19:16:27 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 818CE1103AD for ; Tue, 29 Apr 2025 19:16:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18D17340C15 for ; Tue, 29 Apr 2025 19:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7757F2668 for ; Tue, 29 Apr 2025 19:16:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1745953641.1f50e111b6c3d97ffcc264247341b5e30b50419d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libint/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/libint/Manifest sci-libs/libint/libint-2.11.0.ebuild X-VCS-Directories: sci-libs/libint/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1f50e111b6c3d97ffcc264247341b5e30b50419d X-VCS-Branch: master Date: Tue, 29 Apr 2025 19:16:25 +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: cf1f2c58-71be-4148-9521-14f5d4fbc160 X-Archives-Hash: e81e3bdc689605128b374488a1e2c07a commit: 1f50e111b6c3d97ffcc264247341b5e30b50419d Author: Alfred Wingate protonmail com> AuthorDate: Mon Apr 28 16:00:29 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 29 19:07:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f50e111 sci-libs/libint: add 2.11.0 Signed-off-by: Alfred Wingate protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41836 Closes: https://github.com/gentoo/gentoo/pull/41836 Signed-off-by: Sam James gentoo.org> sci-libs/libint/Manifest | 1 + sci-libs/libint/libint-2.11.0.ebuild | 78 ++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest index 2e220725aef7..5c42e92a40f2 100644 --- a/sci-libs/libint/Manifest +++ b/sci-libs/libint/Manifest @@ -1,2 +1,3 @@ DIST libint-1.1.6.tar.gz 256404 BLAKE2B c754e25f0c3bc6c52eb434beafd2cb794a2e715003ee9409d76e8ae06e0ce19a42a9331ad4db9be2745d6820e7248210d10b4c004146e99192fd16fd2c31966d SHA512 cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7 +DIST libint-2.11.0.tar.gz 21958050 BLAKE2B 44f4317a258d4133e3045b036446644bbfb08f15d263b1dc049b37e14cc10608a9834f90154e257b16af29569e34e5b2bdff591530777bd4d7e05d22a52f7f18 SHA512 00e3c9b3938aaf7c0b463686f2bf245f0ebefabdab84e3b898a29a87420ca4d461769558e30ff9cf84e6c2c588a3910fcec1ded353f5c62f9ecaf4ee637b6e32 DIST libint-2.9.0.tar.gz 21705777 BLAKE2B b2e8f36356f6eb8eff1207ba47c0f3bcc4471bd918cf933d03a1dd97efddd72d65464af743815d8bb633567ba97b19b8629881a5115b14f1630df1be7e6d0304 SHA512 6cffbd3d78dee4722b8085f4dd93085351cb610b5cb7ac090335adb2c43e87256ca06a658c202473fd763a38f7c0eeb6570b2c6a107e3f41d1258baf6e5b17de diff --git a/sci-libs/libint/libint-2.11.0.ebuild b/sci-libs/libint/libint-2.11.0.ebuild new file mode 100644 index 000000000000..35faa80ff04a --- /dev/null +++ b/sci-libs/libint/libint-2.11.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic fortran-2 toolchain-funcs + +DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions" +HOMEPAGE="https://github.com/evaleev/libint" +SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs doc" + +DEPEND=" + dev-libs/boost + dev-libs/gmp[cxx(+)] + doc? ( + dev-texlive/texlive-latex + dev-tex/latex2html + ) +" + +PATCHES=( + "${FILESDIR}"/libint-2.9.0-gcc15-include.patch +) + +src_prepare() { + default + eautoreconf + + # bug 725454 + sed -i -e '/RANLIB/d' src/bin/libint/Makefile || die +} + +src_configure() { + # bug #862894 + append-flags -fno-strict-aliasing + filter-lto + + econf \ + --with-cxx="$(tc-getCXX)" \ + --with-cxx-optflags="${CXXFLAGS}" \ + --with-cxxgen-optflags="${CXXFLAGS}" \ + --with-cxxdepend="$(tc-getCXX)" \ + --with-ranlib="$(tc-getRANLIB)" \ + --with-ar="$(tc-getAR)" \ + --with-ld="$(tc-getLD)" \ + --enable-eri=2 --enable-eri3=2 --enable-eri2=2 \ + --with-eri-max-am=7,5,4 --with-eri-opt-am=3 \ + --with-eri3-max-am=7 --with-eri2-max-am=7 \ + --with-g12-max-am=5 --with-g12-opt-am=3 \ + --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \ + --enable-contracted-ints \ + --enable-shared \ + $(use_enable static-libs static) +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" + + use doc && emake html pdf +} + +src_install() { + default + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die "Failed to remove .la files" + fi + + if use doc; then + DOCS=( doc/progman/progman.pdf ) + HTML_DOCS=( doc/progman/progman/*.{html,png,css} ) + einstalldocs + fi +}