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 BE645159C9B for ; Tue, 13 Aug 2024 00:32:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05E6BE2A34; Tue, 13 Aug 2024 00:32:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id E2FD3E2A34 for ; Tue, 13 Aug 2024 00:32:15 +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 AA7E234302B for ; Tue, 13 Aug 2024 00:32:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04E251ECF for ; Tue, 13 Aug 2024 00:32:13 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1723324938.1846681676ffdbfc2e6b3c11227cf34fd2004eef.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/fortran-stdlib/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/fortran-stdlib/Manifest dev-libs/fortran-stdlib/fortran-stdlib-0.7.0.ebuild X-VCS-Directories: dev-libs/fortran-stdlib/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: 1846681676ffdbfc2e6b3c11227cf34fd2004eef X-VCS-Branch: master Date: Tue, 13 Aug 2024 00:32:13 +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: e9505989-9b77-4846-89ca-3e8e31984855 X-Archives-Hash: 3e720eedbd011b113c56bd278ca1e7d1 commit: 1846681676ffdbfc2e6b3c11227cf34fd2004eef Author: Sergey Torokhov yandex ru> AuthorDate: Sat Aug 10 21:22:18 2024 +0000 Commit: Lucio Sauer posteo net> CommitDate: Sat Aug 10 21:22:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18466816 dev-libs/fortran-stdlib: 0.7.0 version bump Signed-off-by: Sergey Torokhov yandex.ru> dev-libs/fortran-stdlib/Manifest | 1 + .../fortran-stdlib/fortran-stdlib-0.7.0.ebuild | 80 ++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/dev-libs/fortran-stdlib/Manifest b/dev-libs/fortran-stdlib/Manifest index e3fbe86e8..2a4d83594 100644 --- a/dev-libs/fortran-stdlib/Manifest +++ b/dev-libs/fortran-stdlib/Manifest @@ -3,3 +3,4 @@ DIST fortran-stdlib-0.3.0.tar.gz 387442 BLAKE2B 8e1dae71a7de763452ac149a21eff0bb DIST fortran-stdlib-0.4.0.tar.gz 397196 BLAKE2B 966d791216cf8df9ba388d1fee80acfceb42914617bd16e4da5a4d7de252089175bcc7e4b4369e6d6f9827dda6c3850936ae941d0be85f0bf76df04d21270bb4 SHA512 bab8f462b73dd69f639359751fae89baf6676cf071cd68d53245c5ddc287402237686413b6f772555413437899b6d87453547b9ef32c7deca30abfae09ef0459 DIST fortran-stdlib-0.5.0.tar.gz 3618660 BLAKE2B bdba8344ee3daf2e5eb5e055497b394abc9bd9322b2a09ea2d7aef477266f24c48a419c517f21b6c0cd2e8cb4c7360b2216dd9663c150ada74934978c003f6ba SHA512 e89f6c2018541354cc97b911e0af86b16384b5e121a0e1c3460c5eefc685780d1159762a4820418cefce69987f787a4e77e9965d347d5f0d9b2441f135baabd2 DIST fortran-stdlib-0.6.1.tar.gz 3634792 BLAKE2B 935100ddc124a2ace1a37ae3083b715ed0b603e9b1fe234b566d38dd44a8e9fa2098f51c0b3a28056a9e3f10e7c2aa5d3a126512e3fba3dcefe885ffbc27729e SHA512 5b32b0881e714e9f184827a977f2a9e204be9de06c086896fdcdc4f4a912fd5c102e6ee269cca1b0aaeca59b0a4dfa43f4d5901f0fda2f2556b4bf8d94999995 +DIST fortran-stdlib-0.7.0.tar.gz 3669255 BLAKE2B 7a93d6d1f46f76c40c3325855e191fff6a1e3a2736ccb68866c1091160e3abeb4c5d272ac97220efc66d2dcb829c355fb7c3798e076ee6c06842fc1e912731bb SHA512 b8865c617b63e0eb38cf1eb83b05c5edd7f376100e654d7adc04097ea920f7d08aaf0825a789e0bc9c6056d19fdd096872146d20c7152c43d3ed9d9aae6df74b diff --git a/dev-libs/fortran-stdlib/fortran-stdlib-0.7.0.ebuild b/dev-libs/fortran-stdlib/fortran-stdlib-0.7.0.ebuild new file mode 100644 index 000000000..a08a118a5 --- /dev/null +++ b/dev-libs/fortran-stdlib/fortran-stdlib-0.7.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_STANDARD="2003" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake fortran-2 python-any-r1 + +MY_PN="stdlib" + +DESCRIPTION="A community driven standard library for (modern) Fortran" +HOMEPAGE="https://stdlib.fortran-lang.org/" +SRC_URI="https://github.com/fortran-lang/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" +RESTRICT="mirror !test? ( test )" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-build/fypp[${PYTHON_USEDEP}] + ') + doc? ( + $(python_gen_any_dep ' + app-text/ford[${PYTHON_USEDEP}] + ') + ) + test? ( dev-util/fortran-test-drive ) +" + +pkg_setup() { + fortran-2_pkg_setup +} + +src_prepare() { + default + + # Remove Fortran compiler version from paths + sed -i -e "s:/\${CMAKE_Fortran_COMPILER_ID}-\${CMAKE_Fortran_COMPILER_VERSION}::" config/CMakeLists.txt || die + + # Use favicon.png instead remote icon + sed -i -e 's#https://fortran-lang.org/assets/img/fortran_logo_512x512.png#favicon.png#' API-doc-FORD-file.md || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs+=( + -DBUILD_SHARED_LIBS=on + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + if use doc ; then + einfo "Build API documentation:" + ford API-doc-FORD-file.md || die + fi +} + +src_test() { + LD_LIBRARY_PATH="${BUILD_DIR}/src:${BUILD_DIR}/src/tests/hash_functions" cmake_src_test +} + +src_install() { + cmake_src_install + + use doc && HTML_DOCS=( "${WORKDIR}/${MY_PN}-${PV}"/API-doc/. ) + einstalldocs +}