From nobody Sun Nov 3 13:25:10 2024 X-Original-To: dev-commits-ports-main@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 4XhFhR1bdjz5c6h3; Sun, 03 Nov 2024 13:25:11 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhFhR0jL7z4sHj; Sun, 3 Nov 2024 13:25:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730640311; 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=ODST8JDUlP+CJ1dsWGlWJPzzt851EPvWaqAWhM4Vg1Q=; b=t2nwf7cYyhmPTtElWEFUppswfx+SekOoz+7iK6QPmBbn29uTi4a7TA7W54I/Z3qsXuZCnq +LHwrn0vfIgZ4LvMtVnIgc4swkKqQF0AR9kQFNoTjxFMNPbjiSVtiVgznFsWuZQOlCbjhX 20sMZ2dhZDEytWts1iRiK0fMcqmo+zKuV/nSSuy3pPWdJPulMKvx7eqQpzFcpu7QnVM4Wa WjIvKkJqjjNDvC23Zrzoh0NC0mn1T/onq1RHKSOYEqTGESmpJ6ZLh6fUU4kDIv9eaGMbum jIY/3LiJb0pt+adaapAOp2pAiRaRliZ3pWoJPhiH6251NxkqH4ZYl0LIdvEAAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730640311; 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=ODST8JDUlP+CJ1dsWGlWJPzzt851EPvWaqAWhM4Vg1Q=; b=VROpNRgMVEbFzYB1USvvyXcb43DEhsRlIgPraxoZeQHHJJYBesvYv1ne3POeAsTIrz/yjY 7J6SHRGuDbtEeVeja59oL6cxk7mceBuqJ7Q0IeUbziSBnm8h3xxDomMkJ86oU8GJt1TFPA 1f5f7AT6aN7qQ4pCSWbOzyPX2FisRTx9bbdlXYVrFlCz+6jrwontNP9lM+8/2Pgc8L4Hq6 B2eoCC4TLt6lb/tcl/YeD55vtoymOr8YDBGLjZjegQPS/seEYqD2lmDJlq7bdyIFPKQSML yH0Vp6BgR7izpXqvDR5pqDtU0fSgfi2KiKgoX0h9BaSSJahnL/9gj7djY/nwYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730640311; a=rsa-sha256; cv=none; b=xi2uy0lrSJhWPPrT8aQWD6XxucRLpUJKUpucdsJEbcQ3cTFmkAR2p98GsLHJskfHKTxCpA 3Q/ax4KBU9x6TtyRdT7y7T6G7plkAPJ93JRWWlyV8k4NFSJSx14oWzXHrJwvMik/99PuVh In4JXv1rCW5buRdhEtb6kHmqkdZJ7fgC/w8eL2rAT6zj407P8ICZTHd8xQIU28zoK5fRzB njwY2Fi8REBLIwcYYC9Fz7urrdyPkGYVVjW87630emS/d/6DXS4moMzVJ1CAAbOzVi4/EH g9vTGP0/6rOv4HAXEs+v0LVNgHQXy1SUy9pqH6HhyjsnpaXFL0csoR86gw2slg== 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 4XhFhQ5xz5zr8G; Sun, 3 Nov 2024 13:25:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A3DPAS8017713; Sun, 3 Nov 2024 13:25:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A3DPANi017710; Sun, 3 Nov 2024 13:25:10 GMT (envelope-from git) Date: Sun, 3 Nov 2024 13:25:10 GMT Message-Id: <202411031325.4A3DPANi017710@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c35a178b34a2 - main - math/rubygem-cmath: Add rubygem-cmath 1.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c35a178b34a2bf8d5d265fba5060c97ad629f558 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c35a178b34a2bf8d5d265fba5060c97ad629f558 commit c35a178b34a2bf8d5d265fba5060c97ad629f558 Author: Po-Chuan Hsieh AuthorDate: 2024-11-03 13:20:48 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-11-03 13:20:48 +0000 math/rubygem-cmath: Add rubygem-cmath 1.0.0 CMath provides trigonometric and transcendental functions for complex numbers. CMath is a library that provides trigonometric and transcendental functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments. Note that the selection of functions is similar, but not identical, to that in module math. The reason for having two modules is that some users aren't interested in complex numbers, and perhaps don't even know what they are. They would rather have Math.sqrt(-1) raise an exception than return a complex number. --- math/Makefile | 1 + math/rubygem-cmath/Makefile | 16 ++++++++++++++++ math/rubygem-cmath/distinfo | 3 +++ math/rubygem-cmath/pkg-descr | 10 ++++++++++ 4 files changed, 30 insertions(+) diff --git a/math/Makefile b/math/Makefile index e96538f03292..f8856007cf80 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1140,6 +1140,7 @@ SUBDIR += rubiks SUBDIR += rubygem-algebra SUBDIR += rubygem-bigdecimal + SUBDIR += rubygem-cmath SUBDIR += rubygem-enumerable-statistics SUBDIR += rubygem-expression_parser SUBDIR += rubygem-fftw3 diff --git a/math/rubygem-cmath/Makefile b/math/rubygem-cmath/Makefile new file mode 100644 index 000000000000..8b606e61925d --- /dev/null +++ b/math/rubygem-cmath/Makefile @@ -0,0 +1,16 @@ +PORTNAME= cmath +PORTVERSION= 1.0.0 +CATEGORIES= math rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Provide trigonometric and transcendental functions for complex number +WWW= https://github.com/ruby/cmath + +LICENSE= BSD2CLAUSE + +USES= gem + +NO_ARCH= yes + +.include diff --git a/math/rubygem-cmath/distinfo b/math/rubygem-cmath/distinfo new file mode 100644 index 000000000000..291da57be0a4 --- /dev/null +++ b/math/rubygem-cmath/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730540892 +SHA256 (rubygem/cmath-1.0.0.gem) = 152d2b90edb33765d7fa0f7c9f650d9a6661382804add8ee6e4bce0b7d377ff6 +SIZE (rubygem/cmath-1.0.0.gem) = 6656 diff --git a/math/rubygem-cmath/pkg-descr b/math/rubygem-cmath/pkg-descr new file mode 100644 index 000000000000..31a1ef2a6de7 --- /dev/null +++ b/math/rubygem-cmath/pkg-descr @@ -0,0 +1,10 @@ +CMath provides trigonometric and transcendental functions for complex numbers. + +CMath is a library that provides trigonometric and transcendental functions for +complex numbers. The functions in this module accept integers, floating-point +numbers or complex numbers as arguments. + +Note that the selection of functions is similar, but not identical, to that in +module math. The reason for having two modules is that some users aren't +interested in complex numbers, and perhaps don't even know what they are. They +would rather have Math.sqrt(-1) raise an exception than return a complex number.