dev-libs/toml-f - 0.4.1 (guru)

Search

Install

Install this version:

emerge -a =dev-libs/toml-f-0.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/toml-f-0.4.1

Or alternatively:

emerge --autounmask-write -a =dev-libs/toml-f-0.4.1

Package Information

Description:
TOML parser implementation for data serialization and deserialization in Fortran
Homepage:
https://toml-f.readthedocs.io
License:
Apache-2.0 MIT

Ebuild Details

Version EAPI Keywords Slot
0.4.1 8 ~amd64 ~x86 0/4
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

FORTRAN_STANDARD="2003"

inherit cmake fortran-2

DESCRIPTION="TOML parser implementation for data serialization and deserialization in Fortran"
HOMEPAGE="https://toml-f.readthedocs.io"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0 MIT"
SLOT="0/4"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RESTRICT="!test? ( test )"

DEPEND="
	test? ( dev-util/fortran-test-drive )
"

src_prepare() {
	default

	if ! use test ; then
		sed -i -e '/^enable_testing()/d' \
		-e '/^add_subdirectory("test")/d' CMakeLists.txt || die
	fi

	cmake_src_prepare
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/toml-f | euse -E <flag> -p dev-libs/toml-f | euse -D <flag> -p dev-libs/toml-f

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	test? ( dev-util/fortran-test-drive )

Manifest for 0.4.1

Type File Size Source URLs
DIST toml-f-0.4.1.tar.gz 437709 bytes https://github.com/toml-f/toml-f/archive/v0.4.1.tar.gz