Skip to content

Commit

Permalink
devel/py-ddtrace: Update to 1.12.2
Browse files Browse the repository at this point in the history
- Convert to USE_PYTHON=pep517

Changes:	https://github.com/DataDog/dd-trace-py/releases
  • Loading branch information
sunpoet committed May 2, 2023
1 parent 35ab95c commit 571e3d5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
8 changes: 5 additions & 3 deletions 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}
Expand All @@ -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} \
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
9 changes: 9 additions & 0 deletions 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]

0 comments on commit 571e3d5

Please sign in to comment.