summaryrefslogtreecommitdiff
path: root/devel/py-runs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-runs')
-rw-r--r--devel/py-runs/Makefile22
-rw-r--r--devel/py-runs/distinfo3
-rw-r--r--devel/py-runs/pkg-descr6
3 files changed, 31 insertions, 0 deletions
diff --git a/devel/py-runs/Makefile b/devel/py-runs/Makefile
new file mode 100644
index 000000000000..58bfddebd764
--- /dev/null
+++ b/devel/py-runs/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= runs
+DISTVERSION= 1.2.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Run a block of text as a subprocess
+WWW= https://github.com/rec/runs
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmod>0:devel/py-xmod@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-runs/distinfo b/devel/py-runs/distinfo
new file mode 100644
index 000000000000..2a73e2a186d9
--- /dev/null
+++ b/devel/py-runs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760642595
+SHA256 (runs-1.2.2.tar.gz) = 9dc1815e2895cfb3a48317b173b9f1eac9ba5549b36a847b5cc60c3bf82ecef1
+SIZE (runs-1.2.2.tar.gz) = 5474
diff --git a/devel/py-runs/pkg-descr b/devel/py-runs/pkg-descr
new file mode 100644
index 000000000000..fd10eab6116e
--- /dev/null
+++ b/devel/py-runs/pkg-descr
@@ -0,0 +1,6 @@
+The runs Python library provides enhanced versions of the subprocess
+module's functions, such as call(), check_call(), check_output(), and
+run(). It allows users to execute blocks of text as a sequence of
+subprocess calls, handling multiple commands, line continuations, and
+comments. The library also offers features like optional logging,
+error handling and lazy evaluation.