2020-09-11 12:52:19 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-wheezy.template
|
|
|
|
|
#
|
2025-03-26 08:05:21 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2020-09-11 12:52:19 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2024-12-09 13:06:23 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2020-09-11 12:52:19 +00:00
|
|
|
Name: python-wheezy.template
|
2024-12-09 13:06:23 +00:00
|
|
|
Version: 3.2.3
|
2020-09-11 12:52:19 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: A lightweight template library
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/akornatskyy/wheezy.template
|
2024-12-09 13:06:23 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/w/wheezy_template/wheezy_template-%{version}.tar.gz#/wheezy.template-%{version}.tar.gz
|
2023-12-29 10:13:47 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2024-01-03 10:38:00 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2023-12-29 10:13:47 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2020-09-11 12:52:19 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2023-05-31 16:06:27 +00:00
|
|
|
Requires(post): update-alternatives
|
2024-12-09 13:06:23 +00:00
|
|
|
Requires(postun): update-alternatives
|
2020-09-11 12:52:19 +00:00
|
|
|
Suggests: python-mock
|
|
|
|
|
Suggests: python-pytest
|
|
|
|
|
Suggests: python-pytest-cov
|
|
|
|
|
Suggests: python-pytest-pep8
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A lightweight template library written in pure python.
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-12-09 13:06:23 +00:00
|
|
|
%setup -q -n wheezy_template-%{version}
|
2020-09-11 12:52:19 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%{optflags}"
|
2023-12-29 10:13:47 +00:00
|
|
|
%pyproject_wheel
|
2020-09-11 12:52:19 +00:00
|
|
|
|
|
|
|
|
%install
|
2023-12-29 10:13:47 +00:00
|
|
|
%pyproject_install
|
2020-11-05 01:02:23 +00:00
|
|
|
%python_clone -a %{buildroot}%{_bindir}/wheezy.template
|
2020-09-11 12:52:19 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
2020-11-05 01:02:23 +00:00
|
|
|
%post
|
|
|
|
|
%python_install_alternative wheezy.template
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%python_uninstall_alternative wheezy.template
|
|
|
|
|
|
2020-09-11 12:52:19 +00:00
|
|
|
%files %{python_files}
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
2020-11-05 01:02:23 +00:00
|
|
|
%python_alternative %{_bindir}/wheezy.template
|
|
|
|
|
%dir %{python_sitelib}/wheezy
|
|
|
|
|
%{python_sitelib}/wheezy/template
|
|
|
|
|
%{python_sitelib}/wheezy.template-%{version}*.pth
|
2025-03-26 08:05:21 +00:00
|
|
|
%{python_sitelib}/wheezy_template-%{version}.dist-info
|
2020-09-11 12:52:19 +00:00
|
|
|
|
|
|
|
|
%changelog
|