1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

New port: math/piranha: Piranha computer algebra system

This commit is contained in:
Yuri Victorovich 2018-04-23 09:03:20 +00:00
parent 4e1de91703
commit 3d6c675fdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468086
5 changed files with 136 additions and 0 deletions

View File

@ -630,6 +630,7 @@
SUBDIR += php72-gmp
SUBDIR += physcalc
SUBDIR += picosat
SUBDIR += piranha
SUBDIR += plman
SUBDIR += ploticus
SUBDIR += ploticus-nox11

36
math/piranha/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $FreeBSD$
PORTNAME= piranha
DISTVERSIONPREFIX= v
DISTVERSION= 0.10
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Piranha computer algebra system
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.gpl3
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.lgpl3
# build only checks that boost, gmp, mpfr headers are installed, and in the runtime they are included, shared libs are never used directly
BUILD_DEPENDS= ${LOCALBASE}/include/boost/numeric/conversion/cast.hpp:devel/boost-libs \
${LOCALBASE}/include/gmp.h:math/gmp \
${LOCALBASE}/include/mpfr.h:math/mpfr
RUN_DEPENDS= ${BUILD_DEPENDS}
USES= cmake:outsource
USE_GITHUB= yes
GH_ACCOUNT= bluescarni
NO_BUILD= yes
NO_ARCH= yes
TEST_USES= compiler:c++14-lang
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>

3
math/piranha/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1522392828
SHA256 (bluescarni-piranha-v0.10_GH0.tar.gz) = e2feefb7dac5e441688b2d849c1d89219243ce9a5daeb611b1d9fe952c86bd26
SIZE (bluescarni-piranha-v0.10_GH0.tar.gz) = 821512

10
math/piranha/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Piranha is a computer-algebra library for the symbolic manipulation of sparse
multivariate polynomials and other closely-related symbolic objects (such as
Poisson series).
Piranha is written in modern C++, with emphasis on portability, correctness and
performance. Piranha also includes a set of optional bindings for the Python
programming language, called Pyranha, that allow to use the library in an
interactive and script-oriented way.
WWW: https://github.com/bluescarni/piranha

86
math/piranha/pkg-plist Normal file
View File

@ -0,0 +1,86 @@
include/piranha/array_key.hpp
include/piranha/base_series_multiplier.hpp
include/piranha/binomial.hpp
include/piranha/cache_aligning_allocator.hpp
include/piranha/config.hpp
include/piranha/convert_to.hpp
include/piranha/debug_access.hpp
include/piranha/detail/atomic_flag_array.hpp
include/piranha/detail/atomic_lock_guard.hpp
include/piranha/detail/cf_mult_impl.hpp
include/piranha/detail/config_clang.hpp
include/piranha/detail/config_gcc.hpp
include/piranha/detail/config_intel.hpp
include/piranha/detail/demangle.hpp
include/piranha/detail/divisor_series_fwd.hpp
include/piranha/detail/gmp.hpp
include/piranha/detail/init_data.hpp
include/piranha/detail/is_digit.hpp
include/piranha/detail/km_commons.hpp
include/piranha/detail/mp_rational_fwd.hpp
include/piranha/detail/mpfr.hpp
include/piranha/detail/parallel_vector_transform.hpp
include/piranha/detail/poisson_series_fwd.hpp
include/piranha/detail/polynomial_fwd.hpp
include/piranha/detail/prepare_for_print.hpp
include/piranha/detail/real_fwd.hpp
include/piranha/detail/safe_integral_adder.hpp
include/piranha/detail/series_fwd.hpp
include/piranha/detail/series_multiplier_fwd.hpp
include/piranha/detail/sfinae_types.hpp
include/piranha/detail/small_vector_fwd.hpp
include/piranha/detail/symbol_set_fwd.hpp
include/piranha/detail/type_in_tuple.hpp
include/piranha/detail/ulshift.hpp
include/piranha/detail/vector_hasher.hpp
include/piranha/detail/vector_merge_args.hpp
include/piranha/divisor.hpp
include/piranha/divisor_series.hpp
include/piranha/dynamic_aligning_allocator.hpp
include/piranha/exceptions.hpp
include/piranha/forwarding.hpp
include/piranha/hash_set.hpp
include/piranha/init.hpp
include/piranha/invert.hpp
include/piranha/ipow_substitutable_series.hpp
include/piranha/is_cf.hpp
include/piranha/is_key.hpp
include/piranha/key_is_convertible.hpp
include/piranha/key_is_multipliable.hpp
include/piranha/kronecker_array.hpp
include/piranha/kronecker_monomial.hpp
include/piranha/lambdify.hpp
include/piranha/math.hpp
include/piranha/memory.hpp
include/piranha/monomial.hpp
include/piranha/mp_integer.hpp
include/piranha/mp_rational.hpp
include/piranha/piranha.hpp
include/piranha/poisson_series.hpp
include/piranha/polynomial.hpp
include/piranha/pow.hpp
include/piranha/power_series.hpp
include/piranha/print_coefficient.hpp
include/piranha/print_tex_coefficient.hpp
include/piranha/rational_function.hpp
include/piranha/real.hpp
include/piranha/real_trigonometric_kronecker_monomial.hpp
include/piranha/runtime_info.hpp
include/piranha/s11n.hpp
include/piranha/safe_cast.hpp
include/piranha/series.hpp
include/piranha/series_multiplier.hpp
include/piranha/settings.hpp
include/piranha/small_vector.hpp
include/piranha/static_vector.hpp
include/piranha/substitutable_series.hpp
include/piranha/symbol.hpp
include/piranha/symbol_set.hpp
include/piranha/t_substitutable_series.hpp
include/piranha/term.hpp
include/piranha/thread_barrier.hpp
include/piranha/thread_management.hpp
include/piranha/thread_pool.hpp
include/piranha/trigonometric_series.hpp
include/piranha/tuning.hpp
include/piranha/type_traits.hpp