1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/py-Faker/Makefile
2021-04-06 16:31:07 +02:00

32 lines
969 B
Makefile

# Created by: Alfred Perlstein <alfred@freebsd.org>
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
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>