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-numcodecs listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-numcodecs-0.17.1:
AVX2=off: Use AVX2 SIMD instructions
===> Use 'make config' to modify these settings
misc/py-numcodecs: Fix RUN_DEPENDS
- Change from py-numpy to py-numpy
- Do not bump PORTREVISION because this port does not build before
bbea9171d95c59cc03d10c677a166373137d5208 breaks all dependent ports.
For example:
- devel/py-anndata
- devel/py-xarray
- devel/py-xarray-simlab
- devel/py-zarr
- filesystems/py-kerchunk
- graphics/py-imagecodecs
- graphics/py-imageio
- graphics/py-scikit-image
- graphics/py-tifffile
- math/py-mathics
- misc/py-napari
- www/py-sentinelhub
Approved by: portmgr (blanket)
misc/py-numcodecs: Fix patch-pyproject.toml
The error message is as follows:
===> Configuring for py311-numcodecs-0.16.5
/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:104:
_BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still
*beta*.
warnings.warn(msg, _BetaConfiguration)
configuration error: `project` must not contain {'license-files'} properties
...
ValueError: invalid pyproject.toml config: `project`
*** Error code 1
Stop.
make: stopped in /usr/ports/misc/py-numcodecs
Approved by: portmgr (blanket)
misc/py-numcodecs: Fix BUILD_DEPENDS
- Add missing py-numpy1
- Remove lang/cython: it is done by USE_PYTHON=cython
The error message is as follows:
===> Configuring for py311-numcodecs-0.16.5
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 385, in <module>
run_setup(with_extensions)
File "setup.py", line 366, in run_setup
+ vlen_extension()
^^^^^^^^^^^^^^^^
File "setup.py", line 208, in vlen_extension
(Only the first 15 lines of the commit message are shown above )
misc/py-numcodecs: Update to 0.16.5
- Update DISTVERSION from 0.13.0 to 0.16.5
- Remove PORTREVISION as we are updating to a new version
- Update BUILD_DEPENDS: add cython>=3.0 and setuptools-scm>=6.2, keep py-cpuinfo
- Update RUN_DEPENDS: use numpy>=1.24 (instead of numpy1>=1.16), add
typing-extensions, keep msgpack and zfp
- Add TEST_DEPENDS with pytest, pytest-cov, and pyzstd (tests as of 0.16.5)
- Update distinfo with new SHA256 and SIZE checksums
- Add patch to remove deprecated 'license' field from pyproject.toml for
compatibility
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc
EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.
Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above )
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.
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>