git: 7c40c0f9dbde - main - devel/py-click-didyoumean: Add new port

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Mon, 05 Feb 2024 14:43:11 UTC
The branch main has been updated by otis:

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

commit 7c40c0f9dbde3dbee905b8a66abb2e7113a00f50
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2024-02-05 14:23:20 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2024-02-05 14:42:27 +0000

    devel/py-click-didyoumean: Add new port
    
    This ports enables "git-like" did-you-mean feature in click.
    
    WWW:            https://github.com/click-contrib/click-didyoumean
---
 devel/Makefile                      |  1 +
 devel/py-click-didyoumean/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-click-didyoumean/distinfo  |  3 +++
 devel/py-click-didyoumean/pkg-descr |  1 +
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7580c809ae68..5fee254e1cdd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4479,6 +4479,7 @@
     SUBDIR += py-click-creds
     SUBDIR += py-click-default-group
     SUBDIR += py-click-default-group-wheel
+    SUBDIR += py-click-didyoumean
     SUBDIR += py-click-help-colors
     SUBDIR += py-click-log
     SUBDIR += py-click-option-group
diff --git a/devel/py-click-didyoumean/Makefile b/devel/py-click-didyoumean/Makefile
new file mode 100644
index 000000000000..7377243b1ac5
--- /dev/null
+++ b/devel/py-click-didyoumean/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	click-didyoumean
+DISTVERSION=	0.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	otis@FreeBSD.org
+COMMENT=	Enable git-like did-you-mean feature in click
+WWW=		https://github.com/click-contrib/click-didyoumean
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
+.include <bsd.port.mk>
diff --git a/devel/py-click-didyoumean/distinfo b/devel/py-click-didyoumean/distinfo
new file mode 100644
index 000000000000..2d78eebf8b0a
--- /dev/null
+++ b/devel/py-click-didyoumean/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704722854
+SHA256 (click-didyoumean-0.3.0.tar.gz) = f184f0d851d96b6d29297354ed981b7dd71df7ff500d82fa6d11f0856bee8035
+SIZE (click-didyoumean-0.3.0.tar.gz) = 2405
diff --git a/devel/py-click-didyoumean/pkg-descr b/devel/py-click-didyoumean/pkg-descr
new file mode 100644
index 000000000000..0fbe7c9af8e4
--- /dev/null
+++ b/devel/py-click-didyoumean/pkg-descr
@@ -0,0 +1 @@
+Enable git-like did-you-mean feature in click.