15
0

Accepting request 1280525 from devel:languages:python

- Convert to pip-based build

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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 27 11:40:53 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed Dec 27 02:22:03 UTC 2023 - Mia Herkt <mia@0x0.st>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-feedgen
#
# 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://lkiesow.github.io/python-feedgen
Source: https://files.pythonhosted.org/packages/source/f/feedgen/feedgen-%{version}.tar.gz
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-lxml
@@ -43,10 +45,10 @@ format. It has support for extensions.
%setup -q -n feedgen-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check