Date: Sun, 05 Jul 2026 12:35:40 +0000 From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: cf0b51dbf36e - main - devel/py-cbor2: Update version 5.9.0=>6.0.0 Message-ID: <6a4a4f9c.32be6.581d04b5@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf0b51dbf36e2e9d5bf362f5f8433497858c2069 commit cf0b51dbf36e2e9d5bf362f5f8433497858c2069 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2026-07-05 01:01:34 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2026-07-05 12:35:09 +0000 devel/py-cbor2: Update version 5.9.0=>6.0.0 Changelog: https://github.com/agronholm/cbor2/releases/tag/6.0.0 --- devel/py-cbor2/Makefile | 18 ++++++++-- devel/py-cbor2/Makefile.crates | 25 ++++++++++++++ devel/py-cbor2/distinfo | 56 +++++++++++++++++++++++++++++-- devel/py-cbor2/files/patch-pyproject.toml | 28 ---------------- 4 files changed, 93 insertions(+), 34 deletions(-) diff --git a/devel/py-cbor2/Makefile b/devel/py-cbor2/Makefile index 5a47183b6bd9..b4f1ff94e261 100644 --- a/devel/py-cbor2/Makefile +++ b/devel/py-cbor2/Makefile @@ -1,8 +1,9 @@ PORTNAME= cbor2 -DISTVERSION= 5.9.0 +DISTVERSION= 6.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= bofh@FreeBSD.org COMMENT= Pure Python CBOR (de)serializer with extensive tag support @@ -12,13 +13,24 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-rust>0:devel/py-setuptools-rust@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4:devel/py-setuptools-scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=7:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} -USES= cpe python +USES= cpe cargo python CPE_VENDOR= agronholm +CARGO_CARGOLOCK=${WRKSRC}/rust/Cargo.lock +CARGO_CARGOTOML=${WRKSRC}/rust/Cargo.toml +CARGO_BUILD= no +CARGO_INSTALL= no +CARGO_SRC_SUBDIR= rust +CARGO_TEST= no USE_PYTHON= autoplist concurrent pep517 pytest +post-patch: + @${REINPLACE_CMD} '/license-files/d; s|^license = "MIT"|license = { text = "MIT" }|; s|77|63|g' \ + ${WRKSRC}/pyproject.toml + .include <bsd.port.mk> diff --git a/devel/py-cbor2/Makefile.crates b/devel/py-cbor2/Makefile.crates new file mode 100644 index 000000000000..c9bd4af8ff64 --- /dev/null +++ b/devel/py-cbor2/Makefile.crates @@ -0,0 +1,25 @@ +CARGO_CRATES= autocfg-1.5.0 \ + bigdecimal-0.4.10 \ + cfg-if-1.0.4 \ + crunchy-0.2.4 \ + half-2.7.1 \ + heck-0.5.0 \ + libc-0.2.182 \ + libm-0.2.16 \ + num-bigint-0.4.6 \ + num-integer-0.1.46 \ + num-traits-0.2.19 \ + once_cell-1.21.3 \ + portable-atomic-1.13.1 \ + proc-macro2-1.0.106 \ + pyo3-0.28.2 \ + pyo3-build-config-0.28.2 \ + pyo3-ffi-0.28.2 \ + pyo3-macros-0.28.2 \ + pyo3-macros-backend-0.28.2 \ + quote-1.0.44 \ + syn-2.0.117 \ + target-lexicon-0.13.5 \ + unicode-ident-1.0.24 \ + zerocopy-0.8.40 \ + zerocopy-derive-0.8.40 diff --git a/devel/py-cbor2/distinfo b/devel/py-cbor2/distinfo index 21cb820fbf4a..af826e73c79e 100644 --- a/devel/py-cbor2/distinfo +++ b/devel/py-cbor2/distinfo @@ -1,3 +1,53 @@ -TIMESTAMP = 1774372584 -SHA256 (cbor2-5.9.0.tar.gz) = 85c7a46279ac8f226e1059275221e6b3d0e370d2bb6bd0500f9780781615bcea -SIZE (cbor2-5.9.0.tar.gz) = 111231 +TIMESTAMP = 1783213116 +SHA256 (cbor2-6.0.0.tar.gz) = af371239bb047b0d4a8201a187a8c54845563988b4794651e508c143c801927a +SIZE (cbor2-6.0.0.tar.gz) = 83969 +SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 +SIZE (rust/crates/autocfg-1.5.0.crate) = 18729 +SHA256 (rust/crates/bigdecimal-0.4.10.crate) = 4d6867f1565b3aad85681f1015055b087fcfd840d6aeee6eee7f2da317603695 +SIZE (rust/crates/bigdecimal-0.4.10.crate) = 126514 +SHA256 (rust/crates/cfg-if-1.0.4.crate) = 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 +SIZE (rust/crates/cfg-if-1.0.4.crate) = 9360 +SHA256 (rust/crates/crunchy-0.2.4.crate) = 460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5 +SIZE (rust/crates/crunchy-0.2.4.crate) = 3887 +SHA256 (rust/crates/half-2.7.1.crate) = 6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b +SIZE (rust/crates/half-2.7.1.crate) = 61040 +SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea +SIZE (rust/crates/heck-0.5.0.crate) = 11517 +SHA256 (rust/crates/libc-0.2.182.crate) = 6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112 +SIZE (rust/crates/libc-0.2.182.crate) = 814873 +SHA256 (rust/crates/libm-0.2.16.crate) = b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981 +SIZE (rust/crates/libm-0.2.16.crate) = 164243 +SHA256 (rust/crates/num-bigint-0.4.6.crate) = a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9 +SIZE (rust/crates/num-bigint-0.4.6.crate) = 102801 +SHA256 (rust/crates/num-integer-0.1.46.crate) = 7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f +SIZE (rust/crates/num-integer-0.1.46.crate) = 22331 +SHA256 (rust/crates/num-traits-0.2.19.crate) = 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841 +SIZE (rust/crates/num-traits-0.2.19.crate) = 51631 +SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d +SIZE (rust/crates/once_cell-1.21.3.crate) = 34534 +SHA256 (rust/crates/portable-atomic-1.13.1.crate) = c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 +SIZE (rust/crates/portable-atomic-1.13.1.crate) = 197001 +SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 +SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765 +SHA256 (rust/crates/pyo3-0.28.2.crate) = cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1 +SIZE (rust/crates/pyo3-0.28.2.crate) = 1202843 +SHA256 (rust/crates/pyo3-build-config-0.28.2.crate) = 8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7 +SIZE (rust/crates/pyo3-build-config-0.28.2.crate) = 35958 +SHA256 (rust/crates/pyo3-ffi-0.28.2.crate) = 491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc +SIZE (rust/crates/pyo3-ffi-0.28.2.crate) = 80837 +SHA256 (rust/crates/pyo3-macros-0.28.2.crate) = f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e +SIZE (rust/crates/pyo3-macros-0.28.2.crate) = 8960 +SHA256 (rust/crates/pyo3-macros-backend-0.28.2.crate) = 22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a +SIZE (rust/crates/pyo3-macros-backend-0.28.2.crate) = 87939 +SHA256 (rust/crates/quote-1.0.44.crate) = 21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4 +SIZE (rust/crates/quote-1.0.44.crate) = 31629 +SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 +SIZE (rust/crates/syn-2.0.117.crate) = 306011 +SHA256 (rust/crates/target-lexicon-0.13.5.crate) = adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca +SIZE (rust/crates/target-lexicon-0.13.5.crate) = 26928 +SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 +SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298 +SHA256 (rust/crates/zerocopy-0.8.40.crate) = a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5 +SIZE (rust/crates/zerocopy-0.8.40.crate) = 254858 +SHA256 (rust/crates/zerocopy-derive-0.8.40.crate) = f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953 +SIZE (rust/crates/zerocopy-derive-0.8.40.crate) = 97724 diff --git a/devel/py-cbor2/files/patch-pyproject.toml b/devel/py-cbor2/files/patch-pyproject.toml deleted file mode 100644 index ca0c70df0e8a..000000000000 --- a/devel/py-cbor2/files/patch-pyproject.toml +++ /dev/null @@ -1,28 +0,0 @@ ---- 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"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a4a4f9c.32be6.581d04b5>
