Received: by mail.netbsd.org (Postfix, from userid 605) id 9DAA584ECD; Tue, 29 Nov 2022 12:42:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CEB4D84ECC for ; Tue, 29 Nov 2022 12:42:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 3ug8hiK9pL9R for ; Tue, 29 Nov 2022 12:42:01 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 20D1884D2D for ; Tue, 29 Nov 2022 12:42:01 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 19F30FA90; Tue, 29 Nov 2022 12:42:01 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_166972572180540" MIME-Version: 1.0 Date: Tue, 29 Nov 2022 12:42:01 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/devel/ruby-corefoundation To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20221129124201.19F30FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_166972572180540 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_166972572180540 Content-Disposition: inline Content-Length: 3397 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_166972572180540--