From 3ccf9a9b11dcd93a36e46418feab5c38657ab3fa6552c4b9a0a34a6e708a25ad Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 16 May 2021 14:08:56 +0000 Subject: [PATCH] Accepting request 893456 from home:bnavigator:branches:devel:languages:python - 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. OBS-URL: https://build.opensuse.org/request/show/893456 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=55 --- Faker-6.3.0.tar.gz | 3 --- Faker-8.1.4.tar.gz | 3 +++ python-Faker.changes | 30 ++++++++++++++++++++++++++++++ python-Faker.spec | 21 ++++++++------------- 4 files changed, 41 insertions(+), 16 deletions(-) delete mode 100644 Faker-6.3.0.tar.gz create mode 100644 Faker-8.1.4.tar.gz diff --git a/Faker-6.3.0.tar.gz b/Faker-6.3.0.tar.gz deleted file mode 100644 index 0ba9e23..0000000 --- a/Faker-6.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3971803f32728314c54ba051139cd433fc93fde371e18d07a2cec960a7a2222a -size 1064613 diff --git a/Faker-8.1.4.tar.gz b/Faker-8.1.4.tar.gz new file mode 100644 index 0000000..8de0243 --- /dev/null +++ b/Faker-8.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6a4a0a1dde71f16d489a3097661a87ae96329dbde4c3ece8a5ccc340441ade1 +size 1143731 diff --git a/python-Faker.changes b/python-Faker.changes index bc3ccfb..7f27629 100644 --- a/python-Faker.changes +++ b/python-Faker.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Sun May 16 12:06:29 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-Faker.spec b/python-Faker.spec index 95055fe..fa2716f 100644 --- a/python-Faker.spec +++ b/python-Faker.spec @@ -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