forked from pool/python-Faker
Compare commits
11 Commits
Author | SHA256 | Date | |
---|---|---|---|
3adb48cb08 | |||
9c20d65392 | |||
2138ec4124 | |||
b80ee28c75 | |||
c15a061944 | |||
beccd28d9d | |||
831696860b | |||
5791d7c94c | |||
1f977196e3 | |||
477bd5ec27 | |||
435ee1019d |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0f60978314973de02c00474c2ae899785a42b2cf4f41b7987e93c132a2b8a4a9
|
|
||||||
size 1763318
|
|
3
faker-37.6.0.tar.gz
Normal file
3
faker-37.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0f8cc34f30095184adf87c3c24c45b38b33ad81c35ef6eb0a3118f301143012c
|
||||||
|
size 1907960
|
@@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 8 14:28:00 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Update to 37.6.0
|
||||||
|
* Re-introduce part_of_speech argument to words() method.
|
||||||
|
* Add Swahili (sw) provider for generating Swahili names.
|
||||||
|
* Fix pydecimal handling of positive keyword.
|
||||||
|
* Fix pydecimal distribution when called with a range across 0.
|
||||||
|
* Force the slug always be generated with ASCII characters.
|
||||||
|
* Remove Collection[str] type from ElementTypes.
|
||||||
|
* Drop Python 3.8 support.
|
||||||
|
* Fix: es_ES doi() to use standard DOI format.
|
||||||
|
* Many more fixes and improvements in various locales, see
|
||||||
|
upstream changelog.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 19 12:11:40 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 13:18:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 1 11:43:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Make the dist-info name case-insensitive.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 25 02:33:21 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Lowercase metadata directory name.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 5 11:02:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 26.1.0
|
||||||
|
* Add more entries to `sk_SK` Geo provider.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 29 16:42:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Jun 29 16:42:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Faker
|
# spec file for package python-Faker
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,29 +16,37 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Faker
|
Name: python-Faker
|
||||||
Version: 26.0.0
|
Version: 37.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python package that generates fake data
|
Summary: Python package that generates fake data
|
||||||
License: MIT
|
License: MIT
|
||||||
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 freezegun}
|
BuildRequires: %{python_module freezegun}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 6.0.1}
|
BuildRequires: %{python_module pytest >= 6.0.1}
|
||||||
BuildRequires: %{python_module python-dateutil >= 2.4}
|
BuildRequires: %{python_module tzdata}
|
||||||
BuildRequires: %{python_module text-unidecode >= 1.3}
|
|
||||||
BuildRequires: %{python_module validators >= 0.13.0}
|
BuildRequires: %{python_module validators >= 0.13.0}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-python-dateutil >= 2.4
|
Requires: python-tzdata
|
||||||
Requires: python-text-unidecode >= 1.3
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
Obsoletes: python3-fake-factory < %{version}-%{release}
|
Obsoletes: python3-fake-factory < %{version}-%{release}
|
||||||
Provides: python3-fake-factory = %{version}-%{release}
|
Provides: python3-fake-factory = %{version}-%{release}
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -48,7 +56,7 @@ database bootstrapping, creating XML documents, persistence stress
|
|||||||
testing, and data anonymization from production services.
|
testing, and data anonymization from production services.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Faker-%{version}
|
%setup -q -n faker-%{version}
|
||||||
# Remove pre-existing bytecode files in the sdist
|
# Remove pre-existing bytecode files in the sdist
|
||||||
find . -name '*.py[co]' -delete
|
find . -name '*.py[co]' -delete
|
||||||
# do not hardcode versions
|
# do not hardcode versions
|
||||||
@@ -62,6 +70,9 @@ sed -i -e 's:==:>=:g' setup.py
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/faker
|
%python_clone -a %{buildroot}%{_bindir}/faker
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative faker
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative faker
|
%python_install_alternative faker
|
||||||
|
|
||||||
@@ -76,6 +87,6 @@ sed -i -e 's:==:>=:g' setup.py
|
|||||||
%doc CHANGELOG.md README.rst
|
%doc CHANGELOG.md README.rst
|
||||||
%python_alternative %{_bindir}/faker
|
%python_alternative %{_bindir}/faker
|
||||||
%{python_sitelib}/faker
|
%{python_sitelib}/faker
|
||||||
%{python_sitelib}/Faker-%{version}*-info
|
%{python_sitelib}/[fF]aker-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user