| Port details |
- py-reals Lightweight python3 library for arithmetic with real numbers
- 0.0.6 math
=0 0.0.5_1Version of this port present on the latest quarterly branch. - Maintainer: lwhsu@FreeBSD.org
 - Port Added: 2022-10-17 03:57:10
- Last Update: 2026-08-22 22:46:27
- Commit Hash: 5b9adb7
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/rubenvannieuwpoort/reals
- Description:
- Reals is a lightweight Python library for arbitrary precision arithmetic. It
allows you to compute approximations to an arbitrary degree of precision, and,
contrary to most other libraries, guarantees that all digits it displays are
correct. It works by using interval arithmetic and continued fractions. The
bulk of this code is based on Bill Gosper's notes on continued fractions in
which he presents algorithms for doing arithmetic on continued fractions.
The reals library is characterized by:
* Correctness; the reals library uses interval arithmetic to ensure that all
the digits are correct.
* Calculations are done in a streaming way; the result of previous
calculations can be re-used.
* Uses no external libraries.
* Focus on usability.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}reals>0:math/py-reals@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/math/py-reals/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-reals
- pkg install py312-reals
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-reals listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py312-reals
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1787349506
SHA256 (reals-0.0.6.tar.gz) = a981642415a2ebb676a95abb34683af58105511d3d27b8445d462d5f878522f5
SIZE (reals-0.0.6.tar.gz) = 19295
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py312-setuptools>0 : devel/py-setuptools@py312
- py312-wheel>0 : devel/py-wheel@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- python3.12 : lang/python312
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- math_py-reals
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 7
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.0.6 22 Aug 2026 22:46:27
    |
Li-Wen Hsu (lwhsu)  |
math/py-reals: Fix build after switch to USE_PYTHON=pep517 |
0.0.6 21 Aug 2026 22:15:27
    |
Li-Wen Hsu (lwhsu)  |
math/py-reals: Update to 0.0.6 |
0.0.5_1 01 Nov 2025 17:23:22
    |
Matthias Andree (mandree)  |
*: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.
python:3.9-X -> python:-X
python:3.9+ -> python
python:3.10-X -> python:-X
python:3.10+ -> python
(options such as ,build preserved) |
0.0.5_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
0.0.5 31 Oct 2023 07:06:24
    |
Li-Wen Hsu (lwhsu)  |
math/py-reals: Update to 0.0.5 |
0.0.4 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
0.0.4 17 Oct 2022 03:51:16
    |
Li-Wen Hsu (lwhsu)  |
Add math/py-reals: Lightweight python3 library for arithmetic with real numbers |
Number of commits found: 7
|