- Update to 1.0.10:
* Many changes to list see CHANGELOG.rst - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=16
This commit is contained in:
parent
449a81878b
commit
d2f2a927d7
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9da4c829d5592202a614d2db3c3e05d17684f5b590b7dbd6d7e70dc1053213a6
|
||||
size 709422
|
3
Faker-1.0.2.tar.gz
Normal file
3
Faker-1.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d871ea315b2dcba9138b8344f2c131a76ac62d6227ca39f69b0c889fec97376c
|
||||
size 933017
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 14:44:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.0.10:
|
||||
* Many changes to list see CHANGELOG.rst
|
||||
- Run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:47:53 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Faker
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,35 +18,35 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%bcond_with test
|
||||
Name: python-Faker
|
||||
Version: 0.8.10
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
Summary: Faker is a 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
|
||||
BuildRequires: %{python_module UkPostcodeParser >= 1.1.1}
|
||||
BuildRequires: %{python_module email_validator >= 1.0.2}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module more-itertools}
|
||||
BuildRequires: %{python_module pytest >= 3.8.0}
|
||||
BuildRequires: %{python_module python-dateutil >= 2.4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.10}
|
||||
BuildRequires: %{python_module text-unidecode >= 1.2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-ipaddress
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-email_validator >= 1.0.2
|
||||
Requires: python-python-dateutil >= 2.4
|
||||
Requires: python-six
|
||||
Requires: python-text-unidecode
|
||||
Requires: python-six >= 1.10
|
||||
Requires: python-text-unidecode >= 1.2
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module email_validator >= 1.0.2}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module python-dateutil >= 2.4}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module text-unidecode}
|
||||
BuildRequires: python-ipaddress
|
||||
%endif
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
%ifpython2
|
||||
Recommends: python-ipaddress
|
||||
Requires: python-ipaddress
|
||||
Obsoletes: %{oldpython}-fake-factory < %{version}
|
||||
Provides: %{oldpython}-fake-factory = %{version}
|
||||
%endif
|
||||
@ -63,6 +63,8 @@ testing, and data anonymization from production services.
|
||||
|
||||
%prep
|
||||
%setup -q -n Faker-%{version}
|
||||
# do not hardcode pytest version
|
||||
sed -i -e 's:"pytest>=3.8.0,<3.9":"pytest>=3.8.0":g' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -78,10 +80,8 @@ testing, and data anonymization from production services.
|
||||
%postun
|
||||
%python_uninstall_alternative faker
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Loading…
Reference in New Issue
Block a user