git: 4e571fd2d765 - main - devel/py-hatch: Update to 1.9.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Dec 2023 16:16:31 UTC
The branch main has been updated by sunpoet:

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

commit 4e571fd2d76561432a62b014cf5d45e337931c0b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 16:03:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 16:10:52 +0000

    devel/py-hatch: Update to 1.9.1
    
    - Update WWW
    - Update LICENSE
    - Update pkg-descr
    
    Changes:        https://github.com/pypa/hatch/releases
                    https://hatch.pypa.io/dev/history/hatch/
---
 devel/py-hatch/Makefile  | 45 +++++++++++++++++++++++----------------------
 devel/py-hatch/distinfo  |  6 +++---
 devel/py-hatch/pkg-descr |  6 ++++--
 3 files changed, 30 insertions(+), 27 deletions(-)

diff --git a/devel/py-hatch/Makefile b/devel/py-hatch/Makefile
index 0bd200a17891..1f6584a9106f 100644
--- a/devel/py-hatch/Makefile
+++ b/devel/py-hatch/Makefile
@@ -1,36 +1,37 @@
 PORTNAME=	hatch
-PORTVERSION=	0.23.1
+PORTVERSION=	1.9.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Modern project, package, and virtual env manager
-WWW=		https://github.com/pypa/hatch
+WWW=		https://hatch.pypa.io/latest/ \
+		https://github.com/pypa/hatch
 
-LICENSE=	APACHE20 MIT
-LICENSE_COMB=	dual
-LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
-LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}appdirs>=0:devel/py-appdirs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}atomicwrites>=0:devel/py-atomicwrites@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pip>=9.0.1:devel/py-pip@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}semver>=2.7.8:devel/py-semver@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.5.7:devel/py-sortedcontainers@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}toml>=0.9.3:textproc/py-toml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}twine>=1.9.1:devel/py-twine@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}userpath>=1.3.0:devel/py-userpath@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0.27.0:devel/py-wheel@${PY_FLAVOR}
+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}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=8.0.6:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.21.0: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}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} \
+		${PYTHON_PKGNAMEPREFIX}shellingham>=1.4.0:devel/py-shellingham@${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}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-hatch/distinfo b/devel/py-hatch/distinfo
index 8990f9478a6f..947df415f419 100644
--- a/devel/py-hatch/distinfo
+++ b/devel/py-hatch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653151094
-SHA256 (hatch-0.23.1.tar.gz) = 97ee540e74450c2ac1eabc678b258db7a1c2830a40409302a6a31ec3183ab559
-SIZE (hatch-0.23.1.tar.gz) = 50917
+TIMESTAMP = 1703495807
+SHA256 (hatch-1.9.1.tar.gz) = 77462d9f1fd3c161ebaa7afc51f62b3f1392375e1d3a0cd23dba4cd996bd1cec
+SIZE (hatch-1.9.1.tar.gz) = 689488
diff --git a/devel/py-hatch/pkg-descr b/devel/py-hatch/pkg-descr
index e855c6679694..ccc5a6983792 100644
--- a/devel/py-hatch/pkg-descr
+++ b/devel/py-hatch/pkg-descr
@@ -3,7 +3,9 @@ Hatch is a modern, extensible Python project manager.
 Features:
 - Standardized build system with reproducible builds by default
 - Robust environment management with support for custom scripts
-- Easy publishing to PyPI or other sources
+- Configurable Python distribution management
+- Static analysis with sane defaults
+- Easy publishing to PyPI or other indexes
 - Version management
-- Configurable project generation with sane defaults
+- Best practice project generation
 - Responsive CLI, ~2-3x faster than equivalent tools