FreeBSD Ports

math/rubygem-mathn 0.2.0

Deprecated library that extends math operations

Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
math, rubygems
Package size
6.7 KiB, 15.5 KiB installed

Description

mathn serves to make mathematical operations more precise in Ruby and to integrate other mathematical standard libraries.

Requiring mathn causes changes to the behavior (and even the types) of operations on classes like Integer and it applies to the entire process, not just the file or gem which includes mathn. Therefore, we recommend that instead of requiring mathn, you instead explicitly specify rational values as desired.

Before ruby 2.5, mathn was part of the ruby standard library. It was deprecated in ruby 2.2.0, and removed from ruby 2.5.0. In order to use the library with a current version of ruby, you must install it as a gem.

Install

As a binary package — by origin, or by package name:

pkg install math/rubygem-mathn
pkg install rubygem-mathn

From the ports tree:

cd /usr/ports/math/rubygem-mathn/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-mathn>0:math/rubygem-mathn

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.00.2.0-0.2.00.2.0
FreeBSD:14:quarterly0.2.00.2.0n/a0.2.00.2.0
FreeBSD:15:latest0.2.00.2.0n/a0.2.00.2.0
FreeBSD:15:quarterly0.2.00.2.0n/an/an/a
FreeBSD:16:latest0.2.00.2.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 6
All run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/mathn-0.2.0.gem9216ed3922e0e0a1286c824151a2aa47ed5f6f62be2e0a96196d2e03d507e4561c11
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.