1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

devel/py-Faker: Update to 15.1.1

ChangeLog:	https://github.com/joke2k/faker/blob/master/CHANGELOG.md
PR:		267272
Approved by:	maintainer timeout, >2 weeks
This commit is contained in:
Nuno Teixeira 2022-11-09 22:52:40 +00:00
parent 12c49822cb
commit ccb96f95fd
3 changed files with 11 additions and 29 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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",