From nobody Sun Oct 09 15:38:56 2022 X-Original-To: dev-commits-ports-main@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 4MlmRh6WjVz4dwCt; Sun, 9 Oct 2022 15:38:56 +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 4MlmRh67N5z3bM9; Sun, 9 Oct 2022 15:38:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665329936; 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=nPR41x9OlIPPDW3icjOWAbocSjbZTlLd1JSp/j/stv8=; b=iT5utUuJjcDjPFO7xcLVHEJ3oggKYaIn8ZG79Mbq6xpaZh/HF3frrQvcINnAMmG7qvtXmM ROhzIUnwnh/qPEfQ+hlbdGowOQnoLq3tVA2AIcUaWs3CbGftSgvTMyAmCw1fbnw7EXbYQ1 mWxLdzw3/zvU0iiltVYQd2bSZAAzLoKmPfHFFo2VBwdwmHs7aL5++zUBwi9PJiGt+/4PK5 QNKfpoKbrfYSQtgYF5R4KuEFIFXHCiijWNZt6mAroXU+Fso3VE5+GH2M3CVJkVpc+aJufv 1siu3UWU6I3FwRcVcKD1va69W5Oe2vCeP+qxOcqVptiYUz+UdxzJTlkQiV8b2A== 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 4MlmRh52vDzKX4; Sun, 9 Oct 2022 15:38:56 +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 299FcumX041661; Sun, 9 Oct 2022 15:38:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 299Fcugk041660; Sun, 9 Oct 2022 15:38:56 GMT (envelope-from git) Date: Sun, 9 Oct 2022 15:38:56 GMT Message-Id: <202210091538.299Fcugk041660@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: ccec2df8f056 - main - databases/rubygem-red-arrow: Add rubygem-red-arrow 8.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: ccec2df8f05632d74f827d6d263e937237ddd291 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665329936; 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=nPR41x9OlIPPDW3icjOWAbocSjbZTlLd1JSp/j/stv8=; b=W/rvAcnm7ypwPGbkt6BSBW8JDQoC1ZwLO5tp0Nu/ldLYHmCGbvUgxh9vc4OxLx+6sDDuF4 TviKr+n6fcDRYqTSj3fDSLte65dHJwjHZpSWnbEd8GZeCU16RDnlHBodLH7OruI/Z6gS37 9fhWHhJA+Xnp70/ybSecj7/wgCFSb4HM/NqFj+FzVD/7pcTBf3TAZuYqHRlz4IBE87MIAQ AdYgPylobKiRydgG5Xb0Iyltgyin7PQoe2la1/6kbmvPJSSKKqbtHLqo5AhNMfLwKonYKR 46FlQ2O+rs56qeT9OMe95XOTU4GQJil/upaYai7a+Rx7J3b8j43Ao4jvY213WQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665329936; a=rsa-sha256; cv=none; b=teGAxeYWTHy1oyHXBIe5XzNGQvVdfKUqDLdss7ZhqJdtqkJyUWYvFVcJAvDoyFPRDL8Iz0 4F/sFRtd6HYra4iDvILUmL9Zw9xF5ctR5ZvJG6qwY7AR2q0OgMVaj/2vFBr12+3s/Wyf48 pll31QvBys4G0YLusJ4Qfz/kWpl2AnbghVSB1Qghj334/qcsVUKITz55elXHAlNXoiWcEM xdm5ZMmoKGxRN08FEMItPm/wlKBhmHkir+i1gzJnif9PK4FAeBLjtdnRPMljgS6Y5pbiwa ggKWMqv1eJk/JJbk9Rejr2cxXVne+w4YJoDwMVnDb/StclDK7ZlnG//d8TNQMg== 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=ccec2df8f05632d74f827d6d263e937237ddd291 commit ccec2df8f05632d74f827d6d263e937237ddd291 Author: Po-Chuan Hsieh AuthorDate: 2022-10-09 15:19:08 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-10-09 15:37:43 +0000 databases/rubygem-red-arrow: Add rubygem-red-arrow 8.0.0 Red Arrow is the Ruby bindings of Apache Arrow. Red Arrow is based on GObject Introspection. Apache Arrow is an in-memory columnar data store. It's used by many products for data analytics. GObject Introspection is a middleware for language bindings of C library. GObject Introspection can generate language bindings automatically at runtime. Red Arrow uses Apache Arrow GLib and gobject-introspection gem to generate Ruby bindings of Apache Arrow. See also: https://github.com/apache/arrow/tree/master/ruby/red-arrow --- databases/Makefile | 1 + databases/rubygem-red-arrow/Makefile | 25 ++++++++++++++++++++++ databases/rubygem-red-arrow/distinfo | 3 +++ .../files/patch-ext-arrow-extconf.rb | 11 ++++++++++ databases/rubygem-red-arrow/pkg-descr | 13 +++++++++++ 5 files changed, 53 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 5312e3be50ac..a6bb2932bfc7 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -982,6 +982,7 @@ SUBDIR += rubygem-postgres_ext SUBDIR += rubygem-puppetdb_cli SUBDIR += rubygem-rbase + SUBDIR += rubygem-red-arrow SUBDIR += rubygem-redis SUBDIR += rubygem-redis-actionpack SUBDIR += rubygem-redis-actionpack-rails5 diff --git a/databases/rubygem-red-arrow/Makefile b/databases/rubygem-red-arrow/Makefile new file mode 100644 index 000000000000..6c1e34b7731d --- /dev/null +++ b/databases/rubygem-red-arrow/Makefile @@ -0,0 +1,25 @@ +PORTNAME= red-arrow +PORTVERSION= 8.0.0 +CATEGORIES= databases rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Ruby bindings of Apache Arrow +WWW= https://arrow.apache.org/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libarrow-glib.so:databases/arrow-glib +RUN_DEPENDS= rubygem-bigdecimal>=2.0.3:math/rubygem-bigdecimal \ + rubygem-extpp>=0.0.7:devel/rubygem-extpp \ + rubygem-gio2>=3.5.0:devel/rubygem-gio2 \ + rubygem-native-package-installer>=0:devel/rubygem-native-package-installer \ + rubygem-pkg-config>=0:devel/rubygem-pkg-config \ + +USES= gem localbase +USE_RUBY= yes + +CFLAGS+= -I${LOCALBASE}/include + +.include diff --git a/databases/rubygem-red-arrow/distinfo b/databases/rubygem-red-arrow/distinfo new file mode 100644 index 000000000000..896a205483a6 --- /dev/null +++ b/databases/rubygem-red-arrow/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665073074 +SHA256 (rubygem/red-arrow-8.0.0.gem) = 57b460b3a1672cf2b255a86195e817aa196dc7e701d104ab30ca95bb13323d89 +SIZE (rubygem/red-arrow-8.0.0.gem) = 97792 diff --git a/databases/rubygem-red-arrow/files/patch-ext-arrow-extconf.rb b/databases/rubygem-red-arrow/files/patch-ext-arrow-extconf.rb new file mode 100644 index 000000000000..e1efe63ad39e --- /dev/null +++ b/databases/rubygem-red-arrow/files/patch-ext-arrow-extconf.rb @@ -0,0 +1,11 @@ +--- ext/arrow/extconf.rb.orig 2022-09-13 15:47:51 UTC ++++ ext/arrow/extconf.rb +@@ -65,7 +65,7 @@ unless required_pkg_config_package([ + end + + [ +- ["glib2", "ext/glib2"], ++ ["glib2", "lib"], + ].each do |name, relative_source_dir| + spec = find_gem_spec(name) + source_dir = File.join(spec.full_gem_path, relative_source_dir) diff --git a/databases/rubygem-red-arrow/pkg-descr b/databases/rubygem-red-arrow/pkg-descr new file mode 100644 index 000000000000..6013643d5b20 --- /dev/null +++ b/databases/rubygem-red-arrow/pkg-descr @@ -0,0 +1,13 @@ +Red Arrow is the Ruby bindings of Apache Arrow. Red Arrow is based on GObject +Introspection. + +Apache Arrow is an in-memory columnar data store. It's used by many products for +data analytics. + +GObject Introspection is a middleware for language bindings of C library. +GObject Introspection can generate language bindings automatically at runtime. + +Red Arrow uses Apache Arrow GLib and gobject-introspection gem to generate Ruby +bindings of Apache Arrow. + +See also: https://github.com/apache/arrow/tree/master/ruby/red-arrow