public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergey Torokhov" <torokhov-s-a@yandex.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/fortran-stdlib/
Date: Mon, 11 Oct 2021 19:04:18 +0000 (UTC)	[thread overview]
Message-ID: <1633979026.dffba6f8d1c24e0104a0163aa3d789d4324aef6e.SergeyTorokhov@gentoo> (raw)

commit:     dffba6f8d1c24e0104a0163aa3d789d4324aef6e
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Mon Oct 11 19:03:46 2021 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Mon Oct 11 19:03:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dffba6f8

dev-libs/fortran-stdlib: 0.1.0 first release

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/fortran-stdlib/Manifest                   |  1 +
 .../fortran-stdlib/fortran-stdlib-0.1.0.ebuild     | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-libs/fortran-stdlib/Manifest b/dev-libs/fortran-stdlib/Manifest
new file mode 100644
index 000000000..894525cf9
--- /dev/null
+++ b/dev-libs/fortran-stdlib/Manifest
@@ -0,0 +1 @@
+DIST fortran-stdlib-0.1.0.tar.gz 210357 BLAKE2B 0727c0d280bb4c95383d9436245b82a43ed7aa0f762652d010501960d25a752694e8a12de149d80d1e107f3c6252d7af4f2db7ae64be6df58c4110dd929c0318 SHA512 247ad9e3db46847bbb5565aee995242f1c86ad3f623e9b91ca8505a92d6c27984a12fe32d4f3025e662176a025f72ddadc2d87ba646ab6b46ccc88e13f94f387

diff --git a/dev-libs/fortran-stdlib/fortran-stdlib-0.1.0.ebuild b/dev-libs/fortran-stdlib/fortran-stdlib-0.1.0.ebuild
new file mode 100644
index 000000000..4d456d1b5
--- /dev/null
+++ b/dev-libs/fortran-stdlib/fortran-stdlib-0.1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+FORTRAN_STANDARD="2003"
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit cmake fortran-2 python-any-r1 toolchain-funcs
+
+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}]
+		')
+	)
+"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+}
+
+src_configure() {
+	local mycmakeargs+=(
+		-DBUILD_SHARED_LIBS=on
+	)
+	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_install() {
+	cmake_src_install
+
+	use doc && HTML_DOCS=( "${WORKDIR}/${MY_PN}-${PV}"/API-doc/. )
+	einstalldocs
+}


             reply	other threads:[~2021-10-11 19:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11 19:04 Sergey Torokhov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-20 19:28 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/fortran-stdlib/ Sergey Torokhov
2025-10-20 19:28 Sergey Torokhov
2025-04-15 16:37 Sergey Torokhov
2025-04-13 16:16 Sergey Torokhov
2025-04-13 16:16 Sergey Torokhov
2024-08-10 21:22 Sergey Torokhov
2024-05-13 20:58 Sergey Torokhov
2024-04-23 20:35 Sergey Torokhov
2024-04-23 20:35 Sergey Torokhov
2024-04-23 20:35 Sergey Torokhov
2024-01-21 20:32 Sergey Torokhov
2024-01-21 20:32 Sergey Torokhov
2023-08-18 22:59 Sergey Torokhov
2023-07-09  2:00 Anna Vyalkova
2023-03-08 19:40 Anna Vyalkova
2023-02-01 23:01 Sergey Torokhov
2023-01-19  0:20 Sergey Torokhov
2022-11-24 12:29 Sergey Torokhov
2022-10-28 22:24 Sergey Torokhov
2022-04-29 18:45 Sergey Torokhov
2022-03-23  0:03 Sergey Torokhov
2021-12-15 10:57 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-12-15 10:57 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-09-15 22:40 Sergey Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1633979026.dffba6f8d1c24e0104a0163aa3d789d4324aef6e.SergeyTorokhov@gentoo \
    --to=torokhov-s-a@yandex.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox