summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <DtxdF@disroot.org>2025-05-03 12:21:48 -0700
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2025-05-03 12:21:48 -0700
commite35f849226bdeb4416871445d2e4f9314d705034 (patch)
tree373990ec00dc5ded33bcbecb18c32ac8446cdf37
parentwww/py-httpx-retries: New port: Retry layer for HTTPX (diff)
net/py-greenstalk: New port: Python client for the beanstalkd work queue
Greenstalk is a small and unopinionated Python client library for communicating with the beanstalkd work queue. The API provided mostly maps one-to-one with commands in the protocol. PR: 285753
-rw-r--r--net/Makefile1
-rw-r--r--net/py-greenstalk/Makefile20
-rw-r--r--net/py-greenstalk/distinfo3
-rw-r--r--net/py-greenstalk/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 289c58ff0c15..8a03473e07ca 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1067,6 +1067,7 @@
SUBDIR += py-gdown
SUBDIR += py-geopy
SUBDIR += py-gntp
+ SUBDIR += py-greenstalk
SUBDIR += py-gspread
SUBDIR += py-h11
SUBDIR += py-haproxy-cli
diff --git a/net/py-greenstalk/Makefile b/net/py-greenstalk/Makefile
new file mode 100644
index 000000000000..c0f3bca4734b
--- /dev/null
+++ b/net/py-greenstalk/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= greenstalk
+DISTVERSION= 2.0.2
+CATEGORIES= net python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Python client for the beanstalkd work queue
+WWW= https://github.com/justinmayhew/greenstalk
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/net/py-greenstalk/distinfo b/net/py-greenstalk/distinfo
new file mode 100644
index 000000000000..64dd87854e5d
--- /dev/null
+++ b/net/py-greenstalk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1743207566
+SHA256 (greenstalk-2.0.2.tar.gz) = 3ebde5fc9ecf986f96f6779fd6d15a53f33d432c52a2e28012e100a99ee154a4
+SIZE (greenstalk-2.0.2.tar.gz) = 6809
diff --git a/net/py-greenstalk/pkg-descr b/net/py-greenstalk/pkg-descr
new file mode 100644
index 000000000000..ab19834c749c
--- /dev/null
+++ b/net/py-greenstalk/pkg-descr
@@ -0,0 +1,3 @@
+Greenstalk is a small and unopinionated Python client library for
+communicating with the beanstalkd work queue. The API provided
+mostly maps one-to-one with commands in the protocol.