bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2022/01/04 20:55:36 wiz Exp $
|
|
|
|
DISTNAME= tornado-5.1.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tornado/}
|
|
|
|
MAINTAINER= imil@NetBSD.org
|
|
HOMEPAGE= http://www.tornadoweb.org/
|
|
COMMENT= Fast and non-blocking web framework
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-curl>=7.18.2:../../www/py-curl
|
|
|
|
REPLACE_PYTHON+= setup.py
|
|
REPLACE_PYTHON+= tornado/*.py
|
|
REPLACE_PYTHON+= tornado/platform/*.py
|
|
REPLACE_PYTHON+= tornado/test/*.py
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHONBIN} -m tornado.test.runtests
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
PLIST_VARS+= requires
|
|
.if ${_PYTHON_VERSION} == 27
|
|
DEPENDS+= ${PYPKGPREFIX}-backports_abc>=0.4:../../devel/py-backports_abc
|
|
DEPENDS+= ${PYPKGPREFIX}-backports.ssl_match_hostname-[0-9]*:../../security/py-backports.ssl_match_hostname
|
|
DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
|
|
DEPENDS+= ${PYPKGPREFIX}-singledispatch>0:../../devel/py-singledispatch
|
|
PLIST.requires= yes
|
|
.endif
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|