devel/rubygem-rice: Update to 4.0.2

- Add NO_ARCH
- Update pkg-descr
- Update WWW

Changes:	https://github.com/jasonroelofs/rice/blob/master/CHANGELOG.md
		https://github.com/jasonroelofs/rice/commits/master
This commit is contained in:
Po-Chuan Hsieh 2021-07-06 22:59:45 +08:00
parent a64ec6fbc5
commit 3a128c6fb1
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 15 additions and 12 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= rice
PORTVERSION= 2.2.0
PORTVERSION= 4.0.2
CATEGORIES= devel rubygems
MASTER_SITES= RG
@ -12,10 +12,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_FreeBSD_11_powerpc64= fails to configure: could not find ruby.h
BROKEN_FreeBSD_12_powerpc64= fails to configure: could not find ruby.h
USES= gem
USE_RUBY= yes
USES= autoreconf:build gem
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/test/unittest
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1606233446
SHA256 (rubygem/rice-2.2.0.gem) = 6eb60d5b2f3018df831c2b3dbd17cd03f910401ddaeccb23d54bcd2b7ca9a59b
SIZE (rubygem/rice-2.2.0.gem) = 262656
TIMESTAMP = 1625323751
SHA256 (rubygem/rice-4.0.2.gem) = 40d5587c8dc92c2f1d0d4a73e3d03776bf6db06710848ef46135902a94043bd9
SIZE (rubygem/rice-4.0.2.gem) = 111616

View File

@ -1,6 +1,10 @@
Rice is a C++ interface to Ruby's C API. It provides a type-safe and
exception-safe interface in order to make embedding Ruby and writing Ruby
extensions with C++ easier. It is similar to Boost.Python in many ways, but
also attempts to provide an object-oriented interface to all of the Ruby C API.
Rice is a C++ header-only library that serves dual purposes. First, it makes it
much easier to create Ruby bindings for existing C++ libraries. Second, it
provides an object oriented interface to Ruby's C API that makes it easy to
embed Ruby and write Ruby extensions in C++.
WWW: https://rubygems.org/gems/rice
Rice is similar to Boost.Python and pybind11 in that it minimizes boilerplate
code needed to interface with C++. It does this by automatically determining
type information allowing Ruby object to be converted to C++ and vice versa.
WWW: https://github.com/jasonroelofs/rice