pkgsrc/devel/py-txaio/Makefile
adam 2242618af1 py-txaio: updated to 18.8.1
18.8.1
- add API to support cancellation; this means passing a 1-argument
  callable to create_future and txaio.cancel to actually
  cancel a future
- support Python 3.7 (CI / testing added)
2018-09-07 09:31:50 +00:00

22 lines
707 B
Makefile

# $NetBSD: Makefile,v 1.10 2018/09/07 09:31:50 adam Exp $
DISTNAME= txaio-18.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/txaio/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/crossbario/txaio
COMMENT= Compatibility API between asyncio/Twisted/Trollius
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
do-test:
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"