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.
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
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464
(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
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
- Unbreaks GUI by applying two patches:
- Patch in boost headers to prevent EINPROGRESS mishandling
https://github.com/zaphoyd/websocketpp/issues/563
- Patch in websocketpp fixing IPv4 vs. IPv6 mismatch
https://github.com/zaphoyd/websocketpp/issues/587
- GUI option is made default
- Clones icons for the GUI app cadabra2-gui
- Adds "USE_TEX=texmf texhash" to allow for unincluded latex macros,
and to make tex hash local packages installed by cadabra2
- Verified that cadabra2 GUI now works fine - it is able to run
many examples from their website.
PR: 213329
Submitted by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
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: http://cadabra.science/
PR: 210476
Submitted by: Yuri Victorovich <yuri@rawbw.com>