pkgsrc/devel/py-faker/Makefile
adam 49f24c5209 py-faker: updated to 4.0.3
4.0.3:
* Fixed ``MSISDN`` for ``pt_BR``  to return only mobile numbers.
* Added Domain Generator Algorithm by date.
* Fixed issue where ``pydict`` provider was not returning the correct number of elements.
* Added support for Indian Aadhaar numbers.
* Added ``company_vat`` for ``it_IT``.
* Improved autodocumentation of providers.
* Added provider for ``es_ES`` license plates.
* Implemented ``__dir__`` method to Faker proxy for better autocompletion.
* Uppercased HEX colors for all localized color providers.
* Added bank provider for ``es_ES`` locale.
* Added support for UK counties.
* Added color provider for ``no_NO`` license plates.
* Made ``value_types`` a keyword argument in ``python`` provider.
2020-04-27 10:19:46 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2020/04/27 10:19:46 adam Exp $
DISTNAME= Faker-4.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Faker/}
MAINTAINER= darcy@NetBSD.org
HOMEPAGE= https://github.com/joke2k/faker
COMMENT= Python package that generates fake data for you
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.4:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-text-unidecode>=1.3:../../textproc/py-text-unidecode
TEST_DEPENDS+= ${PYPKGPREFIX}-email_validator>=1.0.0:../../mail/py-email_validator
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
TEST_DEPENDS+= ${PYPKGPREFIX}-random2-[0-9]*:../../devel/py-random2
TEST_DEPENDS+= ${PYPKGPREFIX}-ukpostcodeparser>=1.1.1:../../mail/py-ukpostcodeparser
TEST_DEPENDS+= ${PYPKGPREFIX}-validators>=0.13.0:../../textproc/py-validators
PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 4.0.0
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} faker faker-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"