35 lines
833 B
Makefile
35 lines
833 B
Makefile
PORTNAME= expecttest
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.3.0
|
|
CATEGORIES= devel python
|
|
#MASTER_SITES= PYPI # no tests
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Implementation of expect tests
|
|
WWW= https://github.com/ezyang/expecttest
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=6:devel/py-hypothesis@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= pep517 autoplist pytest
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ezyang
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
TEST_WRKDIR= ${WRKSRC}
|
|
|
|
NO_ARCH= yes
|
|
|
|
# tests as of 0.3.0
|
|
# Results (0.91s):
|
|
# 27 passed
|
|
|
|
.include <bsd.port.mk>
|