The Boost Python Library is a framework for interfacing Python and
C++. It allows you to quickly and seamlessly expose C++ classes
functions and objects to Python, and vice-versa, using no special
tools -- just your C++ compiler.
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-boost-libs listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-boost-libs-1.92.0:
DEBUG=off: Build with debugging support
OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
===> Use 'make config' to modify these settings
devel/boost*: update to 1.92.0 release (+)
Include corresponding update for boost_build to 5.5.2
Introduce new library, Cobalt, which forces C++20 standart (option OFF by
default)
Release notes: https://www.boost.org/releases/1.92.0/
devel/boost: improve port (+)
1. Convert ZSTD support to option, default on.
2. Support for additional image formats in the Generic Image Library (adds raw,
PNG, TIFF, and JPEG formats). Added as an option, default off.
3. Resolve the problem preventing our *at() functions (like statat() and
openat()) from being detected, it'a Linux-only feature.
4. do-test target provided -- it is of limited utility, because it takes
multiple days and reports a lot of seemingly false problems.
5. Only extract the docs subdirectory, when building boost-docs -- saves some
diskspace during builds. Likewise, when building jam (b2) don't extract other
code.
6. Plist sort, .CURDIR usage optimization.
7. Backport a proper fix for broken function program_location_impl in Boost.DLL
PR: 286403, 287204 (based on), 287514 (fix previous version)
devel/boost: update to 1.88.0 release (+)
This release include two new libraries, Hash2, and MQTT5
Allow to use Boost.iostream with ZSTD compression [requested in 1]
Release Notes: https://www.boost.org/releases/1.88.0/
PR: 286403 [1]
devel/boost-python-libs: mark as safe for numpy 2.x
Upstream commit included in devel/boost-libs/files. Switch away
from ${PYNUMPY} to both catalogue and allow seamless transition
when math/py-numpy 2.x is committed.
While here, remove USES=python upper bound.
With hat: python
PR: 281470
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 )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
devel/boost-python-libs: mark as not compatible with python 3.10
This limitation is inherited from math/py-numpy and needs to be
rechecked when it supports 3.10
Approved by: portmgr blanket
devel/boost-python-libs: allow to install .cmake configs
for boost_python and boost_numpy libraries
in same way as it always doing for boot-libs package
Common for all flavors .cmake files will be installed only with default python
version.
For all non-default flavors package will provide only versioned parts.
PR: 245560
Submitted by: fluffy
Reviewed by: lwhsu
Approved by: office (lwhsu)
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
devel/boost-python-libs: add NumPy support
numpy component is always built but runtime dependency is left out
until subpackaging to avoid always pulling py-numpy. Consumers should
add RUN_DEPENDS+=${PYNUMPY} instead to avoid the following:
ImportError: No module named numpy.core._multiarray_umath
ImportError: numpy.core._multiarray_umath failed to import
PR: 225589238130
devel/boost-python-libs: unbreak in C++17 mode
In file included from libs/python/src/converter/from_python.cpp:6:
In file included from ./boost/python/converter/from_python.hpp:8:
In file included from ./boost/python/detail/prefix.hpp:13:
In file included from ./boost/python/detail/wrap_python.hpp:151:
In file included from /usr/local/include/python2.7/Python.h:88:
/usr/local/include/python2.7/unicodeobject.h:534:5: error: ISO C++17 does not
allow 'register' storage class specifier [-Wregister]
register PyObject *obj, /* Object */
^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:553:5: error: ISO C++17 does not
allow 'register' storage class specifier [-Wregister]
register PyObject *obj /* Object */
^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:575:5: error: ISO C++17 does not
allow 'register' storage class specifier [-Wregister]
register const wchar_t *w, /* wchar_t buffer */
^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:593:5: error: ISO C++17 does not
allow 'register' storage class specifier [-Wregister]
register wchar_t *w, /* wchar_t buffer */
^~~~~~~~~
devel/boost-python-libs got forgotten in the python flavorization, fix
this oversight.
Reviewed by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14368
Update to boost 1.55.0
switch back to normal library naming
Add a compat symlink for .so.5
Use compiler.mk to detect compiler
Use a modern compiler (doesn't work with base gcc)
- update to 1.52.0
- pass maintainership to office@
- detect if compiler is gcc or clang and correctly set the toolset for bjam
- enable long-double support
- some cleanup
Approved by: maintainer timeout (3 weeks with no reply)
Unbreak the port for python versions > 3.1.
I verified that this port works with python version 2.6 .. 3.3 now.
Approved by: maintainer timeout
Feature safe: yes
Disable pyste by default (depends on abandoned gccxml, which
brings in gcc34 for modern systems).
Bump PORTREVISION.
PR: ports/138770
Submitted by: Mel Flynn <mel at rachie.is-a-geek.net>
Approved by: Alexander Churanov (maintainer)
- Update boost to 1.39
- Split boost port to separate components, with boost-all metaport
PR: ports/137054
Submitted by: Alexander Churanov <churanov.port.maintainer@gmail.com>
(maintainer)