0.8.7: Corrected some issues with the Hungarian (hu_HU) providers, such as incorrectly capitalized company suffixes, street/road type names and place names. The Hungarian locale's providers.job.job provider now returns Hungarian job names, taken from the Hungarian National Statistical Office (KSH)'s 2008 survey nomenclature of employment (FEOR '08). Added he_IL locale. Fix possible infinite loop in random_sample_unique. Add aliases to make pt_BR address provider compatible with en_US. Fix ResourceWarning in setup.py. Update test requirements.
28 lines
867 B
Makefile
28 lines
867 B
Makefile
# $NetBSD: Makefile,v 1.11 2017/11/15 08:19:15 adam Exp $
|
|
|
|
DISTNAME= Faker-0.8.7
|
|
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= Faker is a Python package that generates fake data for you
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.4:../../time/py-dateutil
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
DEPENDS+= ${PYPKGPREFIX}-text-unidecode-[0-9]*:../../textproc/py-text-unidecode
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if "${PYPKGPREFIX}" == "py27"
|
|
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
|
|
.endif
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} faker faker${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|