2018-02-13 12:56:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2018/02/13 11:56:26 adam Exp $
|
2017-04-24 18:38:54 +02:00
|
|
|
|
2018-02-13 12:56:26 +01:00
|
|
|
DISTNAME= Faker-0.8.11
|
2017-07-19 17:28:19 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Faker/}
|
2017-04-24 18:38:54 +02:00
|
|
|
|
|
|
|
MAINTAINER= darcy@NetBSD.org
|
|
|
|
HOMEPAGE= https://github.com/joke2k/faker
|
|
|
|
COMMENT= Faker is a Python package that generates fake data for you
|
|
|
|
LICENSE= mit
|
|
|
|
|
2017-07-19 17:28:19 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.4:../../time/py-dateutil
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
2017-10-17 13:36:56 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-text-unidecode-[0-9]*:../../textproc/py-text-unidecode
|
2017-04-24 18:38:54 +02:00
|
|
|
|
2017-06-17 21:37:12 +02:00
|
|
|
.include "../../lang/python/pyversion.mk"
|
2017-07-19 17:28:19 +02:00
|
|
|
.if "${PYPKGPREFIX}" == "py27"
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
|
2017-06-17 21:37:12 +02:00
|
|
|
.endif
|
|
|
|
|
2018-01-18 10:55:52 +01:00
|
|
|
# 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
|
|
|
|
|
2017-12-20 17:12:15 +01:00
|
|
|
USE_LANGUAGES= # none
|
2017-07-19 17:28:19 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} faker faker${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
|
2017-06-17 21:37:12 +02:00
|
|
|
.include "../../lang/python/egg.mk"
|
2017-04-24 18:38:54 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|