pkgsrc/devel/py-faker/Makefile
adam e0f110a027 py-faker: updated to 13.3.0
v13.3.0

* Add lorem provider for `fa-ir` language code. Thanks @arminshoughi.

v13.2.0

*  Add `bn_BD` Lorem Provider. Thanks @jabertuhin.

[v13.1.0

* Add  lorem support for `de_DE` and `de_AT`. Thanks @@Kalbra.

v13.0.0

* Use `os.urandom` in `binary()` if unseeded. Thanks @AlmightyYakob.

v12.3.3

*  Arabic improvements for names. Thanks @alfawal.

v12.3.2

* Fix postcode format for `es_ES` locale. Thanks @mondeja.

v12.3.1

* Prevent "non-integer arguments to randrange()" warnings on Python 3.10.
  Thanks @jacksmith15.

v12.3.0

* Fix `it_IT` `ssn()` validity. Thanks @MarcoMatarazzo.

v12.2.0

* Add cities to `de_CH`. Thanks @Kalbra.

v12.1.0

* Set correct language on provider when specific locale is requested.
  Thanks @interDist.

v12.0.1

* Remove empty string in Korean job list. Thanks @georgidimitrov-hs.

v12.0.0

* Remove dependency from [`text-unidecode`](https://github.com/kmike/text-unidecode/).

v11.4.0

* Add geonames db of Italian cap-city-province and full match when generating
  full addresses.
2022-03-06 17:22:18 +00:00

37 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.56 2022/03/06 17:22:18 adam Exp $
DISTNAME= Faker-13.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Faker/}
MAINTAINER= pkgsrc-users@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
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
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0.2:../../devel/py-typing-extensions
.endif
USE_PKG_RESOURCES= yes
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} faker faker-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"