git: 14684f49f681 - main - math/py-disjoint-set: update 0.8.0 → 0.9.0
Yuri Victorovich <[email protected]> Sun, 02 Aug 2026 00:26:10 +0000
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=14684f49f6813e48c693bda9edb9bf68ccb99325 commit 14684f49f6813e48c693bda9edb9bf68ccb99325 Author: Yuri Victorovich <[email protected]> AuthorDate: 2026-08-01 22:14:56 +0000 Commit: Yuri Victorovich <[email protected]> CommitDate: 2026-08-02 00:25:49 +0000 math/py-disjoint-set: update 0.8.0 → 0.9.0 --- math/py-disjoint-set/Makefile | 11 ++++++++--- math/py-disjoint-set/distinfo | 6 +++--- math/py-disjoint-set/files/patch-pyproject.toml | 23 +++++++++++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/math/py-disjoint-set/Makefile b/math/py-disjoint-set/Makefile index 1900709940e0..33bbefc4aa5a 100644 --- a/math/py-disjoint-set/Makefile +++ b/math/py-disjoint-set/Makefile @@ -1,6 +1,5 @@ PORTNAME= disjoint-set -DISTVERSION= 0.8.0 -PORTREVISION= 1 +DISTVERSION= 0.9.0 CATEGORIES= math MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +11,17 @@ WWW= https://github.com/mrapacz/disjoint-set LICENSE= MIT +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} + USES= python -USE_PYTHON= distutils autoplist pytest +USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +# tests as of 0.9.0: 1 passed, 1 warning + .include <bsd.port.mk> diff --git a/math/py-disjoint-set/distinfo b/math/py-disjoint-set/distinfo index bf2c9d9ad977..e90bc2de8324 100644 --- a/math/py-disjoint-set/distinfo +++ b/math/py-disjoint-set/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712367071 -SHA256 (disjoint_set-0.8.0.tar.gz) = ce37119ca6be07671c4e51410a28511193ec168580ff373b0819d31b34b47728 -SIZE (disjoint_set-0.8.0.tar.gz) = 5939 +TIMESTAMP = 1785617534 +SHA256 (disjoint_set-0.9.0.tar.gz) = f9640f906824d6c3bf5f92597616245112b953125d73f60490d49124ba731585 +SIZE (disjoint_set-0.9.0.tar.gz) = 3537 diff --git a/math/py-disjoint-set/files/patch-pyproject.toml b/math/py-disjoint-set/files/patch-pyproject.toml new file mode 100644 index 000000000000..4ed884d5ee66 --- /dev/null +++ b/math/py-disjoint-set/files/patch-pyproject.toml @@ -0,0 +1,23 @@ +-- Use setuptools instead of uv_build as the build backend, because uv_build +-- is not available as a FreeBSD port and the package is pure Python. +-- Also use a PEP 621 compliant license declaration for the current setuptools. + +--- pyproject.toml.orig 1970-01-01 00:00:00 UTC ++++ pyproject.toml +@@ -5,7 +5,7 @@ readme = "README.md" + authors = [{ name = "Maciej Rapacz", email = "[email protected]" }] + requires-python = ">=3.10,<4" + readme = "README.md" +-license = "MIT" ++license = {text = "MIT"} + classifiers = [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", +@@ -33,5 +33,5 @@ module-root = "" + module-root = "" + + [build-system] +-requires = ["uv_build>=0.8.24,<0.9.0"] +-build-backend = "uv_build" ++requires = ["setuptools"] ++build-backend = "setuptools.build_meta"