From 02560339da61d8b5057263fe493d4c7262ce949a4881d5bf71bc69ed2e062171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 26 Apr 2019 08:27:49 +0000 Subject: [PATCH] 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 --- Faker-1.0.4.tar.gz | 3 --- Faker-1.0.5.tar.gz | 3 +++ ipaddress.patch | 13 ------------- python-Faker.changes | 16 ++++++++++++++++ python-Faker.spec | 5 ++--- 5 files changed, 21 insertions(+), 19 deletions(-) delete mode 100644 Faker-1.0.4.tar.gz create mode 100644 Faker-1.0.5.tar.gz delete mode 100644 ipaddress.patch diff --git a/Faker-1.0.4.tar.gz b/Faker-1.0.4.tar.gz deleted file mode 100644 index 25ad7d8..0000000 --- a/Faker-1.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:745ac8b9c9526e338696e07b7f2e206e5e317e5744e22fdd7c2894bf19af41f1 -size 803706 diff --git a/Faker-1.0.5.tar.gz b/Faker-1.0.5.tar.gz new file mode 100644 index 0000000..3c5a766 --- /dev/null +++ b/Faker-1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f2f4570df28df2eb8f39b00520eb610081d6552975e926c6a2cbc64fd89c4c1 +size 827536 diff --git a/ipaddress.patch b/ipaddress.patch deleted file mode 100644 index 51858fd..0000000 --- a/ipaddress.patch +++ /dev/null @@ -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', - ], - }, diff --git a/python-Faker.changes b/python-Faker.changes index f8f7c2a..f4849e3 100644 --- a/python-Faker.changes +++ b/python-Faker.changes @@ -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 diff --git a/python-Faker.spec b/python-Faker.spec index a360f04..37d5022 100644 --- a/python-Faker.spec +++ b/python-Faker.spec @@ -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