forked from Lainports/freebsd-ports
- Added a ``BaseEventEmitter`` class which is entirely synchronous and intended for simple use and for subclassing - Added an ``AsyncIOEventEmitter`` class for intended use with asyncio - Added a ``TwistedEventEmitter`` class for intended use with twisted - Added an ``ExecutorEventEmitter`` class which runs events in an executor - Deprecated ``EventEmitter`` (use one of the new classes)
26 lines
625 B
Makefile
26 lines
625 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pyee
|
|
PORTVERSION= 6.0.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= jpaetzel@FreeBSD.org
|
|
COMMENT= Python EventEmitter implementation
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_VER} > 3.4
|
|
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|