Accepting request 718191 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/718191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2019-08-05 09:18:08 +00:00 committed by Git OBS Bridge
commit 66bad76032
4 changed files with 28 additions and 11 deletions

View File

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

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

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Jul 24 09:39:48 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 2.0.0
* Breaking change: Only allow providers to use OrderedDict s, to
avoid any more PYTHONHASHSEED problems.
* Remove some validations from Faker and delegate it to an
external library, validators.
* Add an "Invalid SSN" generator to the en_US SSN Provider.
* Loosen version restrictions on freezegun and random2.
* Add date_of_birth and sex argument to pesel Provider (pl_PL).
* Fix datetime parsing on environments with negative offsets.
-------------------------------------------------------------------
Fri Jul 19 20:16:51 UTC 2019 - Sean Marlow <sean.marlow@suse.com>
- Update ipaddress requirements.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 23 08:28:50 UTC 2019 - pgajdos@suse.com Thu May 23 08:28:50 UTC 2019 - pgajdos@suse.com

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python %define oldpython python
Name: python-Faker Name: python-Faker
Version: 1.0.7 Version: 2.0.0
Release: 0 Release: 0
Summary: Python package that generates fake data Summary: Python package that generates fake data
License: MIT License: MIT
@ -27,19 +27,19 @@ Group: Development/Languages/Python
URL: https://github.com/joke2k/faker URL: https://github.com/joke2k/faker
Source: https://files.pythonhosted.org/packages/source/F/Faker/Faker-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/F/Faker/Faker-%{version}.tar.gz
BuildRequires: %{python_module UkPostcodeParser >= 1.1.1} BuildRequires: %{python_module UkPostcodeParser >= 1.1.1}
BuildRequires: %{python_module email_validator >= 1.0.2} BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module freezegun >= 0.3.11}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pytest >= 3.8.0} BuildRequires: %{python_module pytest >= 3.8.0}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module python-dateutil >= 2.4} BuildRequires: %{python_module python-dateutil >= 2.4}
BuildRequires: %{python_module random2 >= 1.0.1} BuildRequires: %{python_module random2}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10} BuildRequires: %{python_module six >= 1.10}
BuildRequires: %{python_module text-unidecode >= 1.2} BuildRequires: %{python_module text-unidecode >= 1.2}
BuildRequires: %{python_module validators >= 0.13.0}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-ipaddress
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python2-ipaddress
Requires: python-python-dateutil >= 2.4 Requires: python-python-dateutil >= 2.4
Requires: python-setuptools Requires: python-setuptools
Requires: python-six >= 1.10 Requires: python-six >= 1.10
@ -47,9 +47,8 @@ Requires: python-text-unidecode >= 1.2
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
BuildRequires: %{python_module pytest-runner}
%ifpython2 %ifpython2
Requires: python-ipaddress Requires: python2-ipaddress
Obsoletes: %{oldpython}-fake-factory < %{version} Obsoletes: %{oldpython}-fake-factory < %{version}
Provides: %{oldpython}-fake-factory = %{version} Provides: %{oldpython}-fake-factory = %{version}
%endif %endif