Cadabra is a symbolic computer algebra system (CAS) designed
specifically for the solution of problems encountered in field
theory. It has extensive functionality for tensor computer algebra,
tensor polynomial simplification including multi-term symmetries,
fermions and anti-commuting variables, Clifford algebras and Fierz
transformations, component computations, implicit coordinate
dependence, multiple index types and many more. The input format
is a subset of TeX.
WWW: https://cadabra.science/

math/cadabra2: Update 2.1.6 -> 2.2.0
Port changes:
* Remove the overriding patch of boost::asio:
now EINPROGRESS is handled properly, before it was not.
* Remove the overriding patch of websocketpp:
added an equivalent patch into cadabra2 source,
it is easier this way. Before such function didn't
exist in the websocketpp interface.
* Add the patch for pull/82:
missing #include / removal of unnecessary prefix calculation.
* Change cmake -> cmake:outsource.
* Switch to python3 because it links to python3 anyway,
even though it claims to support python2.
* Add DOS2UNIX_FILES for cmake/version.cmake for one patched file.
* Remove post-patch: added a similar patch under files/
* Remove post-install: stripping is now done by the project.
* Remove post-install-GUI-on: icons are now installed by the project.
Testing:
* Runs fine, shows correct results for examples from the online manual.

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

Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 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, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275

Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707