The Pandas package is widely used in finance and specifically for time series
analysis. It includes excellent functionality for generating sequences of dates
and capabilities for custom holiday calendars, but as an explicit design choice
it does not include the actual holiday calendars for specific exchanges or OTC
markets.
The pandas_market_calendars package looks to fill that role with the holiday,
late open and early close calendars for specific exchanges and OTC conventions.
pandas_market_calendars also adds several functions to manipulate the market
calendars and includes a date_range function to create a pandas DatetimeIndex
including only the datetimes when the markets are open. Additionally the package
contains product specific calendars for future exchanges which have different
market open, closes, breaks and holidays based on product type.
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-pandas-market-calendars listed in the above command, you can pick from the names under the Packages section.
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>
devel/py-python-dateutil: Move devel/py-dateutil to devel/py-python-dateutil
- Convert to USE_PYTHON=pep517
- Bump PORTREVISION of dependent ports for dependency change
- While I'm here, update audio/py-pyradio to use PYTHON_PKGNAMEPREFIX instead of
PKGNAMEPREFIX for *_DEPENDS
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>