git: 22426ec50ed0 - main - devel/py-pytest-translations: Update to 4.0.1

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Tue, 19 Apr 2022 15:17:23 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22426ec50ed0edc348391dc7df2773665fcfa14d

commit 22426ec50ed0edc348391dc7df2773665fcfa14d
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2022-04-19 15:17:04 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-04-19 15:17:04 +0000

    devel/py-pytest-translations: Update to 4.0.1
    
    Changes: https://github.com/thermondo/pytest-translations/releases/tag/4.0.1
    
    PR:     263400
---
 devel/py-pytest-translations/Makefile | 25 +++++++++----------------
 devel/py-pytest-translations/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/devel/py-pytest-translations/Makefile b/devel/py-pytest-translations/Makefile
index 63f043fd302d..15ab3b50474c 100644
--- a/devel/py-pytest-translations/Makefile
+++ b/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
@@ -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
@@ -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>
diff --git a/devel/py-pytest-translations/distinfo b/devel/py-pytest-translations/distinfo
index 75d052da93c4..cb0b71f28125 100644
--- a/devel/py-pytest-translations/distinfo
+++ b/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