forked from pool/python-DateTime
Accepting request 1274655 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1274655 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-DateTime?expand=0&rev=24
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 5 15:15:50 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 21 07:40:56 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Thu Mar 21 07:40:56 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-DateTime
|
# spec file for package python-DateTime
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/zopefoundation/DateTime
|
URL: https://github.com/zopefoundation/DateTime
|
||||||
Source: https://files.pythonhosted.org/packages/source/D/DateTime/DateTime-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/D/DateTime/DateTime-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -48,10 +49,10 @@ better off using Python's built-in datetime module.
|
|||||||
%setup -q -n DateTime-%{version}
|
%setup -q -n DateTime-%{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
|
||||||
@@ -60,6 +61,7 @@ better off using Python's built-in datetime module.
|
|||||||
%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}/DateTime
|
||||||
|
%{python_sitelib}/[Dd]ate[Tt]ime-%{version}*info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user