git: 571e3d5d00d0 - main - devel/py-ddtrace: Update to 1.12.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 May 2023 16:27:58 UTC
The branch main has been updated by sunpoet:

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

commit 571e3d5d00d0ece90ecc72b3cc7082041cf6d3d6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-02 16:20:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-02 16:20:02 +0000

    devel/py-ddtrace: Update to 1.12.2
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/DataDog/dd-trace-py/releases
---
 devel/py-ddtrace/Makefile                   | 8 +++++---
 devel/py-ddtrace/distinfo                   | 6 +++---
 devel/py-ddtrace/files/patch-pyproject.toml | 9 +++++++++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/devel/py-ddtrace/Makefile b/devel/py-ddtrace/Makefile
index d76d44acf4d0..18f0c07d265e 100644
--- a/devel/py-ddtrace/Makefile
+++ b/devel/py-ddtrace/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ddtrace
-PORTVERSION=	1.12.1
+PORTVERSION=	1.12.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,9 @@ LICENSE_COMB=	dual
 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}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_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} \
@@ -27,7 +29,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=20:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR}
 
 USES=		compiler:c++17-lang python:3.8+
-USE_PYTHON=	autoplist concurrent cython distutils
+USE_PYTHON=	autoplist concurrent cython pep517
 
 OPTIONS_DEFINE=	OPENTRACING
 OPTIONS_DEFAULT=OPENTRACING
diff --git a/devel/py-ddtrace/distinfo b/devel/py-ddtrace/distinfo
index 053c3ea1f73f..6f230d25abe2 100644
--- a/devel/py-ddtrace/distinfo
+++ b/devel/py-ddtrace/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682616666
-SHA256 (ddtrace-1.12.1.tar.gz) = 0c8e304d0b9decf25e7602bcce7c915ba32969b2648cd09394df3cdf0a98eb9d
-SIZE (ddtrace-1.12.1.tar.gz) = 2186754
+TIMESTAMP = 1682903078
+SHA256 (ddtrace-1.12.2.tar.gz) = dff3fc3909938e6af1983e728d7b5952cfa936aa0ba9acbad11c324c0fcdbe4c
+SIZE (ddtrace-1.12.2.tar.gz) = 2190216
diff --git a/devel/py-ddtrace/files/patch-pyproject.toml b/devel/py-ddtrace/files/patch-pyproject.toml
new file mode 100644
index 000000000000..7abb97524323
--- /dev/null
+++ b/devel/py-ddtrace/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2023-04-28 22:12:26 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools >= 40.6.0", "setuptools_scm[toml] >=4,<6.1", "cython"]
++requires = ["setuptools >= 40.6.0", "setuptools_scm[toml] >=4", "cython"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.setuptools_scm]