git: b21d52ce9837 - main - devel/py-hatch: Update to 1.11.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 May 2024 17:25:47 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b21d52ce9837e1d4dfe1edc46f9467ff81620729 commit b21d52ce9837e1d4dfe1edc46f9467ff81620729 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-19 16:17:33 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-19 17:15:34 +0000 devel/py-hatch: Update to 1.11.0 Changes: https://github.com/pypa/hatch/releases https://hatch.pypa.io/dev/history/hatch/ --- devel/py-hatch/Makefile | 14 +++++++------- devel/py-hatch/distinfo | 6 +++--- devel/py-hatch/files/patch-hatchling | 24 ------------------------ devel/py-hatch/files/patch-pyproject.toml | 11 +++++++++++ 4 files changed, 21 insertions(+), 34 deletions(-) diff --git a/devel/py-hatch/Makefile b/devel/py-hatch/Makefile index 920b78a1cb22..a35fe6418a10 100644 --- a/devel/py-hatch/Makefile +++ b/devel/py-hatch/Makefile @@ -1,6 +1,5 @@ PORTNAME= hatch -PORTVERSION= 1.9.4 -PORTREVISION= 1 +PORTVERSION= 1.11.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,13 +13,13 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3.0:devel/py-hatch-vcs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}hatchling>=1.21.0:devel/py-hatchling@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.24.2:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.6:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.24.2:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.22.0:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hyperlink>=21.0.0:www/py-hyperlink@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keyring>=23.5.0,1:security/py-keyring@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=23.2:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>=4.8<5:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.5.0:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=11.2.0:textproc/py-rich@${PY_FLAVOR} \ @@ -28,8 +27,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.6:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomli-w>=1.0:textproc/py-tomli-w@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.1:textproc/py-tomlkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}userpath>=1.7<2:devel/py-userpath@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}virtualenv>=20.16.2:devel/py-virtualenv@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}zstandard>=0<1:archivers/py-zstandard@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}virtualenv>=20.26.0:devel/py-virtualenv@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}zstandard>=0<1:archivers/py-zstandard@${PY_FLAVOR} \ + uv>=0.1.35:devel/uv USES= python USE_PYTHON= autoplist concurrent pep517 diff --git a/devel/py-hatch/distinfo b/devel/py-hatch/distinfo index 5eec4bd89a1a..1de8eefc3f67 100644 --- a/devel/py-hatch/distinfo +++ b/devel/py-hatch/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1710712434 -SHA256 (hatch-1.9.4.tar.gz) = 9bb7d1c4a7a51cc1f9e16394875c940b45fa84b698f0291529316b27d74e7f32 -SIZE (hatch-1.9.4.tar.gz) = 689598 +TIMESTAMP = 1715842692 +SHA256 (hatch-1.11.0.tar.gz) = 0511e48b06576995a51a39af14c062431cbbbf22df8a4faccce41418ebccab30 +SIZE (hatch-1.11.0.tar.gz) = 5179348 diff --git a/devel/py-hatch/files/patch-hatchling b/devel/py-hatch/files/patch-hatchling deleted file mode 100644 index 72e4ae40dcd8..000000000000 --- a/devel/py-hatch/files/patch-hatchling +++ /dev/null @@ -1,24 +0,0 @@ -Obtained from: https://github.com/pypa/hatch/commit/5271279ae85a45ef42ce91bba3b226133ed92e71 - ---- pyproject.toml.orig 2020-02-02 00:00:00 UTC -+++ pyproject.toml -@@ -39,7 +39,7 @@ dependencies = [ - ] - dependencies = [ - "click>=8.0.6", -- "hatchling<1.22", -+ "hatchling", - "httpx>=0.22.0", - "hyperlink>=21.0.0", - "keyring>=23.5.0", ---- src/hatch/cli/build/__init__.py.orig 2020-02-02 00:00:00 UTC -+++ src/hatch/cli/build/__init__.py -@@ -57,7 +57,7 @@ def build(app: Application, location, targets, hooks_o - from hatch.config.constants import AppEnvVars - from hatch.utils.fs import Path - from hatch.utils.structures import EnvVars -- from hatchling.builders.constants import BuildEnvVars -+ from hatchling.builders.constants import EDITABLES_REQUIREMENT, BuildEnvVars - from hatchling.builders.plugin.interface import BuilderInterface - - path = str(Path(location).resolve()) if location else None diff --git a/devel/py-hatch/files/patch-pyproject.toml b/devel/py-hatch/files/patch-pyproject.toml new file mode 100644 index 000000000000..7d5dbc8f8b0c --- /dev/null +++ b/devel/py-hatch/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -52,7 +52,7 @@ dependencies = [ + "tomlkit>=0.11.1", + "userpath~=1.7", + "uv>=0.1.35", +- "virtualenv>=20.26.1", ++ "virtualenv>=20.26.0", + "zstandard<1", + ] + dynamic = ["version"]