git: 774e2eacebac - main - devel/py-click7: Add py-click7 7.1.2 (copied from py-click)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 21 Nov 2021 21:18:28 UTC
The branch main has been updated by sunpoet:

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

commit 774e2eacebac381aa8298f0a424b689ed30af8b2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-21 21:13:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-21 21:13:59 +0000

    devel/py-click7: Add py-click7 7.1.2 (copied from py-click)
    
    - Add PORTSCOUT
---
 devel/Makefile            |  1 +
 devel/py-click7/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/py-click7/distinfo  |  3 +++
 devel/py-click7/pkg-descr |  6 ++++++
 4 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 30ee6bcabf9c..ded98374ae03 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4349,6 +4349,7 @@
     SUBDIR += py-click-plugins
     SUBDIR += py-click-threading
     SUBDIR += py-click6
+    SUBDIR += py-click7
     SUBDIR += py-cliff
     SUBDIR += py-cligj
     SUBDIR += py-clikit
diff --git a/devel/py-click7/Makefile b/devel/py-click7/Makefile
new file mode 100644
index 000000000000..3322eda9f487
--- /dev/null
+++ b/devel/py-click7/Makefile
@@ -0,0 +1,28 @@
+# Created by: Bartek Rutkowski <ports@robakdesign.com>
+
+PORTNAME=	click
+PORTVERSION=	7.1.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	7
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python package for creating command line interfaces
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -p no:warnings
+
+.include <bsd.port.mk>
diff --git a/devel/py-click7/distinfo b/devel/py-click7/distinfo
new file mode 100644
index 000000000000..43c020acc0b9
--- /dev/null
+++ b/devel/py-click7/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1598529882
+SHA256 (click-7.1.2.tar.gz) = d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+SIZE (click-7.1.2.tar.gz) = 297279
diff --git a/devel/py-click7/pkg-descr b/devel/py-click7/pkg-descr
new file mode 100644
index 000000000000..19e846b2315d
--- /dev/null
+++ b/devel/py-click7/pkg-descr
@@ -0,0 +1,6 @@
+Click is a Python package for creating beautiful command line interfaces
+in a composable way with as little code as necessary. It's the "Command
+Line Interface Creation Kit". It's highly configurable but comes with
+sensible defaults out of the box.
+
+WWW: https://github.com/mitsuhiko/click