From nobody Tue Dec 21 19:41:11 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8339F190034D; Tue, 21 Dec 2021 19:41:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JJRf0445sz4xHh; Tue, 21 Dec 2021 19:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5FBD574FB; Tue, 21 Dec 2021 19:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BLJfBXW022365; Tue, 21 Dec 2021 19:41:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BLJfBL9022364; Tue, 21 Dec 2021 19:41:11 GMT (envelope-from git) Date: Tue, 21 Dec 2021 19:41:11 GMT Message-Id: <202112211941.1BLJfBL9022364@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 21fd08601672 - main - devel/rubygem-ostruct: Add rubygem-ostruct 0.5.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 21fd08601672907ed58387c865e18b6c414b40cb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640115672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HQPARAdqj33Y2WtnqK7ce2jJ75dy4W/M4gfSBJhlIFU=; b=iXmLxc3FG3u61RV8BqfcBICQMPNXvM2Cf7FicODt15NtdZ9q5hNA63b9YXRvcl3nyBHGRh 3otEq1tG+UgqaUi6gmagu5De6MEht2h2WVZz34qIcS8Vf/Kj8Oa8p28mcadAVxQgqv9pBB R1qTclsP3s2DlOxcgp20opKdYNznUtkE05cNt9Zwi5CJxC59RblSnY/QI65HkMJR8m2P8v hZ7ro9xM1AXuBSx8Sf+9jRSgyMkxY7KMIii50MOPyBJXGI0DGCmV1+yTI8ocunePOdjBTg Ul5XBbgZeCH1KrZjqOmJUzhWCczsoHo9JDO+VaRLbVkrYZbfUgcMvmTNRi0F5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640115672; a=rsa-sha256; cv=none; b=UmuhsuHoETFvUGRO5URhnMNOVZyXvZv0YVxVqStDW9mQFBz1HayFH6G5t7R8mtlilEJzNH tCjyRQf0XYMPvcAnAMDeHOZ2zHiVg2lWvlOiU8Vgav7Z6p44A+TPSuWokQoA5jyOC7fU8H EwlQk2n34HdFxtX3Jkql/R+vgtE02wPKS1+ACUUcVsBsuHhBp7ZEq/f2/wWl+scWFlaexG F6GH7iMzm5l0Oh/6/Ci+znqiqSU27/2jz2La81NMmDQvzbizO22koKiIgl4xBztqnxL86O MpOxk93tuLLdLbra8cJcYl/CVChwAIa6E5VDzJ/LrO/3uun94j7cVEPQH1xL7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=21fd08601672907ed58387c865e18b6c414b40cb commit 21fd08601672907ed58387c865e18b6c414b40cb Author: Po-Chuan Hsieh AuthorDate: 2021-12-21 18:38:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-12-21 18:38:52 +0000 devel/rubygem-ostruct: Add rubygem-ostruct 0.5.0 An OpenStruct is a data structure, similar to a Hash, that allows the definition of arbitrary attributes with their accompanying values. This is accomplished by using Ruby's metaprogramming to define methods on the class itself. WWW: https://github.com/ruby/ostruct --- devel/Makefile | 1 + devel/rubygem-ostruct/Makefile | 20 ++++++++++++++++++++ devel/rubygem-ostruct/distinfo | 3 +++ devel/rubygem-ostruct/pkg-descr | 5 +++++ 4 files changed, 29 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1c8d3dc5e37d..da3a3b0a6854 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6598,6 +6598,7 @@ SUBDIR += rubygem-optparse SUBDIR += rubygem-orm_adapter SUBDIR += rubygem-os + SUBDIR += rubygem-ostruct SUBDIR += rubygem-p4ruby SUBDIR += rubygem-paint SUBDIR += rubygem-paint1 diff --git a/devel/rubygem-ostruct/Makefile b/devel/rubygem-ostruct/Makefile new file mode 100644 index 000000000000..efb83ddaacd7 --- /dev/null +++ b/devel/rubygem-ostruct/Makefile @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= ostruct +PORTVERSION= 0.5.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Class to build custom data structures, similar to a Hash + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual +LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-ostruct/distinfo b/devel/rubygem-ostruct/distinfo new file mode 100644 index 000000000000..15c0dfb77eda --- /dev/null +++ b/devel/rubygem-ostruct/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1638556450 +SHA256 (rubygem/ostruct-0.5.0.gem) = 0fee2ab704fc9f9631076255c04147e18facd1e18d0a8a486b30f6a2b6fd52a0 +SIZE (rubygem/ostruct-0.5.0.gem) = 11776 diff --git a/devel/rubygem-ostruct/pkg-descr b/devel/rubygem-ostruct/pkg-descr new file mode 100644 index 000000000000..3bf4cd4b4928 --- /dev/null +++ b/devel/rubygem-ostruct/pkg-descr @@ -0,0 +1,5 @@ +An OpenStruct is a data structure, similar to a Hash, that allows the definition +of arbitrary attributes with their accompanying values. This is accomplished by +using Ruby's metaprogramming to define methods on the class itself. + +WWW: https://github.com/ruby/ostruct