devel/py-pint 0.26.1 FreeBSD
Physical quantities module
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
90ceca3114- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 679.9 KiB, 4230.3 KiB installed
Description
Pint is a Python package to define, operate and manipulate physical quantities: the product of a numerical value and a unit of measurement. It allows arithmetic operations between them and conversions from and to different units.
It is distributed with a comprehensive list of physical units, prefixes and constants. Due to its modular design, you can extend (or even rewrite!) the complete list without changing the source code. It supports a lot of numpy mathematical operations without monkey patching or wrapping numpy.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pint | 0.26.1 |
| DragonFly | devel/py-pint | 0.23 |
Install
Binary package:
pkg install py312-pint
From the ports tree:
cd /usr/ports/devel/py-pint/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pint>0:devel/py-pint
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.26.1 | 0.26.1 | 0.20.1 | 0.23 | 0.26.1 |
| FreeBSD:14:quarterly | 0.26.1 | 0.26.1 | n/a | 0.23 | 0.26.1 |
| FreeBSD:15:latest | 0.26.1 | 0.26.1 | n/a | 0.23 | 0.23 |
| FreeBSD:15:quarterly | 0.26.1 | 0.26.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.26.1 | 0.26.1 | 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.
Build 2
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 4
${PYTHON_PKGNAMEPREFIX}flexcache>=0.3: devel/py-flexcache${PYTHON_PKGNAMEPREFIX}flexparser>=0.4: devel/py-flexparser${PYTHON_PKGNAMEPREFIX}platformdirs>=2.1.0: devel/py-platformdirs${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 11
Required by 16
Configuration
Options name: devel_pint
| Option | Default | Description |
|---|---|---|
| NUMPY | off | NumPy mathematical computing support |
| SCIPY | off | SciPy scientific computing support |
| UNCERTAINTIES | off | Handle quantities with uncertainties |
- USES
- python:3.12+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pint-0.26.1.tar.gz | 273631 | 1bbde36eae57a5a289cd05081c6405618a5899814940752064ce351cd0204f71 |
Master sites 1
- PYPI