dev-php/brick-math - 0.20.0 (nest)

Search

Install

Install this version:

emerge -a =dev-php/brick-math-0.20.0

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

autounmask =dev-php/brick-math-0.20.0

Or alternatively:

emerge --autounmask-write -a =dev-php/brick-math-0.20.0

Package Information

Description:
Arbitrary-precision arithmetic library for PHP
Homepage:
https://github.com/brick/math
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.20.0 9 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

COMPOSER_INSTALL_PATH="Brick/Math"
PHP_REQ_USE="bcmath?"

inherit composer

DESCRIPTION="Arbitrary-precision arithmetic library for PHP"
HOMEPAGE="https://github.com/brick/math"
SRC_URI="https://github.com/brick/${COMPOSER_PKG}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="bcmath"
REQUIRED_USE="test? ( bcmath )"

DOCS=( {CHANGELOG,README}.md )

COMPOSER_TEST_FILES=( phpunit.php )
COMPOSER_TEST_PATCHES=( "${FILESDIR}/${PN}"-0.20.0-tests.patch )
composer_enable_tests phpunit

export CALCULATOR="BCMath"

USE Flags

Manage flags for this package: euse -i <flag> -p dev-php/brick-math | euse -E <flag> -p dev-php/brick-math | euse -D <flag> -p dev-php/brick-math

Global/Standard Flags

Inherited Eclasses

Manifest for 0.20.0

Type File Size Source URLs
DIST brick-math-0.20.0.tar.gz 50993 bytes https://github.com/brick//archive/0.20.0.tar.gz