Files
ports/devel/py-Faker/files/patch-setup.py
T
Kubilay Kocak bacfdeb627 devel/py-Faker: Add missing dependencies
None of the packages upstream specified dependencies were declared in the
port. This change adds those missing dependencies.

The issue was identified while QA'ing www/py-freenit via bug 242817

File "/usr/local/lib/python3.7/site-packages/faker/providers/internet/__init__.py", line 4, in <module>
    from text_unidecode import unidecode
ModuleNotFoundError: No module named 'text_unidecode'

While I'm here, level up ports (and Python ports) compliance and add test
target.

Approved by:	portmgr (blanket(s): missing dependencies, ports (Python) compliance)
MFH:		2020Q1
2020-02-17 10:06:56 +00:00

15 lines
396 B
Python

# == (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",