Accepting request 785575 from devel:languages:python

- Remove obsolete py2 dependencies

- update to 4.0.2:
  * Add more data for ``ko_KR`` address provider. Thanks @alstn2468.
  * Improved ``pt_PT`` locale for address and bank. Thanks @mustakarhu.
  * Add ``port_number`` method to internet provider. Thanks @pishchalnikov.
  * Add color provider for ``fa_IR`` locale. Thanks @abtinmo.
  * Add formatting options for ``pt_BR`` postcodes. Thanks @perssonsimon1 and @klaraesr.
  * Add ``country_calling_code`` to ``phone_number`` provider. Thanks @perssonsimon1.
  * Fix leap year issue. Thanks @mmcmahon.
  * Add ``AutomotiveProvider`` for ``fr_FR`` locale. Thanks @clarissedescamps and @perssonsimon1.
  * Fix ``cellphone_formats`` in ``pt_BR`` ``PhoneNumberProvider``. Thanks @rodrigondec.

- update to 4.0.1:
  * Provider improvements for Russian locale:
      * added city suffixes, regions and country list
      * regions converted into states for now
      * street address formats and states expanded
      * lists for street titles changed
      * Fixed errors in Automotive Provider
      * Fixed errors in Address Provider
      * Bank Provider expanded:
          * BIC added)
          * Added list of banks
      * Improved Company Provider
      * Credit Card and Person Provider improvements
      * Currency Provider improvements
      * Date-Time Provider improvements
      * translit fix

OBS-URL: https://build.opensuse.org/request/show/785575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2020-04-19 19:41:24 +00:00 committed by Git OBS Bridge
commit aa39ebd3b9
4 changed files with 49 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7f7466cb9ba58d582f713494acdb5ebcc462336c5e38c5230b0cdab37069985
size 923501

3
Faker-4.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d3f866ef25e1a5af80e7b0ceeacc3c92dec5d0fdbad3e2cb6adf6e60b22188f
size 957942

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Mon Mar 16 10:32:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Remove obsolete py2 dependencies
-------------------------------------------------------------------
Sat Mar 14 12:22:20 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 4.0.2:
* Add more data for ``ko_KR`` address provider. Thanks @alstn2468.
* Improved ``pt_PT`` locale for address and bank. Thanks @mustakarhu.
* Add ``port_number`` method to internet provider. Thanks @pishchalnikov.
* Add color provider for ``fa_IR`` locale. Thanks @abtinmo.
* Add formatting options for ``pt_BR`` postcodes. Thanks @perssonsimon1 and @klaraesr.
* Add ``country_calling_code`` to ``phone_number`` provider. Thanks @perssonsimon1.
* Fix leap year issue. Thanks @mmcmahon.
* Add ``AutomotiveProvider`` for ``fr_FR`` locale. Thanks @clarissedescamps and @perssonsimon1.
* Fix ``cellphone_formats`` in ``pt_BR`` ``PhoneNumberProvider``. Thanks @rodrigondec.
-------------------------------------------------------------------
Fri Feb 28 21:23:24 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 4.0.1:
* Provider improvements for Russian locale:
* added city suffixes, regions and country list
* regions converted into states for now
* street address formats and states expanded
* lists for street titles changed
* Fixed errors in Automotive Provider
* Fixed errors in Address Provider
* Bank Provider expanded:
* BIC added)
* Added list of banks
* Improved Company Provider
* Credit Card and Person Provider improvements
* Currency Provider improvements
* Date-Time Provider improvements
* translit fix
Thanks @valestel.
* Add Birth Number to czech locale. Thanks @Jengah.
* Add persons provider for ``fr_QC``. Thanks @Lionesk.
-------------------------------------------------------------------
Fri Jan 17 09:00:09 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%global skip_python2 1
Name: python-Faker
Version: 3.0.1
Version: 4.0.2
Release: 0
Summary: Python package that generates fake data
License: MIT
Group: Development/Languages/Python
URL: https://github.com/joke2k/faker
Source: https://files.pythonhosted.org/packages/source/F/Faker/Faker-%{version}.tar.gz
BuildRequires: %{python_module UkPostcodeParser >= 1.1.1}
@ -39,23 +39,15 @@ BuildRequires: %{python_module text-unidecode >= 1.3}
BuildRequires: %{python_module validators >= 0.13.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-ipaddress
Requires: python-python-dateutil >= 2.4
Requires: python-setuptools
Requires: python-six >= 1.10
Requires: python-text-unidecode >= 1.3
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%ifpython2
Requires: python2-ipaddress
Obsoletes: %{oldpython}-fake-factory < %{version}
Provides: %{oldpython}-fake-factory = %{version}
%endif
%ifpython3
Obsoletes: python3-fake-factory < %{version}
Provides: python3-fake-factory = %{version}
%endif
BuildArch: noarch
%python_subpackages
%description