git: 165bd0e3835c - main - devel/py-ddtrace: Update to 1.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 29 Jun 2022 16:35:45 UTC
The branch main has been updated by sunpoet:

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

commit 165bd0e3835cc8ca25aad9e9ce50accf9cd6187f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-29 16:28:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-29 16:32:40 +0000

    devel/py-ddtrace: Update to 1.2.0
    
    Changes:        https://github.com/DataDog/dd-trace-py/releases
---
 devel/py-ddtrace/Makefile | 17 ++++++++++++-----
 devel/py-ddtrace/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/devel/py-ddtrace/Makefile b/devel/py-ddtrace/Makefile
index b0e03531522e..3a32fcdc40d1 100644
--- a/devel/py-ddtrace/Makefile
+++ b/devel/py-ddtrace/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	ddtrace
-PORTVERSION=	1.1.4
+PORTVERSION=	1.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,11 +15,12 @@ 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}ddsketch>=2.0.1:devel/py-ddsketch@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}protobuf>=3,1<4,1:devel/py-protobuf@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bytecode>=0:devel/py-bytecode@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ddsketch>=2.0.1:devel/py-ddsketch@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}protobuf>=3,1:devel/py-protobuf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tenacity>=5:devel/py-tenacity@${PY_FLAVOR}
 
-USES=		compiler:c11 python:3.6+
+USES=		compiler:c11 python:3.7+
 USE_PYTHON=	autoplist concurrent cython distutils
 
 OPTIONS_DEFINE=	OPENTRACING
@@ -28,7 +29,13 @@ OPENTRACING_DESC=	OpenTracing support
 
 OPENTRACING_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}opentracing>=2.0.0:devel/py-opentracing@${PY_FLAVOR}
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-ddtrace/distinfo b/devel/py-ddtrace/distinfo
index 28afba856cc2..7f8bca64418d 100644
--- a/devel/py-ddtrace/distinfo
+++ b/devel/py-ddtrace/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653925948
-SHA256 (ddtrace-1.1.4.tar.gz) = 5aa5be16d2a1192d7854fec55278fd745e6ad6858f63c7fc75b16cfca875cb62
-SIZE (ddtrace-1.1.4.tar.gz) = 1693570
+TIMESTAMP = 1656092926
+SHA256 (ddtrace-1.2.0.tar.gz) = feb7abe2044e02d0804e39daa5f4bf76fc071b2dcc1af582eaf2a43237025b9b
+SIZE (ddtrace-1.2.0.tar.gz) = 1737516