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 25F50158090 for ; Mon, 2 May 2022 07:17:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BD1DE0AAC; Mon, 2 May 2022 07:17:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BAC70E0AAC for ; Mon, 2 May 2022 07:17:22 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E09783415E5 for ; Mon, 2 May 2022 07:17:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5925A445 for ; Mon, 2 May 2022 07:17:20 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1651257868.67e32e8426bddb647fa01fa915df1d1ba0ae2752.flow@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.2.1.ebuild X-VCS-Directories: dev-libs/fortran-stdlib/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 67e32e8426bddb647fa01fa915df1d1ba0ae2752 X-VCS-Branch: master Date: Mon, 2 May 2022 07:17:20 +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: 2754ed5d-a848-4d5e-b66b-e5ea28afa7a0 X-Archives-Hash: 92f5351234027425005d41a76d3e61f2 commit: 67e32e8426bddb647fa01fa915df1d1ba0ae2752 Author: Sergey Torokhov yandex ru> AuthorDate: Fri Apr 29 18:44:28 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri Apr 29 18:44:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67e32e84 dev-libs/fortran-stdlib: 0.2.1 version bump Signed-off-by: Sergey Torokhov yandex.ru> dev-libs/fortran-stdlib/Manifest | 1 + .../fortran-stdlib/fortran-stdlib-0.2.1.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-libs/fortran-stdlib/Manifest b/dev-libs/fortran-stdlib/Manifest index cfdd66808..122c39386 100644 --- a/dev-libs/fortran-stdlib/Manifest +++ b/dev-libs/fortran-stdlib/Manifest @@ -1,2 +1,3 @@ DIST fortran-stdlib-0.1.0.tar.gz 210357 BLAKE2B 0727c0d280bb4c95383d9436245b82a43ed7aa0f762652d010501960d25a752694e8a12de149d80d1e107f3c6252d7af4f2db7ae64be6df58c4110dd929c0318 SHA512 247ad9e3db46847bbb5565aee995242f1c86ad3f623e9b91ca8505a92d6c27984a12fe32d4f3025e662176a025f72ddadc2d87ba646ab6b46ccc88e13f94f387 DIST fortran-stdlib-0.2.0.tar.gz 323170 BLAKE2B b81c04a52fc466fe87668a1280fda0a3305e85fe90c8db07d7a8271804d775d07dc1e16278d87abc8c63990c825dbf2ae7ae9dd142ba8c2edf4fb32609471188 SHA512 aadf5e1fa96a95143fec9f7778c37d82c515d7db9afb723d02685a3f751428f82121d57529caaba79b5d6aab92af7790616640a09128ec5f3cf57528d68975ed +DIST fortran-stdlib-0.2.1.tar.gz 323480 BLAKE2B d6d54e38fd8c970168144b011b0df8c800339f7649f09581401351e508ad98dd562bf6ea68595188b5b854973f8552ce7fb4ae9c4aa7491090927a21b4e8a714 SHA512 74eba6d0507a176af9dd6e035dc37844c5b7ae0181527e69de8eedf38f90260121c7814e3ffe34845059f91632edd08227c5dd326a45949ac57659249c3296fd diff --git a/dev-libs/fortran-stdlib/fortran-stdlib-0.2.1.ebuild b/dev-libs/fortran-stdlib/fortran-stdlib-0.2.1.ebuild new file mode 100644 index 000000000..2e29c3a45 --- /dev/null +++ b/dev-libs/fortran-stdlib/fortran-stdlib-0.2.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_STANDARD="2003" +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake fortran-2 python-any-r1 + +MY_PN="stdlib" +SRC_URI="https://github.com/fortran-lang/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="A community driven standard library for (modern) Fortran" +HOMEPAGE="https://stdlib.fortran-lang.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="mirror !test? ( test )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-util/fypp[${PYTHON_USEDEP}] + ') + doc? ( + $(python_gen_any_dep ' + app-doc/ford[${PYTHON_USEDEP}] + ') + ) + test? ( dev-util/fortran-test-drive ) +" + +pkg_setup() { + fortran-2_pkg_setup +} + +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:" + ${EPYTHON} 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 +}