diff --git a/sci-libs/libecpint/Manifest b/sci-libs/libecpint/Manifest index 6c175d79bd310..e7213a3639749 100644 --- a/sci-libs/libecpint/Manifest +++ b/sci-libs/libecpint/Manifest @@ -1 +1,2 @@ DIST libecpint-1.0.6.tar.gz 1331016 BLAKE2B 9b1a8452b6810eaca17eb9e6efe876537ae32e980593ec89681fa4b2d6eaf5a908d5971c774eccd75858025599eeeb119a74b03fdbf7bcee644316dc6acad0d9 SHA512 8b0bf20d263891255ea8828cb9df7c919155ef461a66ae6c8979e9996e3392ea1b7adf21ef9ad9188e2f56547c1e2b525c3711f7cd1ace2b3c09b8ae38f75ee8 +DIST libecpint-1.0.7.tar.gz 1331899 BLAKE2B 139b89e61cc90ae92b88e04ae4326354fb15388367a7edd12df0ce157337011d73921ba79cd9ce6abf2f0a5c082ec3935d1643391e22743cc753a1f34d027110 SHA512 39aae264cbd9861f2769798d396e468cb696ce28c1b6d538a76db070bc85c11dc46a4e11ea7db7bd0319501bbbd02533ccb98d03dac13d1fe1675112c2d7d24c diff --git a/sci-libs/libecpint/libecpint-1.0.7.ebuild b/sci-libs/libecpint/libecpint-1.0.7.ebuild new file mode 100644 index 0000000000000..b3a22efaa52b0 --- /dev/null +++ b/sci-libs/libecpint/libecpint-1.0.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Efficient evaluation of integrals over ab initio effective core potentials" +HOMEPAGE="https://github.com/robashaw/libecpint" +SRC_URI="https://github.com/robashaw/libecpint/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-libs/pugixml" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest )" + +src_prepare() { + cmake_src_prepare + + find . -name CMakeLists.txt -exec \ + sed -i -e 's/CXX_STANDARD 11/CXX_STANDARD 17/g' {} \; || die +} + +src_configure() { + local mycmakeargs=( + -DLIBECPINT_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +}