pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-faker py-faker: updated to 0.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d57ecf4dd85b
branches:  trunk
changeset: 311543:d57ecf4dd85b
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 14 07:30:56 2018 +0000

description:
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:

 devel/py-faker/Makefile |  15 +++++++--------
 devel/py-faker/distinfo |  10 +++++-----
 2 files changed, 12 insertions(+), 13 deletions(-)

diffs (49 lines):

diff -r 1b52758c3be5 -r d57ecf4dd85b devel/py-faker/Makefile
--- a/devel/py-faker/Makefile   Tue Aug 14 07:26:20 2018 +0000
+++ b/devel/py-faker/Makefile   Tue Aug 14 07:30:56 2018 +0000
@@ -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 @@
 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
-
-.include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py27"
-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
 
+.include "../../lang/python/pyversion.mk"
+.if "${_PYTHON_VERSION}" == "27"
+DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
+.endif
+
 USE_LANGUAGES= # none
 
 post-install:
diff -r 1b52758c3be5 -r d57ecf4dd85b devel/py-faker/distinfo
--- a/devel/py-faker/distinfo   Tue Aug 14 07:26:20 2018 +0000
+++ b/devel/py-faker/distinfo   Tue Aug 14 07:30:56 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index