git: 1b7e46849728 - main - math/obake: New port: C++ library for the symbolic manipulation of sparse polynomials & co

Yuri Victorovich yuri at FreeBSD.org
Tue Aug 31 04:47:21 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b7e468497288ad4e6089af6c370b09a71bdaf43

commit 1b7e468497288ad4e6089af6c370b09a71bdaf43
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-31 03:42:14 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-31 04:47:15 +0000

    math/obake: New port: C++ library for the symbolic manipulation of sparse polynomials & co
---
 math/Makefile        |  1 +
 math/obake/Makefile  | 31 +++++++++++++++++++
 math/obake/distinfo  |  3 ++
 math/obake/pkg-descr |  5 ++++
 math/obake/pkg-plist | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 124 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index b826e53d0c24..4b3a2891d70c 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -472,6 +472,7 @@
     SUBDIR += nlopt
     SUBDIR += ntl
     SUBDIR += numdiff
+    SUBDIR += obake
     SUBDIR += ocaml-ocamlgraph
     SUBDIR += ocaml-zarith
     SUBDIR += ocamlgsl
diff --git a/math/obake/Makefile b/math/obake/Makefile
new file mode 100644
index 000000000000..2f5c72b45ccb
--- /dev/null
+++ b/math/obake/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	obake
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.7.0
+CATEGORIES=	math
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	C++ library for the symbolic manipulation of sparse polynomials & co
+
+LICENSE=	MPL20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libabsl_base.so:devel/abseil \
+		libboost_serialization.so:devel/boost-libs \
+		libfmt.so:devel/libfmt \
+		libgmp.so:math/gmp \
+		libmp++.so:math/mppp \
+		libmpc.so:math/mpc \
+		libmpfr.so:math/mpfr \
+		libtbb.so:devel/onetbb
+
+USES=		cmake:testing compiler:c++17-lang # need compiler:c++20-lang
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	bluescarni
+
+CXXFLAGS+=	-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
+
+CMAKE_TESTING_ON=	OBAKE_BUILD_TESTS
+
+.include <bsd.port.mk>
diff --git a/math/obake/distinfo b/math/obake/distinfo
new file mode 100644
index 000000000000..5afacf59185c
--- /dev/null
+++ b/math/obake/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1630376598
+SHA256 (bluescarni-obake-v0.7.0_GH0.tar.gz) = e3b8c7aca711ba5f6aed609f96260bbb243b10c6a810488d32b38553707330ba
+SIZE (bluescarni-obake-v0.7.0_GH0.tar.gz) = 410317
diff --git a/math/obake/pkg-descr b/math/obake/pkg-descr
new file mode 100644
index 000000000000..daaed8eb23dc
--- /dev/null
+++ b/math/obake/pkg-descr
@@ -0,0 +1,5 @@
+obake is a C++ computer algebra library for the symbolic manipulation of sparse
+multivariate polynomials and other closely-related symbolic objects (such as
+truncated power series, Poisson series, etc.).
+
+WWW: https://bluescarni.github.io/obake/
diff --git a/math/obake/pkg-plist b/math/obake/pkg-plist
new file mode 100644
index 000000000000..1e3e18f84eab
--- /dev/null
+++ b/math/obake/pkg-plist
@@ -0,0 +1,84 @@
+include/obake/byte_size.hpp
+include/obake/cf/cf_stream_insert.hpp
+include/obake/cf/cf_tex_stream_insert.hpp
+include/obake/config.hpp
+include/obake/detail/abseil.hpp
+include/obake/detail/atomic_flag_array.hpp
+include/obake/detail/atomic_lock_guard.hpp
+include/obake/detail/fcast.hpp
+include/obake/detail/fw_utils.hpp
+include/obake/detail/hc.hpp
+include/obake/detail/ignore.hpp
+include/obake/detail/it_diff_check.hpp
+include/obake/detail/limits.hpp
+include/obake/detail/make_array.hpp
+include/obake/detail/mppp_utils.hpp
+include/obake/detail/not_implemented.hpp
+include/obake/detail/priority_tag.hpp
+include/obake/detail/safe_integral_arith.hpp
+include/obake/detail/ss_func_forward.hpp
+include/obake/detail/to_string.hpp
+include/obake/detail/tuple_for_each.hpp
+include/obake/detail/type_c.hpp
+include/obake/detail/visibility.hpp
+include/obake/detail/xoroshiro128_plus.hpp
+include/obake/exceptions.hpp
+include/obake/hash.hpp
+include/obake/key/key_degree.hpp
+include/obake/key/key_evaluate.hpp
+include/obake/key/key_is_compatible.hpp
+include/obake/key/key_is_one.hpp
+include/obake/key/key_is_zero.hpp
+include/obake/key/key_merge_symbols.hpp
+include/obake/key/key_p_degree.hpp
+include/obake/key/key_stream_insert.hpp
+include/obake/key/key_tex_stream_insert.hpp
+include/obake/key/key_trim.hpp
+include/obake/key/key_trim_identify.hpp
+include/obake/kpack.hpp
+include/obake/math/degree.hpp
+include/obake/math/diff.hpp
+include/obake/math/evaluate.hpp
+include/obake/math/fma3.hpp
+include/obake/math/integrate.hpp
+include/obake/math/is_zero.hpp
+include/obake/math/negate.hpp
+include/obake/math/p_degree.hpp
+include/obake/math/pow.hpp
+include/obake/math/safe_cast.hpp
+include/obake/math/safe_convert.hpp
+include/obake/math/subs.hpp
+include/obake/math/trim.hpp
+include/obake/math/truncate_degree.hpp
+include/obake/math/truncate_p_degree.hpp
+include/obake/polynomials/d_packed_monomial.hpp
+include/obake/polynomials/monomial_diff.hpp
+include/obake/polynomials/monomial_homomorphic_hash.hpp
+include/obake/polynomials/monomial_integrate.hpp
+include/obake/polynomials/monomial_mul.hpp
+include/obake/polynomials/monomial_pow.hpp
+include/obake/polynomials/monomial_range_overflow_check.hpp
+include/obake/polynomials/monomial_subs.hpp
+include/obake/polynomials/packed_monomial.hpp
+include/obake/polynomials/polynomial.hpp
+include/obake/power_series/power_series.hpp
+include/obake/ranges.hpp
+include/obake/s11n.hpp
+include/obake/series.hpp
+include/obake/stack_trace.hpp
+include/obake/symbols.hpp
+include/obake/tex_stream_insert.hpp
+include/obake/type_name.hpp
+include/obake/type_traits.hpp
+lib/cmake/obake/FindDbgEng.cmake
+lib/cmake/obake/FindTBB.cmake
+lib/cmake/obake/Findlibbacktrace.cmake
+lib/cmake/obake/ObakeFindBoost.cmake
+lib/cmake/obake/ObakeFindDl.cmake
+lib/cmake/obake/obake-config-version.cmake
+lib/cmake/obake/obake-config.cmake
+lib/cmake/obake/obake_export-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/obake/obake_export.cmake
+lib/libobake.so
+lib/libobake.so.7
+lib/libobake.so.7.0


More information about the dev-commits-ports-main mailing list