Accepting request 1279525 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1279525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cppy?expand=0&rev=5
This commit is contained in:
2025-05-26 16:32:07 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 23 10:20:59 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Apr 21 12:23:49 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cppy
#
# 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
@@ -27,10 +27,12 @@ URL: https://github.com/nucleic/cppy
Source: https://files.pythonhosted.org/packages/source/c/cppy/cppy-%{version}.tar.gz
Source99: python-cppy-rpmlintrc
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 61.2}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module tomli}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -43,10 +45,10 @@ C++ headers for C extension development
%setup -q -n cppy-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check