diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2025-07-25 18:07:37 +0200 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2025-07-25 18:15:10 +0200 |
commit | a3717dc97e6085fe8ba5f0fb245ec12609ccf3c9 (patch) | |
tree | 961669da901a2ba13f086793a5db4476bb60f42b | |
parent | security/ossec-hids*: fix make warnings (diff) |
devel/py-uv-dynamic-versioning: Add new port
Python dynamic versioning tool (influenced by poetry-dynamic-versioning) for
uv/hatch, and powered by dunamai.
https://pypi.org/project/uv-dynamic-versioning/
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-uv-dynamic-versioning/Makefile | 29 | ||||
-rw-r--r-- | devel/py-uv-dynamic-versioning/distinfo | 3 | ||||
-rw-r--r-- | devel/py-uv-dynamic-versioning/pkg-descr | 2 |
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index d123147b723e..b979cdbd9757 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6155,6 +6155,7 @@ SUBDIR += py-user_agents SUBDIR += py-userpath SUBDIR += py-usort + SUBDIR += py-uv-dynamic-versioning SUBDIR += py-uvloop SUBDIR += py-validate-pyproject SUBDIR += py-validate-pyproject-schema-store diff --git a/devel/py-uv-dynamic-versioning/Makefile b/devel/py-uv-dynamic-versioning/Makefile new file mode 100644 index 000000000000..201a42e6ff6c --- /dev/null +++ b/devel/py-uv-dynamic-versioning/Makefile @@ -0,0 +1,29 @@ +PORTNAME= uv-dynamic-versioning +DISTVERSION= 0.8.2 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Dynamic versioning based on VCS tags for uv/hatch project +WWW= https://pypi.python.org/pypi/uv-dynamic-versioning + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.27.0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dunamai>=1.23:devel/py-dunamai@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}eval-type-backport>=0.2.2:devel/py-eval-type-backport@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.27.0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.11:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.13.3:textproc/py-tomlkit@${PY_FLAVOR} \ + uv:devel/uv + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-uv-dynamic-versioning/distinfo b/devel/py-uv-dynamic-versioning/distinfo new file mode 100644 index 000000000000..b20bb721f429 --- /dev/null +++ b/devel/py-uv-dynamic-versioning/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1753455998 +SHA256 (uv_dynamic_versioning-0.8.2.tar.gz) = a9c228a46f5752d99cfead1ed83b40628385cbfb537179488d280853c786bf82 +SIZE (uv_dynamic_versioning-0.8.2.tar.gz) = 41559 diff --git a/devel/py-uv-dynamic-versioning/pkg-descr b/devel/py-uv-dynamic-versioning/pkg-descr new file mode 100644 index 000000000000..4ab693132a40 --- /dev/null +++ b/devel/py-uv-dynamic-versioning/pkg-descr @@ -0,0 +1,2 @@ +Python dynamic versioning tool (influenced by poetry-dynamic-versioning) for +uv/hatch, and powered by dunamai. |