python-pika: add new package for radicale3
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 29 Dec 2025 09:01:57 +0000 (10:01 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 9 Jan 2026 16:09:08 +0000 (17:09 +0100)
Pika is a pure-Python implementation of the AMQP 0-9-1 protocol that
tries to stay fairly independent of the underlying network support
library.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
lang/python/python-pika/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-pika/Makefile b/lang/python/python-pika/Makefile
new file mode 100644 (file)
index 0000000..5913866
--- /dev/null
@@ -0,0 +1,39 @@
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-pika
+PKG_VERSION:=1.3.2
+PKG_RELEASE:=1
+
+PYPI_NAME:=pika
+PKG_HASH:=b2a327ddddf8570b4965b3576ac77091b850262d34ce8c1d8cb4e4146aa4145f
+
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE
+PKG_MAINTAINER:=
+
+PKG_BUILD_DEPENDS:=python-setuptools/host
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-pika
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=Pika RabbitMQ/AMQP 0-9-1 client library
+  URL:=https://pika.readthedocs.io/
+  DEPENDS:=+python3
+endef
+
+define Package/python3-pika/description
+  Pika is a pure-Python implementation of the AMQP 0-9-1 protocol including
+  RabbitMQ's extensions.
+endef
+
+$(eval $(call Py3Package,python3-pika))
+$(eval $(call BuildPackage,python3-pika))
+$(eval $(call BuildPackage,python3-pika-src))