aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-26 20:34:16 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-26 20:34:16 +0000
commitbe7d4460fc4bedbe98de6686c1e20b8a5c099406 (patch)
treef5bd239ef689f3f5f5ad250957c47351b3902bfc
parentbbbbb16dd70e249183fcf24751c7e347d1b24439 (diff)
downloadports-be7d4460fc4bedbe98de6686c1e20b8a5c099406.tar.gz
ports-be7d4460fc4bedbe98de6686c1e20b8a5c099406.zip
devel/py-ddtrace: Update to 1.18.2
- Use latest abseil (20230802.0) - Remove powerpc patch (already in newer abseil) Changes: https://github.com/DataDog/dd-trace-py/releases https://ddtrace.readthedocs.io/en/stable/release_notes.html
-rw-r--r--devel/py-ddtrace/Makefile6
-rw-r--r--devel/py-ddtrace/distinfo10
-rw-r--r--devel/py-ddtrace/files/patch-ddtrace_appsec_iast___taint__tracking_abseil-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc13
3 files changed, 8 insertions, 21 deletions
diff --git a/devel/py-ddtrace/Makefile b/devel/py-ddtrace/Makefile
index f2dc9490ce95..c070a3a8e5b2 100644
--- a/devel/py-ddtrace/Makefile
+++ b/devel/py-ddtrace/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ddtrace
-PORTVERSION= 1.18.0
+PORTVERSION= 1.18.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -34,7 +34,7 @@ USES= compiler:c++17-lang python
USE_PYTHON= autoplist concurrent cython pep517
USE_GITHUB= nodefault
-GH_TUPLE= abseil:abseil-cpp:20211102.0:abseil_abseil_cpp/ddtrace/appsec/iast/_taint_tracking/
+GH_TUPLE= abseil:abseil-cpp:20230802.0:abseil_abseil_cpp/ddtrace/appsec/iast/_taint_tracking/
PORTSCOUT= limit:^[0-9]*\.[0-9]*\.[0-9]*
@@ -45,7 +45,7 @@ OPENTRACING_DESC= OpenTracing support
OPENTRACING_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}opentracing>=2.0.0:devel/py-opentracing@${PY_FLAVOR}
post-patch:
- @${MV} ${WRKSRC}/ddtrace/appsec/iast/_taint_tracking/abseil-cpp-20211102.0/ ${WRKSRC}/ddtrace/appsec/iast/_taint_tracking/_deps/
+ @${MV} ${WRKSRC}/ddtrace/appsec/iast/_taint_tracking/abseil-cpp-20230802.0/ ${WRKSRC}/ddtrace/appsec/iast/_taint_tracking/_deps/
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-ddtrace/distinfo b/devel/py-ddtrace/distinfo
index 2cc600fd5aa3..6e0352ad020c 100644
--- a/devel/py-ddtrace/distinfo
+++ b/devel/py-ddtrace/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1692211717
-SHA256 (ddtrace-1.18.0.tar.gz) = 21ecd7fa81a45ed675fc63c14659743f92c6f29d772a06aa1ac0d0cb0835d4cb
-SIZE (ddtrace-1.18.0.tar.gz) = 6199816
-SHA256 (abseil-abseil-cpp-20211102.0_GH0.tar.gz) = dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4
-SIZE (abseil-abseil-cpp-20211102.0_GH0.tar.gz) = 1884080
+TIMESTAMP = 1693056809
+SHA256 (ddtrace-1.18.2.tar.gz) = 2792c0232823070fd06873c766af54dc70704cc890dd4e79a70199f6d29417a8
+SIZE (ddtrace-1.18.2.tar.gz) = 6203137
+SHA256 (abseil-abseil-cpp-20230802.0_GH0.tar.gz) = 59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5
+SIZE (abseil-abseil-cpp-20230802.0_GH0.tar.gz) = 2156669
diff --git a/devel/py-ddtrace/files/patch-ddtrace_appsec_iast___taint__tracking_abseil-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc b/devel/py-ddtrace/files/patch-ddtrace_appsec_iast___taint__tracking_abseil-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc
deleted file mode 100644
index e6d0459d520c..000000000000
--- a/devel/py-ddtrace/files/patch-ddtrace_appsec_iast___taint__tracking_abseil-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc
+++ /dev/null
@@ -1,13 +0,0 @@
---- ddtrace/appsec/iast/_taint_tracking/abseil-cpp-20211102.0/absl/base/internal/unscaledcycleclock.cc.orig 2023-05-10 10:35:21 UTC
-+++ ddtrace/appsec/iast/_taint_tracking/abseil-cpp-20211102.0/absl/base/internal/unscaledcycleclock.cc
-@@ -24,8 +24,9 @@
- #ifdef __GLIBC__
- #include <sys/platform/ppc.h>
- #elif defined(__FreeBSD__)
--#include <sys/sysctl.h>
-+#include "absl/base/call_once.h"
- #include <sys/types.h>
-+#include <sys/sysctl.h>
- #endif
- #endif
-