pkgsrc/devel/py-faker/Makefile
adam 667c9b0534 py-faker: updated to 0.8.11
0.8.11:
* Add scheme selection for internet url provider.
* Increase lower bound on AD date generation.
* Add the ability to specify the min and max age for some ssn locales.
2018-02-13 11:56:26 +00:00

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2018/02/13 11:56:26 adam Exp $
DISTNAME= Faker-0.8.11
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
# TEST_DEPENDS
BUILD_DEPENDS+= ${PYPKGPREFIX}-email_validator>=1.0.0:../../mail/py-email_validator
BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
BUILD_DEPENDS+= ${PYPKGPREFIX}-ukpostcodeparser>=1.1.1:../../mail/py-ukpostcodeparser
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} faker faker${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"