diff --git a/devel/py-Faker/Makefile b/devel/py-Faker/Makefile index 5e50878fc31c..bd2d0bd9fa27 100644 --- a/devel/py-Faker/Makefile +++ b/devel/py-Faker/Makefile @@ -1,6 +1,5 @@ PORTNAME= Faker -PORTVERSION= 0.8.15 -PORTREVISION= 3 +DISTVERSION= 15.1.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,20 +12,17 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=2.4:devel/py-dateutil@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}text-unidecode>=1.2:converters/py-text-unidecode@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0.1:devel/py-typing-extensions@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}random2>0:math/py-random2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}validators>0:devel/py-validators@${PY_FLAVOR} -USES= python:3.6+ -USE_PYTHON= distutils concurrent autoplist +USES= pytest python:3.7+ +USE_PYTHON= autoplist concurrent distutils CONFLICTS_INSTALL= rubygem-faker NO_ARCH= yes -do-test: - ${RM} ${WRKSRC}/tests/providers/test_address.py # Needs ukpostcodeparser.parser port - ${RM} ${WRKSRC}/tests/providers/test_internet.py # Needs email_validator port - cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v - .include diff --git a/devel/py-Faker/distinfo b/devel/py-Faker/distinfo index 1de92aa989f0..702a4892768d 100644 --- a/devel/py-Faker/distinfo +++ b/devel/py-Faker/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1526739807 -SHA256 (Faker-0.8.15.tar.gz) = a77a1a2223a8e0d32618878350bbd2171040f32b526ba2cddfab8864704bb370 -SIZE (Faker-0.8.15.tar.gz) = 733207 +TIMESTAMP = 1666452063 +SHA256 (Faker-15.1.1.tar.gz) = a741b77f484215c3aab2604100669657189548f440fcb2ed0f8b7ee21c385629 +SIZE (Faker-15.1.1.tar.gz) = 1600615 diff --git a/devel/py-Faker/files/patch-setup.py b/devel/py-Faker/files/patch-setup.py deleted file mode 100644 index fb2dc242d610..000000000000 --- a/devel/py-Faker/files/patch-setup.py +++ /dev/null @@ -1,14 +0,0 @@ -# == (pinned) dependencies are extremely brittle -# for FreeBSD ports. Get upstream to fix (>=) these - ---- setup.py.orig 2020-02-17 09:58:01 UTC -+++ setup.py -@@ -63,7 +63,7 @@ setup( - install_requires=[ - "python-dateutil>=2.4", - "six>=1.10", -- "text-unidecode==1.2", -+ "text-unidecode>=1.2", - ], - tests_require=[ - "email_validator>=1.0.0,<1.1.0",