git: 21f315010724 - main - devel/py-ddtrace: Update to 1.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:26:57 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=21f315010724195639eb3a401e5e4f624935e60f commit 21f315010724195639eb3a401e5e4f624935e60f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:42:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:20:34 +0000 devel/py-ddtrace: Update to 1.8.0 Changes: https://github.com/DataDog/dd-trace-py/releases --- devel/py-ddtrace/Makefile | 6 ++--- devel/py-ddtrace/distinfo | 6 ++--- devel/py-ddtrace/files/patch-setup.py | 42 ++++++++--------------------------- 3 files changed, 15 insertions(+), 39 deletions(-) diff --git a/devel/py-ddtrace/Makefile b/devel/py-ddtrace/Makefile index dabb047bc770..2990144631cf 100644 --- a/devel/py-ddtrace/Makefile +++ b/devel/py-ddtrace/Makefile @@ -1,5 +1,5 @@ PORTNAME= ddtrace -PORTVERSION= 1.7.3 +PORTVERSION= 1.8.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +14,7 @@ LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.Apache LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=20:devel/py-attrs@${PY_FLAVOR} \ +xRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=20:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bytecode>=0:devel/py-bytecode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cattrs>=0:devel/py-cattrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ddsketch>=2.0.1:devel/py-ddsketch@${PY_FLAVOR} \ @@ -32,7 +32,7 @@ OPTIONS_DEFINE= OPENTRACING OPTIONS_DEFAULT=OPENTRACING OPENTRACING_DESC= OpenTracing support -OPENTRACING_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}opentracing>=2.0.0:devel/py-opentracing@${PY_FLAVOR} +xOPENTRACING_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}opentracing>=2.0.0:devel/py-opentracing@${PY_FLAVOR} .include <bsd.port.pre.mk> diff --git a/devel/py-ddtrace/distinfo b/devel/py-ddtrace/distinfo index d4b11dabe1d1..c554edcc58fe 100644 --- a/devel/py-ddtrace/distinfo +++ b/devel/py-ddtrace/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1675190999 -SHA256 (ddtrace-1.7.3.tar.gz) = cfa935d6eaaf774b40c46f74fdbc1c4125f4111a0f8dc49fc8c1d6a68724427b -SIZE (ddtrace-1.7.3.tar.gz) = 1974371 +TIMESTAMP = 1677771201 +SHA256 (ddtrace-1.8.0.tar.gz) = 6adcfdf69bfdd75983abbe5715ec1a4e7ab34495c1fae43305122f1263b4a7a1 +SIZE (ddtrace-1.8.0.tar.gz) = 1945779 diff --git a/devel/py-ddtrace/files/patch-setup.py b/devel/py-ddtrace/files/patch-setup.py index 7243534de981..ef3efd87c425 100644 --- a/devel/py-ddtrace/files/patch-setup.py +++ b/devel/py-ddtrace/files/patch-setup.py @@ -1,34 +1,10 @@ ---- setup.py.orig 2022-11-15 19:39:16 UTC +--- setup.py.orig 2023-02-17 21:33:11 UTC +++ setup.py -@@ -260,7 +260,6 @@ setup( - "pathlib2; python_version<'3.5'", - "jsonschema", - "xmltodict>=0.12", -- "ipaddress; python_version<'3.7'", - "envier", - ] - + bytecode, -@@ -296,7 +295,7 @@ setup( - "Programming Language :: Python :: 3.11", - ], - use_scm_version={"write_to": "ddtrace/_version.py"}, -- setup_requires=["setuptools_scm[toml]>=4,<6.1", "cython", "cmake", "ninja"], -+ setup_requires=["setuptools_scm[toml]>=4", "cython"], - ext_modules=ext_modules - + cythonize( - [ -@@ -347,14 +346,6 @@ setup( - "ddtrace.profiling._build", - sources=["ddtrace/profiling/_build.pyx"], - language="c", -- ), -- Cython.Distutils.Extension( -- "ddtrace.appsec._ddwaf", -- sources=["ddtrace/appsec/_ddwaf.pyx"], -- include_dirs=["ddtrace/appsec/include"], -- library_dirs=["ddtrace/appsec/lib"], -- libraries=ddwaf_libraries, -- language="c++", - ), - ], - compile_time_env={ +@@ -366,7 +366,6 @@ setup( + cmdclass={ + "test": Tox, + "build_ext": BuildExtCommand, +- "build_py": LibDDWaf_Download, + "clean": CleanLibraries, + }, + entry_points={