Date: Fri, 21 Aug 2020 21:20:52 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 Message-ID: <202008212120.07LLKq1o047633@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008212120.07LLKq1o047633>