diff options
Diffstat (limited to 'devel/py-cbor2')
-rw-r--r-- | devel/py-cbor2/Makefile | 13 | ||||
-rw-r--r-- | devel/py-cbor2/distinfo | 6 | ||||
-rw-r--r-- | devel/py-cbor2/files/patch-pyproject.toml | 28 |
3 files changed, 35 insertions, 12 deletions
diff --git a/devel/py-cbor2/Makefile b/devel/py-cbor2/Makefile index c89971825a6f..291eddb0765d 100644 --- a/devel/py-cbor2/Makefile +++ b/devel/py-cbor2/Makefile @@ -1,6 +1,5 @@ PORTNAME= cbor2 -DISTVERSION= 5.6.5 -PORTREVISION= 1 +DISTVERSION= 5.7.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,14 +14,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cbor>0:devel/py-cbor@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}objgraph>0:devel/py-objgraph@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=7:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent pep517 - -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs +USE_PYTHON= autoplist concurrent pep517 pytest .include <bsd.port.mk> diff --git a/devel/py-cbor2/distinfo b/devel/py-cbor2/distinfo index e79484243226..36db16454c23 100644 --- a/devel/py-cbor2/distinfo +++ b/devel/py-cbor2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1728570063 -SHA256 (cbor2-5.6.5.tar.gz) = b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09 -SIZE (cbor2-5.6.5.tar.gz) = 100886 +TIMESTAMP = 1755255944 +SHA256 (cbor2-5.7.0.tar.gz) = 3f6d843f4db4d0ec501c46453c22a4fbebb1abfb5b740e1bcab34c615cd7406b +SIZE (cbor2-5.7.0.tar.gz) = 102374 diff --git a/devel/py-cbor2/files/patch-pyproject.toml b/devel/py-cbor2/files/patch-pyproject.toml new file mode 100644 index 000000000000..ca0c70df0e8a --- /dev/null +++ b/devel/py-cbor2/files/patch-pyproject.toml @@ -0,0 +1,28 @@ +--- pyproject.toml.orig 2025-08-17 10:46:46 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ requires = [ + [build-system] + requires = [ +- "setuptools >= 77", ++ "setuptools >= 63", + "setuptools_scm[toml] >= 6.4" + ] + build-backend = "setuptools.build_meta" +@@ -10,7 +10,6 @@ authors = [{name = "Alex Grönholm", email = "alex.gro + description = "CBOR (de)serializer with extensive tag support" + readme = "README.rst" + authors = [{name = "Alex Grönholm", email = "alex.gronholm@nextday.fi"}] +-license = "MIT" + keywords = ["serialization", "cbor"] + classifiers = [ + "Development Status :: 5 - Production/Stable", +@@ -27,6 +26,9 @@ dynamic = ["version"] + ] + requires-python = ">= 3.9" + dynamic = ["version"] ++ ++[project.license] ++text = "MIT" + + [project.urls] + Changelog = "https://cbor2.readthedocs.io/en/latest/versionhistory.html" |