forked from pool/python-Delorean
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
38f01c3d8b | |||
2de9844d12 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 5 15:20:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 17 15:10:01 UTC 2022 - pgajdos@suse.com
|
Thu Mar 17 15:10:01 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Delorean
|
# spec file for package python-Delorean
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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
|
||||||
@@ -24,6 +24,7 @@ Summary: Python library for manipulating datetimes
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/myusuf3/delorean
|
URL: https://github.com/myusuf3/delorean
|
||||||
Source: https://files.pythonhosted.org/packages/source/D/Delorean/Delorean-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/D/Delorean/Delorean-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -51,10 +52,10 @@ arise dealing with datetimes in Python.
|
|||||||
%setup -q -n Delorean-%{version}
|
%setup -q -n Delorean-%{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
|
||||||
@@ -65,6 +66,7 @@ sed -i 's:import mock:from unittest import mock:' tests/delorean_tests.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/delorean
|
||||||
|
%{python_sitelib}/[Dd]elorean-%{version}*info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user