1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

- Add support for testing

- Strip libraries
- Take maintainership

PR:		238852
Approved by:	wg (maintainer)
This commit is contained in:
Dmitry Marakasov 2019-07-02 20:57:36 +00:00
parent c65317263f
commit 81b30b2dcf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505708

View File

@ -6,13 +6,23 @@ CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Multidict implementation
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python:3.4+
USE_PYTHON= autoplist cython distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/multidict/*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>