Accepting request 698066 from home:pgajdos

- version update to 1.0.5
  * Add min and max values for ``pyfloat`` and ``pydecimal``. 
    Thanks @Lrcezimbra.
  * Add ``months`` and ``M`` to the syntax for ``start_date`` and
    ``end_date``. Thanks @anneclairebrld.
  * Add support for ``PyInstaller``. Thanks @arossert.
  * Add Dutch company names. Thanks @MathynS.
  * Fix some invalid French phone numbers starting with ``+33 8x``.
    Thanks @stephane.
  * Add Armenian locale ``hy_AM``. Thanks @hovikman.
- deleted patches
  - ipaddress.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/698066
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=24
This commit is contained in:
Tomáš Chvátal 2019-04-26 08:27:49 +00:00 committed by Git OBS Bridge
parent 1611aa107f
commit 02560339da
5 changed files with 21 additions and 19 deletions

View File

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

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

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

View File

@ -1,13 +0,0 @@
Index: Faker-1.0.4/setup.py
===================================================================
--- Faker-1.0.4.orig/setup.py
+++ Faker-1.0.4/setup.py
@@ -78,7 +78,7 @@ setup(
"freezegun==0.3.11",
],
extras_require={
- ':python_version=="2.7"': [
+ ':python_version<"3.3"': [
'ipaddress',
],
},

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Apr 26 06:26:07 UTC 2019 - pgajdos@suse.com
- version update to 1.0.5
* Add min and max values for ``pyfloat`` and ``pydecimal``.
Thanks @Lrcezimbra.
* Add ``months`` and ``M`` to the syntax for ``start_date`` and
``end_date``. Thanks @anneclairebrld.
* Add support for ``PyInstaller``. Thanks @arossert.
* Add Dutch company names. Thanks @MathynS.
* Fix some invalid French phone numbers starting with ``+33 8x``.
Thanks @stephane.
* Add Armenian locale ``hy_AM``. Thanks @hovikman.
- deleted patches
- ipaddress.patch (upstreamed)
-------------------------------------------------------------------
Fri Mar 15 13:15:47 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -19,14 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-Faker
Version: 1.0.4
Version: 1.0.5
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
Patch0: ipaddress.patch
BuildRequires: %{python_module UkPostcodeParser >= 1.1.1}
BuildRequires: %{python_module email_validator >= 1.0.2}
BuildRequires: %{python_module freezegun >= 0.3.11}
@ -42,6 +41,7 @@ BuildRequires: fdupes
BuildRequires: python-ipaddress
BuildRequires: python-rpm-macros
Requires: python-python-dateutil >= 2.4
Requires: python-setuptools
Requires: python-six >= 1.10
Requires: python-text-unidecode >= 1.2
Requires(post): update-alternatives
@ -66,7 +66,6 @@ testing, and data anonymization from production services.
%prep
%setup -q -n Faker-%{version}
%patch0 -p1
# Remove pre-existing bytecode files in the sdist
find . -name '*.py[co]' -delete
# do not hardcode versions