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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,6 @@
%define base_name pybars3
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{base_name}
Version: 0.9.7
Release: 0
@@ -28,12 +26,13 @@ Group: Development/Languages/Python
URL: https://github.com/wbond/%{base_name}
Source: https://github.com/wbond/%{base_name}/archive/%{version}.tar.gz
BuildRequires: %{python_module PyMeta3 >= 0.5.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyMeta3 >= 0.5.1
BuildArch: noarch
%python_subpackages
%description
@@ -45,10 +44,10 @@ compatibility and numerous features from Handlebars.js 2.0.
%setup -q -n pybars3-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +56,7 @@ compatibility and numerous features from Handlebars.js 2.0.
%files %{python_files}
%license LICENSE
%doc readme.md changelog.md
%{python_sitelib}/*
%{python_sitelib}/pybars
%{python_sitelib}/pybars3-%{version}*-info
%changelog