14
0

Accepting request 1280526 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1280526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-feedgenerator?expand=0&rev=9
This commit is contained in:
2025-05-27 16:42:51 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 27 11:41:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Apr 14 16:28:32 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-feedgenerator
#
# Copyright (c) 2023 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
@@ -25,9 +25,11 @@ Group: Development/Languages/Python
URL: https://github.com/getpelican/feedgenerator
Source: https://files.pythonhosted.org/packages/source/f/feedgenerator/feedgenerator-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytz
@@ -42,10 +44,10 @@ It has evolved over time and includes numerous enhancements.
%setup -q -n feedgenerator-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,7 +58,7 @@ export LC_ALL=en_US.utf8
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/feedgenerator-%{version}-py%{python_version}.egg-info
%{python_sitelib}/feedgenerator-%{version}*-info
%{python_sitelib}/feedgenerator
%changelog