This implements sparse arrays of arbitrary dimension on top of numpy and
scipy.sparse. It generalizes the scipy.sparse.coo_matrix and
scipy.sparse.dok_matrix layouts, but extends beyond just rows and columns to an
arbitrary number of dimensions.
Additionally, this project maintains compatibility with the numpy.ndarray
interface rather than the numpy.matrix interface used in scipy.sparse
These differences make this project useful in certain situations where
scipy.sparse matrices are not well suited, but it should not be considered a
full replacement. The data structures in pydata/sparse complement and can be
used in conjunction with the fast linear algebra routines inside scipy.sparse. A
format conversion or copy may be required.
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-sparse listed in the above command, you can pick from the names under the Packages section.
*: 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)
devel/py-sparse: Fix typo in 8bc09aa2e50ec02932d8998da90e935cf7b3afde
- Clean up patch-pyproject.toml (should be part of
35e1ae3838401f8582c0ced4cf4312f90bd984c7)
- Bump PORTREVISION for dependency and package change
version_file is a replacement for write_to since py-setuptools-scm 8.0.0.
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
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>
devel/py-sparse: Add py-sparse 0.13.0
This implements sparse arrays of arbitrary dimension on top of numpy and
scipy.sparse. It generalizes the scipy.sparse.coo_matrix and
scipy.sparse.dok_matrix layouts, but extends beyond just rows and columns to an
arbitrary number of dimensions.
Additionally, this project maintains compatibility with the numpy.ndarray
interface rather than the numpy.matrix interface used in scipy.sparse
These differences make this project useful in certain situations where
scipy.sparse matrices are not well suited, but it should not be considered a
full replacement. The data structures in pydata/sparse complement and can be
used in conjunction with the fast linear algebra routines inside scipy.sparse. A
format conversion or copy may be required.