aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-31 13:11:32 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-31 14:14:45 +0000
commit9f5fc48e0cf4c7371ea6aa208162709043051a31 (patch)
tree04e18f1924cdffaeb1a7c21de3992d6672daf06d
parent2cdc267de7acf020458c1f8d811f0d2bcfb13324 (diff)
devel/py-wait-for-it: Add py-wait-for-it 2.3.0
wait-for-it is a script that will wait on the availability of one or more TCP services (i.e. host:port) before executing a user-defined command. It is useful for synchronizing the spin-up of interdependent services, such as linked docker containers.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-wait-for-it/Makefile25
-rw-r--r--devel/py-wait-for-it/distinfo3
-rw-r--r--devel/py-wait-for-it/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index fe9f8916cd7a..2e4b5eee812a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6252,6 +6252,7 @@
SUBDIR += py-vulture
SUBDIR += py-wadler-lindig
SUBDIR += py-wadllib
+ SUBDIR += py-wait-for-it
SUBDIR += py-wait-for2
SUBDIR += py-warlock
SUBDIR += py-watchdog
diff --git a/devel/py-wait-for-it/Makefile b/devel/py-wait-for-it/Makefile
new file mode 100644
index 000000000000..f4cd4a2189d3
--- /dev/null
+++ b/devel/py-wait-for-it/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= wait-for-it
+PORTVERSION= 2.3.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= wait_for_it-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Wait for service(s) to be available before executing a command
+WWW= https://wait-for-it.readthedocs.io/en/latest/ \
+ https://github.com/hartwork/wait-for-it
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=38.6.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-wait-for-it/distinfo b/devel/py-wait-for-it/distinfo
new file mode 100644
index 000000000000..c7cfaf064ce9
--- /dev/null
+++ b/devel/py-wait-for-it/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1768625561
+SHA256 (wait_for_it-2.3.0.tar.gz) = bc6eaeb0912cf4d59c824067f36c73739bb7a6182912ec8984f2fb3447ef68c0
+SIZE (wait_for_it-2.3.0.tar.gz) = 18305124
diff --git a/devel/py-wait-for-it/pkg-descr b/devel/py-wait-for-it/pkg-descr
new file mode 100644
index 000000000000..a4996aaeb5fd
--- /dev/null
+++ b/devel/py-wait-for-it/pkg-descr
@@ -0,0 +1,4 @@
+wait-for-it is a script that will wait on the availability of one or more TCP
+services (i.e. host:port) before executing a user-defined command. It is useful
+for synchronizing the spin-up of interdependent services, such as linked docker
+containers.