Accepting request 893471 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/893471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2021-05-16 21:42:03 +00:00 committed by Git OBS Bridge
commit 48280e31cf
4 changed files with 41 additions and 16 deletions

View File

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

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

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

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sun May 16 12:06:29 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 8.1.4:
* Support distant past dates on Windows. Thanks @prescod.
* Fixes #1439: Cast Path to a string for pkgutil.iter_modules
(#1441). Thanks @fcurella.
* Fix company suffix typo for th_TH. Thanks @bact.
* Remove gmail.co.uk from en_GB email Provider. Thanks @bact.
* Extend pl_PL Pesel To support greater range of dates. Thanks
@IlfirinPL.
* Fix CLI only giving 10 possible outputs. Thanks @andrewdotn.
* Fix faker module loader to use strings rather than Paths.
Thanks @mgorny.
* Make sure pyfloat fails when asked to produce more digits than
the system supports. Thanks @rossjones.
* Ensure pytuple returns the correct number of items. Thanks
@rossjones.
* Fix ro_RO phone numbers generation. Thanks @feketemihai.
* set uk_UA address street titles to proper language. Thanks
@fessua.
* Add address provider for ro_RO. Thanks @feketemihai.
* Fix a problem with pyfloat where it can return sys.epsilon
when right_digits=N and positive=True. Thanks @tomage.
* Replace es_MX RFC name initials when they are forbidden words.
Thanks @briferz.
* Add address provider for de_CH. Thanks @andre-dasilva.
* user_agent: bump platform versions. Thanks @gsilvan.
* Add cs_CZ lorem - word list. Thanks @jakubno.
-------------------------------------------------------------------
Thu Feb 18 13:32:16 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -16,11 +16,10 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%{?!python_module:%define python_module() python3-%{**}}
%global skip_python2 1
Name: python-Faker
Version: 6.3.0
Version: 8.1.4
Release: 0
Summary: Python package that generates fake data
License: MIT
@ -28,25 +27,20 @@ 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}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest >= 3.8.0}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest >= 6.0.1}
BuildRequires: %{python_module python-dateutil >= 2.4}
BuildRequires: %{python_module random2}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10}
BuildRequires: %{python_module text-unidecode >= 1.3}
BuildRequires: %{python_module validators >= 0.13.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
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
Obsoletes: python3-fake-factory < %{version}
Provides: python3-fake-factory = %{version}
Requires(postun):update-alternatives
Obsoletes: python3-fake-factory < %{version}-%{release}
Provides: python3-fake-factory = %{version}-%{release}
BuildArch: noarch
%python_subpackages
@ -83,6 +77,7 @@ sed -i -e 's:==:>=:g' setup.py
%license LICENSE.txt
%doc CHANGELOG.md README.rst
%python_alternative %{_bindir}/faker
%{python_sitelib}/*
%{python_sitelib}/faker
%{python_sitelib}/Faker-%{version}*-info
%changelog