git: 47bcefbf7eec - main - net/py-aiostalk: New port: Python asyncio client for the beanstalkd work queue

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sat, 03 May 2025 19:32:22 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47bcefbf7eeccedf8fd20c4c58ace8a934e36844

commit 47bcefbf7eeccedf8fd20c4c58ace8a934e36844
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2025-05-03 19:31:12 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-05-03 19:31:12 +0000

    net/py-aiostalk: New port: Python asyncio client for the beanstalkd work queue
    
    aiostalk is a small and shameless Python client library for
    communicating with the beanstalkd work queue.
    
    It is based on (and requires) another library called greenstalk.
    
    PR:             285754
---
 net/Makefile              |  1 +
 net/py-aiostalk/Makefile  | 19 +++++++++++++++++++
 net/py-aiostalk/distinfo  |  3 +++
 net/py-aiostalk/pkg-descr |  4 ++++
 4 files changed, 27 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 8a03473e07ca..999d6f218069 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1042,6 +1042,7 @@
     SUBDIR += py-aiocoap
     SUBDIR += py-aiohappyeyeballs
     SUBDIR += py-aiohttp-socks
+    SUBDIR += py-aiostalk
     SUBDIR += py-amqp
     SUBDIR += py-amqplib
     SUBDIR += py-avahi
diff --git a/net/py-aiostalk/Makefile b/net/py-aiostalk/Makefile
new file mode 100644
index 000000000000..e05bd0443763
--- /dev/null
+++ b/net/py-aiostalk/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	aiostalk
+DISTVERSION=	1.3
+CATEGORIES=	net python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Python asyncio client for the beanstalkd work queue
+WWW=		https://github.com/koodaamo/aiostalk
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}greenstalk>=0:net/py-greenstalk@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/net/py-aiostalk/distinfo b/net/py-aiostalk/distinfo
new file mode 100644
index 000000000000..6d87131417d4
--- /dev/null
+++ b/net/py-aiostalk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1743208973
+SHA256 (aiostalk-1.3.tar.gz) = 024d366a3347c60ce044f3566d83575c5697c6f4a04947428606140ff5a3788b
+SIZE (aiostalk-1.3.tar.gz) = 5258
diff --git a/net/py-aiostalk/pkg-descr b/net/py-aiostalk/pkg-descr
new file mode 100644
index 000000000000..0315b32c9bf0
--- /dev/null
+++ b/net/py-aiostalk/pkg-descr
@@ -0,0 +1,4 @@
+aiostalk is a small and shameless Python client library for
+communicating with the beanstalkd work queue.
+
+It is based on (and requires) another library called greenstalk.