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 4.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/513a86b12086
branches:  trunk
changeset: 409108:513a86b12086
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 15 18:05:31 2020 +0000

description:
py-faker: updated to 4.0.0

4.0.0:
Breaking change: Remove support for end-of-life Python 2.7.

3.0.1:
NOTE: This is the last release to support Python 2.7.x.

Add provider methods zip and tar for generating zip and tar files.
Add en-CA postcode_in_province() method.
Update Address and Automotive provider for Russian locale.
Add provider methods for dsv files: csv, tsv, psv and generic dsv.
Remove parenthesis from city name in de_DE address provider.
Add NIP generator in pl_PL.
Fix Faker.random_number intermittent exceptions.

3.0.0:
Breaking change: Add support for multiple locale data generation.

2.0.5:
Add Iranian credit card.
Improve color provider.
Add counties (concelhos) for locale pt_PT.
Change NY zipcode range.
Fix pyfloat out of min/max range.

diffstat:

 devel/py-faker/Makefile |  17 +++++------------
 devel/py-faker/PLIST    |  17 +++++++++++++----
 devel/py-faker/distinfo |  10 +++++-----
 3 files changed, 23 insertions(+), 21 deletions(-)

diffs (111 lines):

diff -r c8238ce03716 -r 513a86b12086 devel/py-faker/Makefile
--- a/devel/py-faker/Makefile   Wed Jan 15 17:58:37 2020 +0000
+++ b/devel/py-faker/Makefile   Wed Jan 15 18:05:31 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2019/11/14 10:42:38 adam Exp $
+# $NetBSD: Makefile,v 1.34 2020/01/15 18:05:31 adam Exp $
 
-DISTNAME=      Faker-2.0.4
+DISTNAME=      Faker-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Faker/}
@@ -12,21 +12,14 @@
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 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
+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
-# not packaged
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-random2
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-more-itertools-[0-9]*:../../devel/py-more-itertools
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # since 4.0.0
 
 USE_LANGUAGES= # none
 
diff -r c8238ce03716 -r 513a86b12086 devel/py-faker/PLIST
--- a/devel/py-faker/PLIST      Wed Jan 15 17:58:37 2020 +0000
+++ b/devel/py-faker/PLIST      Wed Jan 15 18:05:31 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2019/11/14 10:42:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.22 2020/01/15 18:05:31 adam Exp $
 bin/faker-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -20,9 +20,6 @@
 ${PYSITELIB}/faker/cli.py
 ${PYSITELIB}/faker/cli.pyc
 ${PYSITELIB}/faker/cli.pyo
-${PYSITELIB}/faker/compat.py
-${PYSITELIB}/faker/compat.pyc
-${PYSITELIB}/faker/compat.pyo
 ${PYSITELIB}/faker/config.py
 ${PYSITELIB}/faker/config.pyc
 ${PYSITELIB}/faker/config.pyo
@@ -278,6 +275,9 @@
 ${PYSITELIB}/faker/providers/color/ar_PS/__init__.py
 ${PYSITELIB}/faker/providers/color/ar_PS/__init__.pyc
 ${PYSITELIB}/faker/providers/color/ar_PS/__init__.pyo
+${PYSITELIB}/faker/providers/color/color.py
+${PYSITELIB}/faker/providers/color/color.pyc
+${PYSITELIB}/faker/providers/color/color.pyo
 ${PYSITELIB}/faker/providers/color/en_US/__init__.py
 ${PYSITELIB}/faker/providers/color/en_US/__init__.pyc
 ${PYSITELIB}/faker/providers/color/en_US/__init__.pyo
@@ -404,6 +404,9 @@
 ${PYSITELIB}/faker/providers/credit_card/en_US/__init__.py
 ${PYSITELIB}/faker/providers/credit_card/en_US/__init__.pyc
 ${PYSITELIB}/faker/providers/credit_card/en_US/__init__.pyo
+${PYSITELIB}/faker/providers/credit_card/fa_IR/__init__.py
+${PYSITELIB}/faker/providers/credit_card/fa_IR/__init__.pyc
+${PYSITELIB}/faker/providers/credit_card/fa_IR/__init__.pyo
 ${PYSITELIB}/faker/providers/currency/__init__.py
 ${PYSITELIB}/faker/providers/currency/__init__.pyc
 ${PYSITELIB}/faker/providers/currency/__init__.pyo
@@ -1193,6 +1196,9 @@
 ${PYSITELIB}/faker/providers/ssn/tl_PH/__init__.py
 ${PYSITELIB}/faker/providers/ssn/tl_PH/__init__.pyc
 ${PYSITELIB}/faker/providers/ssn/tl_PH/__init__.pyo
+${PYSITELIB}/faker/providers/ssn/tr_TR/__init__.py
+${PYSITELIB}/faker/providers/ssn/tr_TR/__init__.pyc
+${PYSITELIB}/faker/providers/ssn/tr_TR/__init__.pyo
 ${PYSITELIB}/faker/providers/ssn/uk_UA/__init__.py
 ${PYSITELIB}/faker/providers/ssn/uk_UA/__init__.pyc
 ${PYSITELIB}/faker/providers/ssn/uk_UA/__init__.pyo
@@ -1208,6 +1214,9 @@
 ${PYSITELIB}/faker/providers/user_agent/en_US/__init__.py
 ${PYSITELIB}/faker/providers/user_agent/en_US/__init__.pyc
 ${PYSITELIB}/faker/providers/user_agent/en_US/__init__.pyo
+${PYSITELIB}/faker/proxy.py
+${PYSITELIB}/faker/proxy.pyc
+${PYSITELIB}/faker/proxy.pyo
 ${PYSITELIB}/faker/utils/__init__.py
 ${PYSITELIB}/faker/utils/__init__.pyc
 ${PYSITELIB}/faker/utils/__init__.pyo
diff -r c8238ce03716 -r 513a86b12086 devel/py-faker/distinfo
--- a/devel/py-faker/distinfo   Wed Jan 15 17:58:37 2020 +0000
+++ b/devel/py-faker/distinfo   Wed Jan 15 18:05:31 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.31 2019/11/14 10:42:38 adam Exp $
+$NetBSD: distinfo,v 1.32 2020/01/15 18:05:31 adam Exp $
 
-SHA1 (Faker-2.0.4.tar.gz) = 10d71384d1663fbdd2c0b312ec02dea153e6f05c
-RMD160 (Faker-2.0.4.tar.gz) = fb518892921d085705aa734f322fc0ade6a7faf6
-SHA512 (Faker-2.0.4.tar.gz) = 80fcad02d6b54c5a10cdce119221bbbe41331d376985a48d869920a62c03b1a1613f80680671cc0e93cc113cbd5f3be13ddaee3d4e13f682a08350207b3c8671
-Size (Faker-2.0.4.tar.gz) = 900243 bytes
+SHA1 (Faker-4.0.0.tar.gz) = 9c77d17d5599e73ad47c47c202f403b58333ee35
+RMD160 (Faker-4.0.0.tar.gz) = 42ef65aec1f9d6e1da727040d767097a160b3a38
+SHA512 (Faker-4.0.0.tar.gz) = 7591ea87071e486773722ef34a00a32ec4d2320c5448c72e63eaa50eda01d5e96e1d1f89c2e1187cdada7d8a267d304aff5683a5a4ca6aee48b417ec28824eeb
+Size (Faker-4.0.0.tar.gz) = 920491 bytes



Home | Main Index | Thread Index | Old Index