From owner-svn-ports-all@freebsd.org Fri Aug 21 21:20:53 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE55A3C93E4; Fri, 21 Aug 2020 21:20:53 +0000 (UTC) (envelope-from sunpoet@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BYDvn3J7gz4VLL; Fri, 21 Aug 2020 21:20:53 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2BC4EBA2C; Fri, 21 Aug 2020 21:20:53 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07LLKr7I047637; Fri, 21 Aug 2020 21:20:53 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07LLKq1o047633; Fri, 21 Aug 2020 21:20:52 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202008212120.07LLKq1o047633@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 21 Aug 2020 21:20:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545624 - in head/math: . rubygem-bigdecimal rubygem-bigdecimal/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/math: . rubygem-bigdecimal rubygem-bigdecimal/files X-SVN-Commit-Revision: 545624 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2020 21:20:54 -0000 Author: sunpoet Date: Fri Aug 21 21:20:51 2020 New Revision: 545624 URL: https://svnweb.freebsd.org/changeset/ports/545624 Log: Add rubygem-bigdecimal 2.0.0 BigDecimal provides an arbitrary-precision decimal floating-point number class. WWW: https://github.com/ruby/bigdecimal Added: head/math/rubygem-bigdecimal/ head/math/rubygem-bigdecimal/Makefile (contents, props changed) head/math/rubygem-bigdecimal/distinfo (contents, props changed) head/math/rubygem-bigdecimal/files/ head/math/rubygem-bigdecimal/files/patch-ext-bigdecimal-extconf.rb (contents, props changed) head/math/rubygem-bigdecimal/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Fri Aug 21 21:20:46 2020 (r545623) +++ head/math/Makefile Fri Aug 21 21:20:51 2020 (r545624) @@ -873,6 +873,7 @@ SUBDIR += rpcalc SUBDIR += rubiks SUBDIR += rubygem-algebra + SUBDIR += rubygem-bigdecimal SUBDIR += rubygem-enumerable-statistics SUBDIR += rubygem-expression_parser SUBDIR += rubygem-fftw3 Added: head/math/rubygem-bigdecimal/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubygem-bigdecimal/Makefile Fri Aug 21 21:20:51 2020 (r545624) @@ -0,0 +1,19 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= bigdecimal +PORTVERSION= 2.0.0 +CATEGORIES= math rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Arbitrary-precision decimal floating-point number class + +LICENSE= RUBY + +USES= gem +USE_RUBY= yes + +#NO_ARCH= yes + +.include Added: head/math/rubygem-bigdecimal/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubygem-bigdecimal/distinfo Fri Aug 21 21:20:51 2020 (r545624) @@ -0,0 +1,3 @@ +TIMESTAMP = 1598029403 +SHA256 (rubygem/bigdecimal-2.0.0.gem) = 8de7b0788316e17a9bc4af29fd03fc4ad7e7ee2bb549a06285f971c036a5c75d +SIZE (rubygem/bigdecimal-2.0.0.gem) = 52736 Added: head/math/rubygem-bigdecimal/files/patch-ext-bigdecimal-extconf.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubygem-bigdecimal/files/patch-ext-bigdecimal-extconf.rb Fri Aug 21 21:20:51 2020 (r545624) @@ -0,0 +1,11 @@ +--- ext/bigdecimal/extconf.rb.orig 2020-08-21 18:03:52 UTC ++++ ext/bigdecimal/extconf.rb +@@ -6,7 +6,7 @@ def check_bigdecimal_version(gemspec_path) + + bigdecimal_version = + IO.readlines(gemspec_path) +- .grep(/\Abigdecimal_version\s+=\s+/)[0][/\'([^\']+)\'/, 1] ++ .grep(/\s+s.version\s+=\s+/)[0][/\"([^\']+)\"/, 1] + + version_components = bigdecimal_version.split('.') + bigdecimal_version = version_components[0, 3].join('.') Added: head/math/rubygem-bigdecimal/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubygem-bigdecimal/pkg-descr Fri Aug 21 21:20:51 2020 (r545624) @@ -0,0 +1,3 @@ +BigDecimal provides an arbitrary-precision decimal floating-point number class. + +WWW: https://github.com/ruby/bigdecimal