diff options
Diffstat (limited to 'devel/py-uv-bump')
-rw-r--r-- | devel/py-uv-bump/Makefile | 30 | ||||
-rw-r--r-- | devel/py-uv-bump/distinfo | 3 | ||||
-rw-r--r-- | devel/py-uv-bump/files/patch-pyproject.toml | 19 | ||||
-rw-r--r-- | devel/py-uv-bump/pkg-descr | 5 |
4 files changed, 57 insertions, 0 deletions
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. |