Port details |
- py-unyt Package for handling numpy arrays with units
- 3.0.3 math
=2 2.9.5Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2021-08-03 06:12:05
- Last Update: 2024-07-04 16:18:42
- Commit Hash: 6a5ba33
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/yt-project/unyt
- Description:
- A package for handling numpy arrays with units.
Often writing code that deals with data that has units can be confusing.
A function might return an array but at least with plain NumPy arrays, there is
no way to easily tell what the units of the data are without somehow knowing a
priori.
The unyt package (pronounced like "unit") provides a subclass of NumPy's ndarray
class that knows about units.
¦ ¦ ¦ ¦ 
- 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.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}unyt>0:math/py-unyt@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/math/py-unyt/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-unyt
- pkg install py311-unyt
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 py311-unyt listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-unyt
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1720059355
SHA256 (unyt-3.0.3.tar.gz) = d1d6f481186c663b2631fe129e82abdf0aed61a93a70662040020aabe016384b
SIZE (unyt-3.0.3.tar.gz) = 1357681
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:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-setuptools-scm>=7.0.1 : devel/py-setuptools-scm@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
- py311-packaging>=20.9 : devel/py-packaging@py311
- py311-sympy>=1.7 : math/py-sympy@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- math/py-yt
Configuration Options:
- No options to configure
- Options name:
- math_py-unyt
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.0.3 04 Jul 2024 16:18:42
    |
Yuri Victorovich (yuri)  |
math/py-unyt: update 2.9.5 → 3.0.3
Reported by: portscout |
2.9.5 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
2.9.5 28 May 2023 18:56:16
    |
Yuri Victorovich (yuri)  |
math/py-unyt: Update 2.9.0 → 2.9.5
Reported by: portscout |
2.9.0_1 23 Apr 2023 09:09:58
    |
Gerald Pfeifer (gerald)  |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
2.9.0 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
2.9.0 30 Sep 2022 04:30:15
    |
Yuri Victorovich (yuri)  |
math/py-unyt: Update 2.8.0 -> 2.9.0
Reported by: portscout |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.8.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.8.0 03 Aug 2021 06:10:44
    |
Yuri Victorovich (yuri)  |
math/py-unyt: New port: Package for handling numpy arrays with units |