- Update to 5.0.0

- Improve a way to run tests
This commit is contained in:
Dmitry Marakasov 2020-10-19 18:45:42 +00:00
parent 7f988249ca
commit 0f76ce38bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552758
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= multidict
PORTVERSION= 4.7.6
PORTVERSION= 5.0.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,13 +16,13 @@ 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+
USES= python:3.6+
USE_PYTHON= autoplist cython distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/multidict/*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1589923172
SHA256 (multidict-4.7.6.tar.gz) = fbb77a75e529021e7c4a8d4e823d88ef4d23674a202be4f5addffc72cbb91430
SIZE (multidict-4.7.6.tar.gz) = 50958
TIMESTAMP = 1603119379
SHA256 (multidict-5.0.0.tar.gz) = 1b324444299c3a49b601b1bf621fc21704e29066f6ac2b7d7e4034a4a18662a1
SIZE (multidict-5.0.0.tar.gz) = 53243