Date: Mon, 5 Feb 2024 14:43:10 GMT From: Juraj Lutter <otis@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7a26d18238f0 - main - devel/py-click-repl: Add new port Message-ID: <202402051443.415EhAeT079461@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a26d18238f080cdb858733218ba9281ef3fd401 commit 7a26d18238f080cdb858733218ba9281ef3fd401 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2024-02-05 14:25:34 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2024-02-05 14:42:27 +0000 devel/py-click-repl: Add new port Add python shell-like interface to click. WWW: https://github.com/click-contrib/click-repl --- devel/Makefile | 1 + devel/py-click-repl/Makefile | 27 +++++++++++++++++++++++++++ devel/py-click-repl/distinfo | 3 +++ devel/py-click-repl/pkg-descr | 1 + 4 files changed, 32 insertions(+) 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402051443.415EhAeT079461>