From nobody Wed Jun 29 05:25:16 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 04963868E7D; Wed, 29 Jun 2022 05:25:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LXqfh4XC3z3kf0; Wed, 29 Jun 2022 05:25:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656480316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4iZr3GdPA8xIO9RpBz+D7ACh6vJ3W4lg5ocIMBxNHHo=; b=tTbVhyC3kFN4IQGK8z0XnIesgisMbbKEXERqMuHfIGJ9b5oepzmyYP17ZkgEkl5Y6UUGtb 8ryg96eypkjA5GUvID8CC5L6pZkXPYd7ZNCG/xLryqDG9PVnJKuJRYbuBQiQINrtuVb5us EUjsTRZV53Gv7LvC1Od5g1hC7/qEP6lF2q2IGbNvNTAbSdW5/ex3jNTuXDiIIxMd079Ved lnOIgweRrWhGzKt2cmVPYfB5Fmhc9jy9OQ6sRZ7tlIlGY4KfQLaGLxjXarVfqp7Jwq8Ocx Abrq/RoNbfHL+NfJVffmqwVJFKLaITutQmYf9or2UDAeD3UuZkbF+wjOKnVrMg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5027936E2; Wed, 29 Jun 2022 05:25:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25T5PGbn072378; Wed, 29 Jun 2022 05:25:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25T5PGqj072377; Wed, 29 Jun 2022 05:25:16 GMT (envelope-from git) Date: Wed, 29 Jun 2022 05:25:16 GMT Message-Id: <202206290525.25T5PGqj072377@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 1a972585d54a - main - math/calcium: New port: Exact real and complex numbers in C List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a972585d54a8b5c7c9b2ff06f6f10637bc7f2d1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656480316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4iZr3GdPA8xIO9RpBz+D7ACh6vJ3W4lg5ocIMBxNHHo=; b=UEOvRW8fuPYyZCaBh7SZX6FqnBFvj1jOJdkqrnjCfl7crtjv1ld+CXNCkzpZUrpFR8Xk3e EmMDIgAusQKzS3UuThORMmCv9CR9ufTl8Yq1X7TGT64hiLiwiOpo+IheRxu5Gpph1fjP9h 4vPeTVH7ZGHkaQavoOFb0ImlJk4uF7jVk4pXobpwhfcQYHnASPMjH9ZgdnzwrOnvDvpK6e 5JUT1SMok1Lwg2hK1f1RqzIpnY8X6Uy8XdevPu5nSn70LP7CK3ZcxWGWYScIUX7y1pUcYz iW86qRBpurBrq22lVXBy3rc8HRGBxgRzTh436i/3LzX2Y3wxO4OPRDDuVo6Q7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656480316; a=rsa-sha256; cv=none; b=fOJs27EaVFmgMxE7LOFVvpBHneaEgTLASZMNWyMpJE4wniaaDPexuj2rAvnEmbaymBOLvh mRRqrzTM/u4b8zy3PnKsUfxtjTzE/EyK5v1qAXfm6k64dxWJROMQwTH+YVuiuKvxOuWKg5 uIxVDymKlRbYNOj6Y7ENKOT7f3sbldmo2wrwbQK+Q5keM2y5u8HMik6+zveeD0jcbyMFsh 2M8aT5ym5PwOvd9yl/53In06bkoZKtLY1rM1GTje3X2VDToVhU/myXluU5uXy1OCQDlnr5 +BAdYd8HigcULWRWYF3CuaooZeVn0X+yMiXL3gB8TweLXaAZHDIZVQMrCfcwYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a972585d54a8b5c7c9b2ff06f6f10637bc7f2d1 commit 1a972585d54a8b5c7c9b2ff06f6f10637bc7f2d1 Author: Yuri Victorovich AuthorDate: 2022-06-29 01:53:33 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-29 05:25:08 +0000 math/calcium: New port: Exact real and complex numbers in C --- math/Makefile | 1 + math/calcium/Makefile | 30 ++++++++++++++++++++++++++++++ math/calcium/distinfo | 3 +++ math/calcium/pkg-descr | 6 ++++++ math/calcium/pkg-plist | 16 ++++++++++++++++ 5 files changed, 56 insertions(+) diff --git a/math/Makefile b/math/Makefile index 82f1307f96c7..ff9aba7d274f 100644 --- a/math/Makefile +++ b/math/Makefile @@ -201,6 +201,7 @@ SUBDIR += cadical SUBDIR += cado-nfs SUBDIR += calc + SUBDIR += calcium SUBDIR += calcoo SUBDIR += cantor SUBDIR += casadi diff --git a/math/calcium/Makefile b/math/calcium/Makefile new file mode 100644 index 000000000000..86689d6c1d61 --- /dev/null +++ b/math/calcium/Makefile @@ -0,0 +1,30 @@ +PORTNAME= calcium +DISTVERSION= 0.4.1 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Exact real and complex numbers in C + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libantic.so:math/antic \ + libarb.so:math/arb \ + libflint.so:math/flint2 \ + libgmp.so:math/gmp \ + libmpfr.so:math/mpfr + +USES= gmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= fredrik-johansson + +GNU_CONFIGURE= yes + +TEST_TARGET= tests # only builds tests and doesn't run them, see https://github.com/fredrik-johansson/calcium/issues/41 + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcalcium.so.${DISTVERSION} + +.include diff --git a/math/calcium/distinfo b/math/calcium/distinfo new file mode 100644 index 000000000000..6c446e16f554 --- /dev/null +++ b/math/calcium/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1656446777 +SHA256 (fredrik-johansson-calcium-0.4.1_GH0.tar.gz) = 5fbc997e8c9e76c88cd85c12a86f0f14c4ebe602e9f7f11e11f0ca1f89c5d81c +SIZE (fredrik-johansson-calcium-0.4.1_GH0.tar.gz) = 435261 diff --git a/math/calcium/pkg-descr b/math/calcium/pkg-descr new file mode 100644 index 000000000000..ed0491f6e4a7 --- /dev/null +++ b/math/calcium/pkg-descr @@ -0,0 +1,6 @@ +Calcium is a C library for exact computation with real and complex +numbers. It is capable of rigorously deciding the truth of any +constant relation involving algebraic numbers and many relations +involving transcendental number. + +WWW: https://fredrikj.net/calcium/ diff --git a/math/calcium/pkg-plist b/math/calcium/pkg-plist new file mode 100644 index 000000000000..82efa1e806c0 --- /dev/null +++ b/math/calcium/pkg-plist @@ -0,0 +1,16 @@ +include/calcium/ca.h +include/calcium/ca_ext.h +include/calcium/ca_field.h +include/calcium/ca_mat.h +include/calcium/ca_poly.h +include/calcium/ca_vec.h +include/calcium/calcium.h +include/calcium/fexpr.h +include/calcium/fexpr_builtin.h +include/calcium/fmpz_mpoly_q.h +include/calcium/qqbar.h +include/calcium/utils_flint.h +lib/libcalcium.a +lib/libcalcium.so +lib/libcalcium.so.0 +lib/libcalcium.so.0.4.1