freebsd-ports/devel/py-aiosignal/Makefile
Po-Chuan Hsieh 03ae201ba1
devel/py-aiosignal: Add py-aiosignal 1.2.0
Signal is a list of registered asynchronous callbacks.

The signal's life-cycle has two stages: after creation its content could be
filled by using standard list operations: sig.append() etc.

After you call sig.freeze() the signal is frozen: adding, removing and dropping
callbacks is forbidden.

The only available operation is calling the previously registered callbacks by
using await sig.send(data).

WWW: https://github.com/aio-libs/aiosignal
2022-03-25 21:36:37 +08:00

22 lines
504 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= aiosignal
PORTVERSION= 1.2.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= List of registered asynchronous callbacks
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}frozenlist>=1.1.0:devel/py-frozenlist@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>