diff options
author | Juraj Lutter <otis@FreeBSD.org> | 2024-02-05 14:25:34 +0000 |
---|---|---|
committer | Juraj Lutter <otis@FreeBSD.org> | 2024-02-05 14:42:27 +0000 |
commit | 7a26d18238f080cdb858733218ba9281ef3fd401 (patch) | |
tree | cfed802aa3cb6a59fed6e97a909b5c8cbcac7774 | |
parent | ce55fe074ef4e77d939ef5b70f2bc50e62630332 (diff) | |
download | ports-7a26d18238f080cdb858733218ba9281ef3fd401.tar.gz ports-7a26d18238f080cdb858733218ba9281ef3fd401.zip |
devel/py-click-repl: Add new port
Add python shell-like interface to click.
WWW: https://github.com/click-contrib/click-repl
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-click-repl/Makefile | 27 | ||||
-rw-r--r-- | devel/py-click-repl/distinfo | 3 | ||||
-rw-r--r-- | devel/py-click-repl/pkg-descr | 1 |
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 72934ed1c2c3..7580c809ae68 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4483,6 +4483,7 @@ SUBDIR += py-click-log SUBDIR += py-click-option-group SUBDIR += py-click-plugins + SUBDIR += py-click-repl SUBDIR += py-click-threading SUBDIR += py-click7 SUBDIR += py-cliff diff --git a/devel/py-click-repl/Makefile b/devel/py-click-repl/Makefile new file mode 100644 index 000000000000..3eb106ad9ef5 --- /dev/null +++ b/devel/py-click-repl/Makefile @@ -0,0 +1,27 @@ +PORTNAME= click-repl +DISTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= otis@FreeBSD.org +COMMENT= REPL plugin for Click +WWW= https://github.com/click-contrib/click-repl + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.36:devel/py-prompt-toolkit@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${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-repl/distinfo b/devel/py-click-repl/distinfo new file mode 100644 index 000000000000..b5595bd02e91 --- /dev/null +++ b/devel/py-click-repl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704723435 +SHA256 (click-repl-0.3.0.tar.gz) = 17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9 +SIZE (click-repl-0.3.0.tar.gz) = 10449 diff --git a/devel/py-click-repl/pkg-descr b/devel/py-click-repl/pkg-descr new file mode 100644 index 000000000000..0fbe7c9af8e4 --- /dev/null +++ b/devel/py-click-repl/pkg-descr @@ -0,0 +1 @@ +Enable git-like did-you-mean feature in click. |