git: fe39695b61f7 - main - devel/py-hatch: Add py-hatch 0.23.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 18:15:57 UTC
The branch main has been updated by sunpoet:

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

commit fe39695b61f7d43a5423ffdb9f27a9f84c8664f6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:46:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:10:50 +0000

    devel/py-hatch: Add py-hatch 0.23.1
    
    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
    - Version management
    - Configurable project generation with sane defaults
    - Responsive CLI, ~2-3x faster than equivalent tools
    
    WWW: https://github.com/ofek/hatch
---
 devel/Makefile           |  1 +
 devel/py-hatch/Makefile  | 38 ++++++++++++++++++++++++++++++++++++++
 devel/py-hatch/distinfo  |  3 +++
 devel/py-hatch/pkg-descr | 11 +++++++++++
 4 files changed, 53 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8dbfb04cd2fe..12dd3d898fa5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4607,6 +4607,7 @@
     SUBDIR += py-guppy3
     SUBDIR += py-gyp
     SUBDIR += py-hash_ring
+    SUBDIR += py-hatch
     SUBDIR += py-heapdict
     SUBDIR += py-helpdev
     SUBDIR += py-hg-evolve
diff --git a/devel/py-hatch/Makefile b/devel/py-hatch/Makefile
new file mode 100644
index 000000000000..8dfe22cee3ba
--- /dev/null
+++ b/devel/py-hatch/Makefile
@@ -0,0 +1,38 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	hatch
+PORTVERSION=	0.23.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Modern project, package, and virtual env manager
+
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	dual
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
+
+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}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-hatch/distinfo b/devel/py-hatch/distinfo
new file mode 100644
index 000000000000..2974530943a2
--- /dev/null
+++ b/devel/py-hatch/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646057848
+SHA256 (hatch-0.23.1.tar.gz) = 97ee540e74450c2ac1eabc678b258db7a1c2830a40409302a6a31ec3183ab559
+SIZE (hatch-0.23.1.tar.gz) = 50917
diff --git a/devel/py-hatch/pkg-descr b/devel/py-hatch/pkg-descr
new file mode 100644
index 000000000000..14d215044eaf
--- /dev/null
+++ b/devel/py-hatch/pkg-descr
@@ -0,0 +1,11 @@
+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
+- Version management
+- Configurable project generation with sane defaults
+- Responsive CLI, ~2-3x faster than equivalent tools
+
+WWW: https://github.com/ofek/hatch