Skip to content

Commit

Permalink
devel/py-pytest-translations: Update to 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanix authored and neelchauhan committed Apr 19, 2022
1 parent ce07741 commit 22426ec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
25 changes: 9 additions & 16 deletions devel/py-pytest-translations/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-translations
PORTVERSION= 2.0.0
PORTVERSION= 4.0.1
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
Expand All @@ -12,15 +12,16 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>=0:devel/py-pytest4@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}polib>=0:devel/py-polib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testscenarios>=0:devel/py-testscenarios@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fixtures>=0:devel/py-fixtures@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fixtures>=0:devel/py-fixtures@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testscenarios>=0:devel/py-testscenarios@${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
Expand All @@ -29,15 +30,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>
6 changes: 3 additions & 3 deletions devel/py-pytest-translations/distinfo
@@ -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 = 1650300701
SHA256 (pytest-translations-4.0.1.tar.gz) = 4f2cd5d32f05629f500124297bb1917e1278a2f08f353986421675d08f9f03ee
SIZE (pytest-translations-4.0.1.tar.gz) = 8282

0 comments on commit 22426ec

Please sign in to comment.