pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-corefoundation
Module Name: pkgsrc
Committed By: taca
Date: Tue Nov 29 12:42:01 UTC 2022
Added Files:
pkgsrc/devel/ruby-corefoundation: DESCR Makefile PLIST distinfo
Log Message:
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).
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-corefoundation/DESCR \
pkgsrc/devel/ruby-corefoundation/Makefile \
pkgsrc/devel/ruby-corefoundation/PLIST \
pkgsrc/devel/ruby-corefoundation/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/ruby-corefoundation/DESCR
diff -u /dev/null pkgsrc/devel/ruby-corefoundation/DESCR:1.1
--- /dev/null Tue Nov 29 12:42:01 2022
+++ pkgsrc/devel/ruby-corefoundation/DESCR Tue Nov 29 12:42:00 2022
@@ -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).
Index: pkgsrc/devel/ruby-corefoundation/Makefile
diff -u /dev/null pkgsrc/devel/ruby-corefoundation/Makefile:1.1
--- /dev/null Tue Nov 29 12:42:01 2022
+++ pkgsrc/devel/ruby-corefoundation/Makefile Tue Nov 29 12:42:00 2022
@@ -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"
Index: pkgsrc/devel/ruby-corefoundation/PLIST
diff -u /dev/null pkgsrc/devel/ruby-corefoundation/PLIST:1.1
--- /dev/null Tue Nov 29 12:42:01 2022
+++ pkgsrc/devel/ruby-corefoundation/PLIST Tue Nov 29 12:42:00 2022
@@ -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
Index: pkgsrc/devel/ruby-corefoundation/distinfo
diff -u /dev/null pkgsrc/devel/ruby-corefoundation/distinfo:1.1
--- /dev/null Tue Nov 29 12:42:01 2022
+++ pkgsrc/devel/ruby-corefoundation/distinfo Tue Nov 29 12:42:00 2022
@@ -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