aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-05-18 03:14:46 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-05-18 03:14:46 +0000
commit12724cb10462b83697a9a800cfc38216c93c2faa (patch)
tree6c28d05ca07f09e8851b1784cbefc3ff8ad874c3
parenta6808eb81d118eb978b899029bc2a3f2b1be5272 (diff)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-poetry-plugin-shell/Makefile25
-rw-r--r--devel/py-poetry-plugin-shell/distinfo3
-rw-r--r--devel/py-poetry-plugin-shell/pkg-descr5
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 893a3578c9e5..549d7c2f48f6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5485,6 +5485,7 @@
SUBDIR += py-poetry-dynamic-versioning
SUBDIR += py-poetry-plugin-bundle
SUBDIR += py-poetry-plugin-export
+ SUBDIR += py-poetry-plugin-shell
SUBDIR += py-poetry-semver
SUBDIR += py-poetry-types
SUBDIR += py-poetry2setup
diff --git a/devel/py-poetry-plugin-shell/Makefile b/devel/py-poetry-plugin-shell/Makefile
new file mode 100644
index 000000000000..90ca31038fbf
--- /dev/null
+++ b/devel/py-poetry-plugin-shell/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= poetry-plugin-shell
+PORTVERSION= 1.0.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= poetry_plugin_shell-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Poetry plugin to run subshell with virtual environment activated
+WWW= https://github.com/python-poetry/poetry-plugin-shell
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>=4.7.0<5:misc/py-pexpect@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}poetry>=2.0<3:devel/py-poetry@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}shellingham>=1.5<2:devel/py-shellingham@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-poetry-plugin-shell/distinfo b/devel/py-poetry-plugin-shell/distinfo
new file mode 100644
index 000000000000..9fc60c909099
--- /dev/null
+++ b/devel/py-poetry-plugin-shell/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1745936010
+SHA256 (poetry_plugin_shell-1.0.1.tar.gz) = 2c2f878f2dbf488cdfd990fc7205af858280942f4ff766d7bbc5aa8b198a1762
+SIZE (poetry_plugin_shell-1.0.1.tar.gz) = 9495
diff --git a/devel/py-poetry-plugin-shell/pkg-descr b/devel/py-poetry-plugin-shell/pkg-descr
new file mode 100644
index 000000000000..36cbda9dbf8d
--- /dev/null
+++ b/devel/py-poetry-plugin-shell/pkg-descr
@@ -0,0 +1,5 @@
+This package is a plugin that runs a subshell with virtual environment
+activated.
+
+This plugin replaces the same feature as the shell command previously available
+in Poetry.