sci-libs/gz-math - 7.3.0 (ros-overlay)

Search

Install

Install this version:

emerge -a =sci-libs/gz-math-7.3.0

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

autounmask =sci-libs/gz-math-7.3.0

Or alternatively:

emerge --autounmask-write -a =sci-libs/gz-math-7.3.0

Package Information

Description:
A small, fast, and high performance math library for robot applications
Homepage:
https://github.com/gazebosim/gz-math
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
7.3.0 8 ~amd64 $(ver_cut 1)
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
CMAKE_BUILD_TYPE=RelWithDebInfo

inherit cmake python-single-r1

DESCRIPTION="A small, fast, and high performance math library for robot applications"
HOMEPAGE="https://github.com/gazebosim/gz-math"
SRC_URI="https://osrf-distributions.s3.amazonaws.com/gz-math/releases/${P}.tar.bz2"

LICENSE="Apache-2.0"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"
IUSE="python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

RDEPEND="
	dev-libs/gz-utils:2=
	python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
	dev-cpp/eigen:3
	dev-build/gz-cmake:3"
BDEPEND="
	dev-build/gz-cmake:3
	python? (
		$(python_gen_cond_dep '
			dev-python/pybind11[${PYTHON_USEDEP}]
		')
	)"

src_configure() {
	local mycmakeargs=(
		-DSKIP_PYBIND11=$(usex python OFF ON)
		-DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION=ON
		-DPython3_EXECUTABLE="${PYTHON}"
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-libs/gz-math | euse -E <flag> -p sci-libs/gz-math | euse -D <flag> -p sci-libs/gz-math

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/gz-utils:2=
	python? (  )
	dev-cpp/eigen:3
	dev-build/gz-cmake:3

RDEPEND

	dev-libs/gz-utils:2=
	python? (  )

BDEPEND

	dev-build/gz-cmake:3
	python? (
		$(python_gen_cond_dep '
			dev-python/pybind11[${PYTHON_USEDEP}]
		')
	)

Manifest for 7.3.0

Type File Size Source URLs
DIST gz-math-7.3.0.tar.bz2 516018 bytes https://osrf-distributions.s3.amazonaws.com/gz-math/releases/gz-math-7.3.0.tar.bz2