pandas is a Python package providing fast, flexible, and expressive
data structures designed to make working with "relational" or
"labeled" data both easy and intuitive. It aims to be the
fundamental high-level building block for doing practical, real
world data analysis in Python.
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 listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-pandas-2.3.3_4,1:
MPL=off: Support graphical plotting output via math/py-matplotlib
SCIPY=off: Support various statistical functions via science/py-scipy
====> Computation Acceleration Add-ons
BTLNCK=on: Accelerate certain NaN evals via math/py-bottleneck
NUMEXPR=on: Accelerate certain numerical ops via math/py-numexpr
====> Data Storage Add-ons
BOTO=off: Support Amazon S3 storage via devel/py-boto
TABLES=off: Support HDF5-based storage via devel/py-tables
====> HTML Parsing/Generation Add-ons
LXML=off: Parse HTML with devel/py-lxml and www/py-beautifulsoup4
HTML5LIB=off: Parse HTML with www/py-html5lib and www/py-beautifulsoup4
JINJA2=off: Support conditional HTML formatting with devel/py-Jinja2
====> MS Excel I/O Add-ons
XLRD=off: Read MS Excel with textproc/py-xlrd
XLWT=off: Write MS Excel with textproc/py-xlwt
OPENPYXL=off: Write MS Excel 2007+ with textproc/py-openpyxl
XLSX=off: Write MS Excel with textproc/py-xlsxwriter
====> SQLAlchemy ORM Add-ons: you can only select none or one of them
ALCHEMY14=off: Support SQL databases via databases/py-sqlalchemy14
ALCHEMY20=off: Support SQL databases via databases/py-sqlalchemy20
===> Use 'make config' to modify these settings
math/py-pandas: unbreak build WITH=BOTO (+)
devel/py-boto was moved to www/py-boto3, chase the new location
Reported by: bulk -t
Approved by: portmgr blanket
*/*: switch dependency from devel/py-lxml5 to devel/py-lxml
Currently, there are two versions of python XML processing library
which conflict each other in the ports tree, namely:
- devel/py-lxml5 (now at version 5.4.0)
- devel/py-lxml (now at version 6.0.1)
To avoid the situation that some ports depend on py-lxml5 and some
others do on py-lxml (by switching dependencies individually), this
commit switches the dependencies from py-lxml5 to py-lxml at once.
Additional note: There are still two ports (textproc/py-rdflib and
www/py-draftjs-exporter) depending on py-lxml5 since they limit upper
version to less than 6.
PR: 289491
Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd,
crees, madpilot, delphij, marcus, nivit, kai,
skreuzer, fluffy, bofh, thierry, stephen, sunpoet,
0mp, Eric Camachat <eric@camachat.org>
*/*: update dependency on devel/py-lxml to devel/py-lxml5
www/py-beautifulsoup has switched dependency on devel/py-lxml to
devel/py-lxml5.
Ports which directly or indirectly depends on both
www/py-beautifulsoup and devel/py-lxml must also switch their
dependencies on devel/py-lxml to devel/py-lxml5 to avoid conflicts.
PR: 288047
Approved by: portmgr (chase dependency change)
Mk/Uses/python.mk: Introduce USE_PYTHON=cython3{,_run,_test}
- Update USE_PYTHON=cython{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython3*
- While I'm here, fix incorrect usage of combining cython3 in BUILD_DEPENDS and
USE_PYTHON=cython
It is added to simplify the future transition from Cython 0.29 to 3.
The minimal version is set to 3.0.12 because it is required by
devel/py-propcache.
The upper bound of version is set to 3.1 because it is limited by multiple
ports.
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
math/py-pandas: Remove run-time dependency on cython
It is't required and it causes conflicts in other ports, particularly
py-dwave-* ones.
Approved by: portmgr (bugfix)
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358
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>
math/py-pandas: Add missing RUN_DEPENDS (py-tzdata)
- While I'm here:
- Update version requirement of *_DEPENDS
- Convert to USE_PYTHON=autoplist
- Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
PR: 271110
Reference: https://github.com/pandas-dev/pandas/blob/v2.0.1/pyproject.toml#L31
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)
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 )
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
math/py-pandas: remove support for expired SQL Alchemy 0.8 and 0.9, use
SQL Alchemy 1.0 for test dependencies.
PR: 217593
Submitted by: rene
Approved by: maintainer (john@saltant.com)
Reorganise and modernise the py-sqlalchemy ports.
- Introduce new ports for the sqlalchemy 0.9 and 1.0 release branches.
- Deprecate the ports for the 0.6 and 0.7 release branches, as these
have been declared EoL and are no longer supported by upstream.
- Update to the latest available version in each branch.
In detail:
Port Version Maintainer
----------------------------------------------
py-sqlalchemy06 0.6.9 nivit@FreeBSD.org (Deprecate 2016-08-20) [1]
py-sqlalchemy07 0.7.10 nivit@FreeBSD.org (renamed py-sqlalchemy,
Deprecate 2016-08-20) [1]
py-sqlalchemy08 0.8.7 nivit@FreeBSD.org (renamed py-sqlalchemy-devel)
[1]
py-sqlalchemy09 0.9.10 m.tsatsenko@gmail.com (new, repocopy from
py-sqlalchemy-devel) [2]
(Only the first 15 lines of the commit message are shown above )
math/py-pandas: update to 0.16.1
- update to 0.16.1
- add SQL storage option, and SQLalchemy dependency
- enable Bottleneck and Numexpr options by default
PR: 200451
Submitted by: John W. O'Brien <john@saltant.com>
- Update to version 0.15.0
- Offer experimental Openpyxl2 support
- epend on minimum versions of optional ports per upstream docs
PR: 194504
Submitted by: maintainer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.
Part II, Bump PORTREVISIONs.
PR: 182136
Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by: bdrewery (two -exp runs)
math/py-pandas: update to 0.13.1
- update to 0.13.1
- remove lang/cython from BUILD_DEPENDS now that distfile is fixed
- include RUN_DEPENDS in TEST_DEPENDS
- add devel/py-boto to TEST_DEPENDS for completeness with pkg-message
- remove math/py-statsmodels from TEST_DEPENDS to break circular dependency
- Fix regression-test target to work with non-GitHub distfile which omits
the ci/ directory. Borrow the print_skipped.py script to do this.
PR: 186802
Submitted by: John W. O'Brien <john@saltant.com> (maintainer)
- update to 0.13.0
- remove patches, included upstream
- abandon easy_install and use auto-generated packing list
- update pkg-message and TEST_DEPENDS to reflect current recommendations and
port availability
- add erroneously-omitted lang/cython to TEST_DEPENDS (for 'build_ext -i')
- conform regression-test target to upstream test procedure
while here:
- add lang/cpython as build dependency - C-extension will not be build w/o it
and the whole build procedure failing.
- update LICENSE (BSD3CLAUSE)
PR: 185803
Submitted by: "John W. O'Brien" <john@saltant.com> (maintainer)
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above )
math/py-pandas: Update to 0.12.0
- Update to 0.12.0
- Two BUILD_DEPENDS are only RUN_DEPENDS, move them
- Patch some files out of MANIFEST.in
- Cherry pick upstream issue/commit [1]
- Define regression-test target and TEST_DEPENDS
- Document USES=display in support of unit tests
[1] https://github.com/pydata/pandas/issues/4353
PR: ports/180889
Submitted by: John W. O'Brien <john@saltant.com> (maintainer)
- update to 0.9.0
- trim Makefile header
while here:
- change DISTVERSION with PORTVERSION (I missed this when this port was added)
PR: 172528
Submitted by: John W. O'Brien <john at saltant dot com> (maintainer)
Feature safe: yes