Tue Nov 29 12:42:01 2022 UTC ()
devel/ruby-corefoundation: add package version 0.3.13

Required by newer sysutil/ruby-chef package.

CoreFoundation

FFI based wrappers for a subset of core foundation: various bits of
CFString, CFData, CFArray, CFDictionary are available.

Although the CF collection classes can store arbitrary pointer sized values
this wrapper only supports storing CFTypes.

The CF namespace has the raw FFI generated method calls but it's usually
easier to use the wrapper classes: CF::String, CF::Date, CF::Array,
CF::Dictionary, CF::Boolean which try to present a rubyish view of the world
(for example CF::Array implements Enumerable).

These implement methods for creating new instances from ruby objects (eg
CF::String.from_string("hello world")) but you can also pass build them from
an FFI::Pointer).


(taca)
diff -r0 -r1.1 pkgsrc/devel/ruby-corefoundation/DESCR
diff -r0 -r1.1 pkgsrc/devel/ruby-corefoundation/Makefile
diff -r0 -r1.1 pkgsrc/devel/ruby-corefoundation/PLIST
diff -r0 -r1.1 pkgsrc/devel/ruby-corefoundation/distinfo

File Added: pkgsrc/devel/ruby-corefoundation/DESCR
CoreFoundation

FFI based wrappers for a subset of core foundation: various bits of
CFString, CFData, CFArray, CFDictionary are available.

Although the CF collection classes can store arbitrary pointer sized values
this wrapper only supports storing CFTypes.

The CF namespace has the raw FFI generated method calls but it's usually
easier to use the wrapper classes: CF::String, CF::Date, CF::Array,
CF::Dictionary, CF::Boolean which try to present a rubyish view of the world
(for example CF::Array implements Enumerable).

These implement methods for creating new instances from ruby objects (eg
CF::String.from_string("hello world")) but you can also pass build them from
an FFI::Pointer).

File Added: pkgsrc/devel/ruby-corefoundation/Makefile
# $NetBSD: Makefile,v 1.1 2022/11/29 12:42:00 taca Exp $

DISTNAME=	corefoundation-0.3.13
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/chef/corefoundation
COMMENT=	Ruby wrapper for macOS Core Foundation framework
LICENSE=	mit

DEPENDS+=	${RUBY_PKGPREFIX}-ffi>=1.15.0:../../devel/ruby-ffi

USE_LANGUAGES=	# none

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/ruby-corefoundation/PLIST
@comment $NetBSD: PLIST,v 1.1 2022/11/29 12:42:00 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/lib/corefoundation.rb
${GEM_LIBDIR}/lib/corefoundation/array.rb
${GEM_LIBDIR}/lib/corefoundation/base.rb
${GEM_LIBDIR}/lib/corefoundation/boolean.rb
${GEM_LIBDIR}/lib/corefoundation/data.rb
${GEM_LIBDIR}/lib/corefoundation/date.rb
${GEM_LIBDIR}/lib/corefoundation/dictionary.rb
${GEM_LIBDIR}/lib/corefoundation/exceptions.rb
${GEM_LIBDIR}/lib/corefoundation/memory.rb
${GEM_LIBDIR}/lib/corefoundation/null.rb
${GEM_LIBDIR}/lib/corefoundation/number.rb
${GEM_LIBDIR}/lib/corefoundation/preferences.rb
${GEM_LIBDIR}/lib/corefoundation/range.rb
${GEM_LIBDIR}/lib/corefoundation/refinements.rb
${GEM_LIBDIR}/lib/corefoundation/register.rb
${GEM_LIBDIR}/lib/corefoundation/string.rb
${GEM_LIBDIR}/lib/corefoundation/version.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

File Added: pkgsrc/devel/ruby-corefoundation/distinfo
$NetBSD: distinfo,v 1.1 2022/11/29 12:42:00 taca Exp $

BLAKE2s (corefoundation-0.3.13.gem) = 112009444f2b01e64da1adb308a82b31b8cf68d6e4048003acaeedfa0fc7ae2e
SHA512 (corefoundation-0.3.13.gem) = 759d67ad0f0cef50afac2327940baaaea5904a70eff28ccd708a284fe8851829920d8af5240ad85d14bcc80122da879fadba191f868986155c4d2236e1c8c32f
Size (corefoundation-0.3.13.gem) = 12800 bytes