lang/python port module. I've not yet come up with a port that would not need this and one can always set MODPY_TESTDEP to "no" to prevent the module from touching TEST_DEPENDS. Idea from afresh1 who pointed out the cpan module already does this. aja "I support this move." OK sthen@
35 lines
739 B
Makefile
35 lines
739 B
Makefile
# $OpenBSD: Makefile,v 1.7 2019/05/15 12:04:42 kmos Exp $
|
|
|
|
COMMENT = http client/server for asyncio
|
|
|
|
MODPY_EGG_VERSION = 3.5.4
|
|
DISTNAME = aiohttp-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
CATEGORIES = www
|
|
REVISION = 0
|
|
|
|
# Apache2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += ${MODPY_WANTLIB} pthread
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
|
|
|
|
# only py-chardet isn't python3 only
|
|
RUN_DEPENDS = devel/py-async-timeout \
|
|
textproc/py-chardet${MODPY_FLAVOR} \
|
|
www/py-multidict \
|
|
www/py-yarl
|
|
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
|
|
www/py-gunicorn${MODPY_FLAVOR}
|
|
|
|
# we don't have any port for pytest-{xdist,timeout}
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|