14
0

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybars3?expand=0&rev=5
This commit is contained in:
2025-06-04 08:54:47 +00:00
committed by Git OBS Bridge
parent 350476a80d
commit 3fa26f03a5
2 changed files with 12 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 4 08:52:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 19 10:26:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Thu Mar 19 10:26:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pybars3 # spec file for package python-pybars3
# #
# Copyright (c) 2020 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
@@ -17,8 +17,6 @@
%define base_name pybars3 %define base_name pybars3
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{base_name} Name: python-%{base_name}
Version: 0.9.7 Version: 0.9.7
Release: 0 Release: 0
@@ -28,12 +26,13 @@ Group: Development/Languages/Python
URL: https://github.com/wbond/%{base_name} URL: https://github.com/wbond/%{base_name}
Source: https://github.com/wbond/%{base_name}/archive/%{version}.tar.gz Source: https://github.com/wbond/%{base_name}/archive/%{version}.tar.gz
BuildRequires: %{python_module PyMeta3 >= 0.5.1} BuildRequires: %{python_module PyMeta3 >= 0.5.1}
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-PyMeta3 >= 0.5.1 Requires: python-PyMeta3 >= 0.5.1
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -45,10 +44,10 @@ compatibility and numerous features from Handlebars.js 2.0.
%setup -q -n pybars3-%{version} %setup -q -n pybars3-%{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
@@ -57,6 +56,7 @@ compatibility and numerous features from Handlebars.js 2.0.
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc readme.md changelog.md %doc readme.md changelog.md
%{python_sitelib}/* %{python_sitelib}/pybars
%{python_sitelib}/pybars3-%{version}*-info
%changelog %changelog