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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.0 | 0.2.0 | - | 0.2.0 | 0.2.0 |
| FreeBSD:14:quarterly | 0.2.0 | 0.2.0 | n/a | 0.2.0 | 0.2.0 |
| FreeBSD:15:latest | 0.2.0 | 0.2.0 | n/a | 0.2.0 | 0.2.0 |
| FreeBSD:15:quarterly | 0.2.0 | 0.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.0 | 0.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
rubygem-cmath>=0: math/rubygem-cmath
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
| File | Size | SHA256 |
|---|---|---|
| rubygem/mathn-0.2.0.gem | 9216 | ed3922e0e0a1286c824151a2aa47ed5f6f62be2e0a96196d2e03d507e4561c11 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.