3.10.1wwwΣ=0 2.4.3_6Version of this port present on the latest quarterly branch.upstream: 3.10.2A newer version was found upstream by portscout, first on 2026-11-06.
Bokeh is a Python interactive visualization library that targets modern web
browsers for presentation. Its goal is to provide elegant, concise construction
of novel graphics in the style of D3.js, and to extend this capability with
high-performance interactivity over very large or streaming datasets. Bokeh can
help anyone who would like to quickly and easily create interactive plots,
dashboards, and data applications.
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-bokeh listed in the above command, you can pick from the names under the Packages section.
Install the following software to enable extra features:
contourpy
Necessary for the contour() glyph method of bokeh.plotting figures.
Jupyter
Bokeh can display content in classic Jupyter notebooks as well as in
JupyterLab. Depending on your setup, there may be additional packages or
Jupyter extensions to install.
NodeJS
Necessary for Extending Bokeh or for defining CustomJS implementations in
TypeScript.
NetworkX
Necessary to use the from_networkx function to generate Bokeh graph
renderers directly from NetworkX data.
Pandas
Necessary for the hexbin function. Additionally, some usage is simplified by
using Pandas e.g. Pandas DataFrames will be converted automatically to Bokeh
data sources by glyph functions.
psutil
Necessary to enable detailed memory logging in the Bokeh server.
Selenium, GeckoDriver, Firefox
Necessary for Exporting Plots to PNG and SVG images.
Sphinx
Necessary to make use of the bokeh.sphinxext Sphinx extension for including
Bokeh plots in Sphinx documentation.
www/py-bokeh: Update 2.4.3 => 3.10.1
bokeh 2.4.3 uses np.bool8, which numpy 2 removed, so
"import bokeh.plotting" fails with the numpy 2.4 in the tree. It is
also too old for its consumers: dask[diagnostics] and the distributed
dashboard need bokeh>=3.1, arviz-plots needs bokeh>=3.4 and hits needs
bokeh>=3.2.
- Switch to PEP 517; the sdist ships the prebuilt BokehJS, so no node
is needed
- Add RUN_DEPENDS on narwhals and xyzservices; drop python-dateutil,
six and typing-extensions; tornado>=6.2
- Patch pyproject.toml for setuptools 63 (requires, PEP 639 license)
and do not install the stray top-level "typings" stub package
- Guard the setuptools>=64-only editable_wheel import in setup.py
- Requires Python 3.12+
Changelog: https://docs.bokeh.org/en/latest/docs/releases.html
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.
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>
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 )
www/py-bokeh: Update to 2.2.1
- Update dependencies
- Remove obsolete python version limitaton
- Update pkg-message to include new additional dependencies info
Changelog: https://github.com/bokeh/bokeh/blob/2.2.1/CHANGELOG
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 )
[NEW PORT] www/py-bokeh: Interactive Web Plotting for Python
Bokeh is a Python interactive visualization library that targets modern web
browsers for presentation. Its goal is to provide elegant, concise construction
of novel graphics in the style of D3.js, and to extend this capability with
high-performance interactivity over very large or streaming datasets. Bokeh can
help anyone who would like to quickly and easily create interactive plots,
dashboards, and data applications.
WWW: http://bokeh.pydata.org/
PR: 213578
Submitted by: Sergey Kozlov <kozlov.sergey.404@gmail.com>
Approved by: koobs (mentor)