sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

36 lines
760 B
Makefile

# $OpenBSD: Makefile,v 1.6 2019/04/28 20:51:58 sthen 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 = ${RUN_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>