git: d8085b22bfe4 - main - devel/py-ddtrace: Update to 2.14.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 14 Oct 2024 05:28:18 UTC
The branch main has been updated by sunpoet:

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

commit d8085b22bfe45fc8aab99a2919aeb6a97992b9b8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-14 04:49:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-14 05:25:28 +0000

    devel/py-ddtrace: Update to 2.14.2
    
    Changes:        https://github.com/DataDog/dd-trace-py/releases
---
 devel/py-ddtrace/Makefile                          |  4 ++--
 devel/py-ddtrace/distinfo                          |  6 +++---
 ...ace-appsec-_iast-_taint_tracking-CMakeLists.txt | 22 +++++++++++-----------
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/devel/py-ddtrace/Makefile b/devel/py-ddtrace/Makefile
index 16ac9a606e1a..0b642148c91c 100644
--- a/devel/py-ddtrace/Makefile
+++ b/devel/py-ddtrace/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ddtrace
-PORTVERSION=	2.13.0
+PORTVERSION=	2.14.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/abseil/abseil-cpp/releases/download/${ABSEIL_VERSION}/:abseil
@@ -53,7 +53,7 @@ OPENAI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tiktoken>=0:textproc/py-tiktoken@${PY
 OPENTRACING_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}opentracing>=2.0.0:devel/py-opentracing@${PY_FLAVOR}
 
 post-patch:
-	${MV} ${WRKDIR}/abseil-cpp-${ABSEIL_VERSION}/ ${WRKSRC}/ddtrace/appsec/_iast/_taint_tracking/_deps/
+	${MV} ${WRKDIR}/abseil-cpp-${ABSEIL_VERSION}/ ${WRKSRC}/ddtrace/appsec/_iast/_taint_tracking/absl/
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-ddtrace/distinfo b/devel/py-ddtrace/distinfo
index d12406aa0813..f595df6dd86e 100644
--- a/devel/py-ddtrace/distinfo
+++ b/devel/py-ddtrace/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1727718416
-SHA256 (ddtrace-2.13.0.tar.gz) = 9ddb25786fbb151660d36614f5596de9ab90c4083e8b980c4e06a4d7b54dfbcd
-SIZE (ddtrace-2.13.0.tar.gz) = 7582315
+TIMESTAMP = 1728632334
+SHA256 (ddtrace-2.14.2.tar.gz) = 6dd9aaebfefa9a05bf798d8262ff92edf6223ae6a459cd5403102c626e3f2699
+SIZE (ddtrace-2.14.2.tar.gz) = 7691264
 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
diff --git a/devel/py-ddtrace/files/patch-ddtrace-appsec-_iast-_taint_tracking-CMakeLists.txt b/devel/py-ddtrace/files/patch-ddtrace-appsec-_iast-_taint_tracking-CMakeLists.txt
index f0a51a7cb23c..b2adc706a73b 100644
--- a/devel/py-ddtrace/files/patch-ddtrace-appsec-_iast-_taint_tracking-CMakeLists.txt
+++ b/devel/py-ddtrace/files/patch-ddtrace-appsec-_iast-_taint_tracking-CMakeLists.txt
@@ -1,15 +1,15 @@
---- ddtrace/appsec/_iast/_taint_tracking/CMakeLists.txt.orig	2024-04-04 15:25:08 UTC
+--- ddtrace/appsec/_iast/_taint_tracking/CMakeLists.txt.orig	2024-10-02 18:49:09 UTC
 +++ ddtrace/appsec/_iast/_taint_tracking/CMakeLists.txt
-@@ -24,11 +24,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release")
+@@ -25,11 +25,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Release")
  
- if(CMAKE_BUILD_TYPE STREQUAL "Release")
+ if (CMAKE_BUILD_TYPE STREQUAL "Release")
      message("Release mode: using abseil")
--        FetchContent_Declare(
--                absl
--                URL "https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.zip"
--        )
--        FetchContent_MakeAvailable(absl)
-+    add_subdirectory(_deps)
- else()
+-    FetchContent_Declare(
+-            absl
+-            URL "https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.zip"
+-    )
+-    FetchContent_MakeAvailable(absl)
++    add_subdirectory(absl)
+ else ()
      message("Debug mode: not using abseil")
- endif()
+ endif ()