mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
www/py-wsaccel: Refactor
- Switch to PEP517 build - Add test PR: 283582
This commit is contained in:
parent
f4a1a4949f
commit
c361e55d7a
1 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= wsaccel
|
||||
DISTVERSION= 0.6.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -13,11 +14,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
|
||||
DEPRECATED= Upstream ceased development
|
||||
|
||||
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||
${PYTHON_PKGNAMEPREFIX}cython3>=3.0.11:lang/cython3@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils pytest
|
||||
USE_PYTHON= autoplist pep517 pytest
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/utf8validator*.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/xormask*.so
|
||||
|
||||
do-test:
|
||||
@(cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} pytest \
|
||||
-k '${_PYTEST_FILTER_EXPRESSION}' \
|
||||
-v -rs -o addopts= \
|
||||
${PYTEST_ARGS})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue