# Created by: Alfred Perlstein PORTNAME= Faker PORTVERSION= 0.8.15 PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= alfred@FreeBSD.org COMMENT= Python package that generates fake data for you 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} USES= python:3.6+ USE_PYTHON= distutils concurrent autoplist 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