|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-astral
|
|
|
|
# spec file for package python-astral
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
@@ -25,13 +25,14 @@ License: Apache-2.0
|
|
|
|
URL: https://github.com/sffjunkie/astral
|
|
|
|
URL: https://github.com/sffjunkie/astral
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/a/astral/astral-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/a/astral/astral-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module freezegun}
|
|
|
|
BuildRequires: %{python_module freezegun}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module poetry-core}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytz}
|
|
|
|
BuildRequires: %{python_module pytz}
|
|
|
|
BuildRequires: %{python_module requests}
|
|
|
|
BuildRequires: %{python_module requests}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: (python36-dataclasses if python36-base)
|
|
|
|
|
|
|
|
Requires: python-pytz
|
|
|
|
Requires: python-pytz
|
|
|
|
Requires: python-requests
|
|
|
|
Requires: python-requests
|
|
|
|
Recommends: python-dataclasses
|
|
|
|
Recommends: python-dataclasses
|
|
|
|
@@ -51,10 +52,10 @@ For documentation see the http://astral.readthedocs.io/en/latest/index.html
|
|
|
|
%setup -q -n astral-%{version}
|
|
|
|
%setup -q -n astral-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
@@ -64,6 +65,6 @@ For documentation see the http://astral.readthedocs.io/en/latest/index.html
|
|
|
|
%doc ReadMe.md
|
|
|
|
%doc ReadMe.md
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%{python_sitelib}/astral
|
|
|
|
%{python_sitelib}/astral
|
|
|
|
%{python_sitelib}/astral-%{version}-py3*.egg-info
|
|
|
|
%{python_sitelib}/astral-%{version}*-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|