v11.3.0 * Add banks for `fa-ir`. v11.2.0 * Improve phone numbers for `it_IT`. v11.1.0 * Add providers for `az_AZ` locale. v11.0.0 * Replace `lorempixel.com` service with `picsum.photos` in `image_url` provider. * Add `placeholder_url` argument to `image_url`. v10.0.0 * deprecate positional `allowed_types`. v9.9.1 * Revert "deprecate positional `allowed_types`". v9.9.0 * deprecate positional `allowed_types`. v9.8.4 * Fix positional `value_types`. v9.8.3 * Shorten IBANs for `pl_PL` to 28 chars. v9.8.2 * Relax ElementsType to admit e.g. Sets. v9.8.1 * Fix ``pydecimal`` with ``left_digits=0`` not setting the left digit to 0. v9.8.0 * Add ``es_CO`` localized providers. Thank you @healarconr. v9.7.1 * Take into account area codes for French phone numbers. v9.7.0 * Add provider for French SSN. v9.6.0 * Add dynamic provider. v9.5.3 * Improve randomness of ``pydecimal`` for different scenarios. v9.5.2 * Limit ``typing_extensions`` dependency to Python < 3.8. v9.5.1 * Add ``typing-extensions`` as dependency and pin ``mypy`` version. v9.5.0 * Add automotive provider for ``nl_NL``. v9.4.0 * Add Typing. v9.3.1 * Change to secondary address format in ``en_AU`` locale to reflect the common usage. v9.3.0 * Add ``currency``, ``automotive``, ``company`` and ``bank`` providers for ``el_GR``. v9.2.0 * Add ``color`` and ``date_time`` provider for ``el_GR``. v9.1.0 * Add currency provider for ``nl_NL``. v9.0.1 * Fix ``pydecimal`` returning ``min_value`` or ``max_value`` too frequently. v9.0.0 * Change default email generator to use safe domain names. v8.16.0 * Add ``date_time`` provider for ``nl_NL``. v8.15.0 * Add ``bg_BG`` color provider. v8.14.2 * Fix bug in ``pydecimal`` when returning max/min. v8.14.1 * Fix `pydecimal` precision. v8.14.0 * Add datetime provider for ``bn_BD``.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.55 2022/01/14 19:54:53 adam Exp $
|
|
|
|
DISTNAME= Faker-11.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
|
|
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
|
|
|
|
.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"
|