Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2025 08:25:34 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ab11c5c522e9 - main - devel/py-uv-bump: New port: UV: Bump pyproject.toml dependency minimum versions to latest feasible
Message-ID:  <202510080825.5988PYR2087489@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit ab11c5c522e9551ed5e5324962d3c95011f5f4ff
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-08 08:23:46 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-08 08:25:27 +0000

    devel/py-uv-bump: New port: UV: Bump pyproject.toml dependency minimum versions to latest feasible
---
 devel/Makefile                              |  1 +
 devel/py-uv-bump/Makefile                   | 30 +++++++++++++++++++++++++++++
 devel/py-uv-bump/distinfo                   |  3 +++
 devel/py-uv-bump/files/patch-pyproject.toml | 19 ++++++++++++++++++
 devel/py-uv-bump/pkg-descr                  |  5 +++++
 5 files changed, 58 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3b3831ec279b..a50bbd6eae60 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6180,6 +6180,7 @@
     SUBDIR += py-uuid7
     SUBDIR += py-uv
     SUBDIR += py-uv-build
+    SUBDIR += py-uv-bump
     SUBDIR += py-uv-dynamic-versioning
     SUBDIR += py-uvloop
     SUBDIR += py-validate-pyproject
diff --git a/devel/py-uv-bump/Makefile b/devel/py-uv-bump/Makefile
new file mode 100644
index 000000000000..94fbe9349119
--- /dev/null
+++ b/devel/py-uv-bump/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	uv-bump
+DISTVERSION=	0.3.1
+CATEGORIES=	devel python
+#MASTER_SITES=	PYPI # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	UV: Bump pyproject.toml dependency minimum versions to latest feasible
+WWW=		https://github.com/zundertj/uv-bump
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uv-build>0:devel/py-uv-build@${PY_FLAVOR}
+RUN_DEPENDS=	uv:devel/uv
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy>=1.18.2:devel/py-mypy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=7.0.0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ruff>=0.13.2:devel/py-ruff@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist concurrent pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	zundertj
+
+NO_ARCH=	yes
+
+# tests as of 0.3.1: 8 functional tests passed (test_cli: 2/2, test_main: 6/6), 100% coverage, ~25s execution time
+
+.include <bsd.port.mk>
diff --git a/devel/py-uv-bump/distinfo b/devel/py-uv-bump/distinfo
new file mode 100644
index 000000000000..4ffdea46bf85
--- /dev/null
+++ b/devel/py-uv-bump/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759910419
+SHA256 (zundertj-uv-bump-0.3.1_GH0.tar.gz) = 52d0d6253bf86bf68e0739ae6e6433528793b54f4be0968193871c115232f277
+SIZE (zundertj-uv-bump-0.3.1_GH0.tar.gz) = 28404
diff --git a/devel/py-uv-bump/files/patch-pyproject.toml b/devel/py-uv-bump/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a0653baf244e
--- /dev/null
+++ b/devel/py-uv-bump/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+--- pyproject.toml.orig	1970-01-01 00:00:00 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["uv_build>=0.7.20,<0.8.0"]
++requires = ["uv_build>=0.7.20"]
+ build-backend = "uv_build"
+ 
+ [project]
+@@ -12,8 +12,7 @@ authors = [{ name = "Jeroen van Zundert", email = "mai
+     "tomli>=2.2.1; python_version<'3.11'",
+ ]
+ authors = [{ name = "Jeroen van Zundert", email = "mail@jeroenvanzundert.nl" }]
+-license = "MIT"
+-license-files = ["LICENSE"]
++license = {text = "MIT"}
+ keywords = ["uv", "bump", "version", "dependency"]
+ classifiers = [
+     "Development Status :: 3 - Alpha",
diff --git a/devel/py-uv-bump/pkg-descr b/devel/py-uv-bump/pkg-descr
new file mode 100644
index 000000000000..f0733c228e70
--- /dev/null
+++ b/devel/py-uv-bump/pkg-descr
@@ -0,0 +1,5 @@
+UV-bump updates pyproject.toml dependency minimum versions to the latest
+feasible versions for projects using the uv Python package manager.
+
+This tool helps maintain up-to-date dependencies by automatically bumping
+version constraints in your project configuration files.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510080825.5988PYR2087489>