Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2024 18:43:46 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: 999eb023d7d9 - main - devel/py-ddtrace: Update to 2.11.3
Message-ID:  <202409081843.488IhkHd037137@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=999eb023d7d9740f8dd932fe2690d952f6820154

commit 999eb023d7d9740f8dd932fe2690d952f6820154
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:18:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:37:19 +0000

    devel/py-ddtrace: Update to 2.11.3
    
    - Use latest abseil (20240722.0)
    
    Changes:        https://github.com/DataDog/dd-trace-py/releases
---
 devel/py-ddtrace/Makefile        | 29 +++++++++--------------------
 devel/py-ddtrace/Makefile.crates | 12 ++++++++++--
 devel/py-ddtrace/distinfo        | 26 +++++++++++++++++++++-----
 3 files changed, 40 insertions(+), 27 deletions(-)

diff --git a/devel/py-ddtrace/Makefile b/devel/py-ddtrace/Makefile
index 7cdca9add8ac..eaad6397c0ac 100644
--- a/devel/py-ddtrace/Makefile
+++ b/devel/py-ddtrace/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	ddtrace
-PORTVERSION=	2.10.5
+PORTVERSION=	2.11.3
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
-		https://github.com/abseil/abseil-cpp/releases/download/20240116.2/:abseil
+		https://github.com/abseil/abseil-cpp/releases/download/${ABSEIL_VERSION}/:abseil
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTFILES=	ddtrace-${PORTVERSION}${EXTRACT_SUFX} \
-		abseil-cpp-20240116.2${EXTRACT_SUFX}:abseil
+		abseil-cpp-${ABSEIL_VERSION}${EXTRACT_SUFX}:abseil
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Datadog APM client library
@@ -22,14 +22,10 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=4:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libddwaf.so:devel/libddwaf
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=20:devel/py-attrs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}bytecode>=0.15.0:devel/py-bytecode@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cattrs>=0:devel/py-cattrs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ddsketch>=3.0.0:devel/py-ddsketch@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bytecode>=0.15.0:devel/py-bytecode@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}envier>=0.5<1:devel/py-envier@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1:devel/py-opentelemetry-api@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}protobuf>=3,1:devel/py-protobuf@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR}
 
@@ -40,13 +36,12 @@ CARGO_BUILD=	no
 CARGO_CARGOLOCK=${WRKSRC}/src/core/Cargo.lock
 CARGO_CARGOTOML=${WRKSRC}/src/core/Cargo.toml
 CARGO_INSTALL=	no
-MAKE_ENV=	DD_STACK_V2_REQUIRED=yes
+
+ABSEIL_VERSION=	20240722.0
 
 PORTSCOUT=	limit:^[0-9]*\.[0-9]*\.[0-9]*
 
-SHEBANG_FILES=	ddtrace/internal/datadog/profiling/cmake/tools/fetch_infer.sh \
-		ddtrace/internal/datadog/profiling/cmake/tools/fetch_libdatadog.sh \
-		ddtrace/internal/datadog/profiling/setup_custom.sh
+SHEBANG_GLOB=	*.sh
 
 OPTIONS_DEFINE=	OPENAI OPENTRACING
 OPTIONS_DEFAULT=OPENAI OPENTRACING
@@ -56,16 +51,10 @@ OPENTRACING_DESC=	OpenTracing support
 OPENAI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tiktoken>=0:textproc/py-tiktoken@${PY_FLAVOR}
 OPENTRACING_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}opentracing>=2.0.0:devel/py-opentracing@${PY_FLAVOR}
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} >= 31200
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
-.endif
-
 post-patch:
-	${MV} ${WRKDIR}/abseil-cpp-20240116.2/ ${WRKSRC}/ddtrace/appsec/_iast/_taint_tracking/_deps/
+	${MV} ${WRKDIR}/abseil-cpp-${ABSEIL_VERSION}/ ${WRKSRC}/ddtrace/appsec/_iast/_taint_tracking/_deps/
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-ddtrace/Makefile.crates b/devel/py-ddtrace/Makefile.crates
index c90fc2494356..beb9861100c0 100644
--- a/devel/py-ddtrace/Makefile.crates
+++ b/devel/py-ddtrace/Makefile.crates
@@ -1,8 +1,12 @@
-CARGO_CRATES=	autocfg-1.3.0 \
+CARGO_CRATES=	anyhow-1.0.86 \
+		autocfg-1.3.0 \
 		bitflags-2.5.0 \
+		bytes-1.6.1 \
 		cfg-if-1.0.0 \
+		either-1.13.0 \
 		heck-0.4.1 \
 		indoc-2.0.5 \
+		itertools-0.10.5 \
 		libc-0.2.154 \
 		lock_api-0.4.12 \
 		memoffset-0.9.1 \
@@ -11,6 +15,8 @@ CARGO_CRATES=	autocfg-1.3.0 \
 		parking_lot_core-0.9.10 \
 		portable-atomic-1.6.0 \
 		proc-macro2-1.0.82 \
+		prost-0.11.9 \
+		prost-derive-0.11.9 \
 		pyo3-0.21.2 \
 		pyo3-build-config-0.21.2 \
 		pyo3-ffi-0.21.2 \
@@ -20,6 +26,7 @@ CARGO_CRATES=	autocfg-1.3.0 \
 		redox_syscall-0.5.1 \
 		scopeguard-1.2.0 \
 		smallvec-1.13.2 \
+		syn-1.0.109 \
 		syn-2.0.61 \
 		target-lexicon-0.12.14 \
 		unicode-ident-1.0.12 \
@@ -32,4 +39,5 @@ CARGO_CRATES=	autocfg-1.3.0 \
 		windows_i686_msvc-0.52.5 \
 		windows_x86_64_gnu-0.52.5 \
 		windows_x86_64_gnullvm-0.52.5 \
-		windows_x86_64_msvc-0.52.5
+		windows_x86_64_msvc-0.52.5 \
+		datadog-ddsketch@git+https://github.com/DataDog/libdatadog?rev=bfeef6d3f079c4f3f191176068353f82d5702b1d\#bfeef6d3f079c4f3f191176068353f82d5702b1d
diff --git a/devel/py-ddtrace/distinfo b/devel/py-ddtrace/distinfo
index bc274f579c8f..3ce2b94f6d16 100644
--- a/devel/py-ddtrace/distinfo
+++ b/devel/py-ddtrace/distinfo
@@ -1,18 +1,26 @@
-TIMESTAMP = 1724084584
-SHA256 (ddtrace-2.10.5.tar.gz) = 989243e237d473e2ee198bddfb215f1236914cd591f5b97e2cb0fc14d8b5a280
-SIZE (ddtrace-2.10.5.tar.gz) = 7350177
-SHA256 (abseil-cpp-20240116.2.tar.gz) = 733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
-SIZE (abseil-cpp-20240116.2.tar.gz) = 2151288
+TIMESTAMP = 1725559701
+SHA256 (ddtrace-2.11.3.tar.gz) = ffa2b6e332cd9e0bcb4551525f8223581f1d1ea0e2732d716d1e5a60bcc2bcfe
+SIZE (ddtrace-2.11.3.tar.gz) = 7493414
+SHA256 (abseil-cpp-20240722.0.tar.gz) = f50e5ac311a81382da7fa75b97310e4b9006474f9560ac46f54a9967f07d4ae3
+SIZE (abseil-cpp-20240722.0.tar.gz) = 2242861
+SHA256 (rust/crates/anyhow-1.0.86.crate) = b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da
+SIZE (rust/crates/anyhow-1.0.86.crate) = 46741
 SHA256 (rust/crates/autocfg-1.3.0.crate) = 0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0
 SIZE (rust/crates/autocfg-1.3.0.crate) = 16524
 SHA256 (rust/crates/bitflags-2.5.0.crate) = cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1
 SIZE (rust/crates/bitflags-2.5.0.crate) = 43821
+SHA256 (rust/crates/bytes-1.6.1.crate) = a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952
+SIZE (rust/crates/bytes-1.6.1.crate) = 60723
 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
 SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
+SHA256 (rust/crates/either-1.13.0.crate) = 60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0
+SIZE (rust/crates/either-1.13.0.crate) = 19169
 SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
 SIZE (rust/crates/heck-0.4.1.crate) = 11567
 SHA256 (rust/crates/indoc-2.0.5.crate) = b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5
 SIZE (rust/crates/indoc-2.0.5.crate) = 14396
+SHA256 (rust/crates/itertools-0.10.5.crate) = b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473
+SIZE (rust/crates/itertools-0.10.5.crate) = 115354
 SHA256 (rust/crates/libc-0.2.154.crate) = ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346
 SIZE (rust/crates/libc-0.2.154.crate) = 743304
 SHA256 (rust/crates/lock_api-0.4.12.crate) = 07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17
@@ -29,6 +37,10 @@ SHA256 (rust/crates/portable-atomic-1.6.0.crate) = 7170ef9988bc169ba16dd36a7fa04
 SIZE (rust/crates/portable-atomic-1.6.0.crate) = 140689
 SHA256 (rust/crates/proc-macro2-1.0.82.crate) = 8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b
 SIZE (rust/crates/proc-macro2-1.0.82.crate) = 48452
+SHA256 (rust/crates/prost-0.11.9.crate) = 0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd
+SIZE (rust/crates/prost-0.11.9.crate) = 28958
+SHA256 (rust/crates/prost-derive-0.11.9.crate) = e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4
+SIZE (rust/crates/prost-derive-0.11.9.crate) = 19513
 SHA256 (rust/crates/pyo3-0.21.2.crate) = a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8
 SIZE (rust/crates/pyo3-0.21.2.crate) = 504574
 SHA256 (rust/crates/pyo3-build-config-0.21.2.crate) = 7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50
@@ -47,6 +59,8 @@ SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7
 SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619
 SHA256 (rust/crates/smallvec-1.13.2.crate) = 3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67
 SIZE (rust/crates/smallvec-1.13.2.crate) = 35216
+SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237
+SIZE (rust/crates/syn-1.0.109.crate) = 237611
 SHA256 (rust/crates/syn-2.0.61.crate) = c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9
 SIZE (rust/crates/syn-2.0.61.crate) = 257199
 SHA256 (rust/crates/target-lexicon-0.12.14.crate) = e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f
@@ -73,3 +87,5 @@ SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 852298e482cd67c356ddd
 SIZE (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 433246
 SHA256 (rust/crates/windows_x86_64_msvc-0.52.5.crate) = bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0
 SIZE (rust/crates/windows_x86_64_msvc-0.52.5.crate) = 827905
+SHA256 (DataDog-libdatadog-bfeef6d3f079c4f3f191176068353f82d5702b1d_GH0.tar.gz) = f4cca33d6e02e4e267edee06a66d65bdaac479830d3153014ff0946907d31d38
+SIZE (DataDog-libdatadog-bfeef6d3f079c4f3f191176068353f82d5702b1d_GH0.tar.gz) = 783268



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