pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-corefoundation devel/ruby-corefoundation: a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f21c0da66f52
branches: trunk
changeset: 389040:f21c0da66f52
user: taca <taca%pkgsrc.org@localhost>
date: Tue Nov 29 12:42:00 2022 +0000
description:
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).
diffstat:
devel/ruby-corefoundation/DESCR | 16 ++++++++++++++++
devel/ruby-corefoundation/Makefile | 16 ++++++++++++++++
devel/ruby-corefoundation/PLIST | 21 +++++++++++++++++++++
devel/ruby-corefoundation/distinfo | 5 +++++
4 files changed, 58 insertions(+), 0 deletions(-)
diffs (74 lines):
diff -r 9b309d7f586b -r f21c0da66f52 devel/ruby-corefoundation/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-corefoundation/DESCR Tue Nov 29 12:42:00 2022 +0000
@@ -0,0 +1,16 @@
+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).
diff -r 9b309d7f586b -r f21c0da66f52 devel/ruby-corefoundation/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-corefoundation/Makefile Tue Nov 29 12:42:00 2022 +0000
@@ -0,0 +1,16 @@
+# $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@localhost
+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"
diff -r 9b309d7f586b -r f21c0da66f52 devel/ruby-corefoundation/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-corefoundation/PLIST Tue Nov 29 12:42:00 2022 +0000
@@ -0,0 +1,21 @@
+@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
diff -r 9b309d7f586b -r f21c0da66f52 devel/ruby-corefoundation/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-corefoundation/distinfo Tue Nov 29 12:42:00 2022 +0000
@@ -0,0 +1,5 @@
+$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
Home |
Main Index |
Thread Index |
Old Index