diff options
author | adam <adam@pkgsrc.org> | 2018-08-14 07:30:56 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-08-14 07:30:56 +0000 |
commit | 548b1c0678805c9d7a2f67c354a94f29cdc7c114 (patch) | |
tree | 78e216cd2ff16e92153c86c952c16330650b9275 /devel | |
parent | 1c174e749abf81a878f560a7b5bce00b65a8d118 (diff) | |
download | pkgsrc-548b1c0678805c9d7a2f67c354a94f29cdc7c114.tar.gz |
py-faker: updated to 0.9.0
0.9.0:
.random_sample() now returns a list of unique elements instead of a set.
.random_sample_unique() is removed in favor of .random_sample().
Added random_choices(), random_elements() and random_letters().
Added faker.utils.distribution.choices_distribution_unique().
words(), password(), uri_path and pystr() now use the new the random_choices() method.
0.8.18:
Change blood group from 0 (zero) to O (capital letter O). Some locales do use 'zero', but O is more common and it is the medical standard.
Fix alpha-2 country code for Haiti.
Fix abbreviation for Nunavut.
Standardized postcode in address providers. Now all locales are guaranteed to have a postcode method and may have a localized alias for it (eg: zipcode).
Fix typo in pt_BR Person perovider.
Fix timezone handling.
Use tzinfo when provided in date_of_birth.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-faker/Makefile | 13 | ||||
-rw-r--r-- | devel/py-faker/distinfo | 10 |
2 files changed, 11 insertions, 12 deletions
diff --git a/devel/py-faker/Makefile b/devel/py-faker/Makefile index aafa580075d..e58859f1807 100644 --- a/devel/py-faker/Makefile +++ b/devel/py-faker/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2018/07/13 13:54:01 adam Exp $ +# $NetBSD: Makefile,v 1.22 2018/08/14 07:30:56 adam Exp $ -DISTNAME= Faker-0.8.17 +DISTNAME= Faker-0.9.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=F/Faker/} @@ -13,16 +13,15 @@ LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.4:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-six>=1.10:../../lang/py-six DEPENDS+= ${PYPKGPREFIX}-text-unidecode>=1.2:../../textproc/py-text-unidecode +TEST_DEPENDS+= ${PYPKGPREFIX}-email_validator>=1.0.0:../../mail/py-email_validator +TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock +TEST_DEPENDS+= ${PYPKGPREFIX}-ukpostcodeparser>=1.1.1:../../mail/py-ukpostcodeparser .include "../../lang/python/pyversion.mk" -.if "${PYPKGPREFIX}" == "py27" +.if "${_PYTHON_VERSION}" == "27" DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress .endif -TEST_DEPENDS+= ${PYPKGPREFIX}-email_validator>=1.0.0:../../mail/py-email_validator -TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock -TEST_DEPENDS+= ${PYPKGPREFIX}-ukpostcodeparser>=1.1.1:../../mail/py-ukpostcodeparser - USE_LANGUAGES= # none post-install: diff --git a/devel/py-faker/distinfo b/devel/py-faker/distinfo index c2e8a55f0fe..7f29597f202 100644 --- a/devel/py-faker/distinfo +++ b/devel/py-faker/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.20 2018/07/13 13:54:01 adam Exp $ +$NetBSD: distinfo,v 1.21 2018/08/14 07:30:56 adam Exp $ -SHA1 (Faker-0.8.17.tar.gz) = 79f7d4de65b518e21405722484276539e27351d9 -RMD160 (Faker-0.8.17.tar.gz) = 761682202e73ac7f2ceeea61c28d2695aad3a6df -SHA512 (Faker-0.8.17.tar.gz) = c941dc152fa4619bb4ab7852692268668644550fedd8b3e6b033804e437108e9c6c53d514946031a72d79841fdfb1d34d0133b2674ac49d27528da66ac0ab86f -Size (Faker-0.8.17.tar.gz) = 746667 bytes +SHA1 (Faker-0.9.0.tar.gz) = c22e94a3bc0d1f0c93cbd393c464e23a7370735e +RMD160 (Faker-0.9.0.tar.gz) = 4e222eaae4a0743aaab7b39e287bae6e16980f9c +SHA512 (Faker-0.9.0.tar.gz) = 39aca43baf30435a759d649cd6c62ac9389565d82cdfe3ebfd4d9451bee98d23d5e170d5888eca5ded325c9990556ecb499fc6c1b1eea02b9b996cd094425a92 +Size (Faker-0.9.0.tar.gz) = 751181 bytes |