forked from pool/python-jinja2-time
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jinja2-time?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 30 08:50:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 10 08:45:50 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Wed May 10 08:45:50 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jinja2-time
|
# spec file for package python-jinja2-time
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,8 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-jinja2-time
|
Name: python-jinja2-time
|
||||||
Version: 0.2.0
|
Version: 0.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -26,7 +26,9 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/hackebrot/jinja2-time
|
URL: https://github.com/hackebrot/jinja2-time
|
||||||
Source: https://files.pythonhosted.org/packages/source/j/jinja2-time/jinja2-time-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/j/jinja2-time/jinja2-time-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Jinja2
|
Requires: python-Jinja2
|
||||||
@@ -47,10 +49,10 @@ A Jinja2 extension providing support for dates and times.
|
|||||||
%setup -q -n jinja2-time-%{version}
|
%setup -q -n jinja2-time-%{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}
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@@ -63,6 +65,7 @@ A Jinja2 extension providing support for dates and times.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc HISTORY.rst README.rst
|
%doc HISTORY.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/jinja2[-_]time
|
||||||
|
%{python_sitelib}/jinja2[-_]time-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user