Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2024 04:10:14 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a04f342f3865 - main - devel/rubygem-libdatadog: Update to 9.0.0.1.0
Message-ID:  <202406180410.45I4AELx088630@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a04f342f386513b8311c3de253c3b625d6c38ecb

commit a04f342f386513b8311c3de253c3b625d6c38ecb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 04:01:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 04:01:47 +0000

    devel/rubygem-libdatadog: Update to 9.0.0.1.0
    
    - Add NO_ARCH
    
    Changes:        https://github.com/DataDog/libdatadog/releases
---
 devel/rubygem-libdatadog/Makefile            |  9 ++++++++-
 devel/rubygem-libdatadog/distinfo            |  6 +++---
 devel/rubygem-libdatadog/files/patch-gemspec | 13 +++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/devel/rubygem-libdatadog/Makefile b/devel/rubygem-libdatadog/Makefile
index 52d7f3a1ccd3..b7f98728677b 100644
--- a/devel/rubygem-libdatadog/Makefile
+++ b/devel/rubygem-libdatadog/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libdatadog
-PORTVERSION=	7.0.0.1.0
+PORTVERSION=	9.0.0.1.0
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -9,6 +9,13 @@ WWW=		https://github.com/DataDog/libdatadog/tree/main/ruby
 
 LICENSE=	APACHE20
 
+LIB_DEPENDS=	libdatadog_profiling_ffi.so:devel/libdatadog
+
 USES=		gem
 
+NO_ARCH=	yes
+
+post-patch:
+	@${RM} -r ${WRKSR}/vendor/
+
 .include <bsd.port.mk>
diff --git a/devel/rubygem-libdatadog/distinfo b/devel/rubygem-libdatadog/distinfo
index 18f28d57952d..2fe84453f2a3 100644
--- a/devel/rubygem-libdatadog/distinfo
+++ b/devel/rubygem-libdatadog/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713528646
-SHA256 (rubygem/libdatadog-7.0.0.1.0.gem) = b4321485dd0f664ad43540cacb5ace0fedba064ad978f97510172c1ad6940316
-SIZE (rubygem/libdatadog-7.0.0.1.0.gem) = 9621504
+TIMESTAMP = 1718580256
+SHA256 (rubygem/libdatadog-9.0.0.1.0.gem) = 2a24dd3ee462e59de04f098687ed3d98823042aebfdd3f1b75fd92374b926f07
+SIZE (rubygem/libdatadog-9.0.0.1.0.gem) = 9658880
diff --git a/devel/rubygem-libdatadog/files/patch-gemspec b/devel/rubygem-libdatadog/files/patch-gemspec
new file mode 100644
index 000000000000..45e8b0391636
--- /dev/null
+++ b/devel/rubygem-libdatadog/files/patch-gemspec
@@ -0,0 +1,13 @@
+% sed -i .orig 's|, "vendor/[^"]*".freeze||g' libdatadog.gemspec
+
+--- libdatadog.gemspec.orig	2024-06-08 12:36:40 UTC
++++ libdatadog.gemspec
+@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
+   s.date = "2024-05-10"
+   s.description = "libdatadog is a Rust-based utility library for Datadog's ddtrace gem.".freeze
+   s.email = ["dev@datadoghq.com".freeze]
+-  s.files = ["lib/libdatadog.rb".freeze, "lib/libdatadog/version.rb".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE-3rdparty.yml".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/NOTICE".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/blazesym.h".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/common.h".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/profiling.h".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/telemetry.h".freeze, "vendor/libdatado
 g-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.so".freeze, "vendor/libdatadog-9.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE-3rdparty.yml".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/NOTICE".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/blazesym.h".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/common.h".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/profiling.h".freeze, "vendor/lib
 datadog-9.0.0/aarch64-linux/libdatadog-aarch!
 64-unknown-linux-gnu/include/datadog/telemetry.h".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so".freeze, "vendor/libdatadog-9.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE-3rdparty.yml".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-mus
 l/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so".freeze, "vendor/libdatadog-9.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE-3rdparty.yml".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/li
 bdatadog-x86_64-unknown-linux-gnu/include/da!
 tadog/com!
 mon.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so".freeze, "vendor/libdatadog-9.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc".freeze]
++  s.files = ["lib/libdatadog.rb".freeze, "lib/libdatadog/version.rb".freeze]
+   s.homepage = "https://docs.datadoghq.com/tracing/".freeze
+   s.licenses = ["Apache-2.0".freeze]
+   s.required_ruby_version = Gem::Requirement.new(">= 2.1.0".freeze)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406180410.45I4AELx088630>