devel/py-pytest-translations: Update to 3.1.0

PR:		256802
Approved by:	maintainer
This commit is contained in:
Goran Meki? 2021-06-24 09:43:15 -07:00 committed by Kevin Bowling
parent bac343da84
commit 5989f395a0
2 changed files with 7 additions and 14 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= pytest-translations
PORTVERSION= 2.0.0
PORTVERSION= 3.1.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,7 +19,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testscenarios>=0:devel/py-testscenarios@${P
${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
de-hunspell>0:german/hunspell
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
@ -28,15 +29,7 @@ TEST_ENV= PYTHONPATH=${WRKSRC}/src
NO_ARCH= yes
# Disable some of the tests. Upstream issue:
# https://github.com/Thermondo/pytest-translations/issues/44
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
-k 'not test_language_missing_in_po \
and not test_language_catalog_missing \
and not test_python_format_placeholders \
and not test_pass \
and not test_fail \
and not test_wordlist'
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1576674845
SHA256 (pytest-translations-2.0.0.tar.gz) = 8f5aa5e98746ccc5e400486ea2084fd71251ccb35c0c53e4e1026d8af380bc08
SIZE (pytest-translations-2.0.0.tar.gz) = 8467
TIMESTAMP = 1624530137
SHA256 (pytest-translations-3.1.0.tar.gz) = 0f00cf85ed3c73a589ac58053c81713c31d3194db69d3f9c3e83b2f23e7d7693
SIZE (pytest-translations-3.1.0.tar.gz) = 8956