14
0

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-promise?expand=0&rev=17
This commit is contained in:
2025-06-03 12:26:31 +00:00
committed by Git OBS Bridge
parent 5539f6474b
commit 2933eaff54
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 12:26:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 6 11:22:16 UTC 2023 - ecsos <ecsos@opensuse.org> Thu Jul 6 11:22:16 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-promise # spec file for package python-promise
# #
# Copyright (c) 2023 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
@@ -31,10 +31,12 @@ Patch0: pytest-7-support.patch
Patch1: python-311.patch Patch1: python-311.patch
# https://github.com/syrusakbary/promise/issues/101 # https://github.com/syrusakbary/promise/issues/101
Patch2: python-promise-no-six.patch Patch2: python-promise-no-six.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -47,10 +49,10 @@ This is an implementation of Promises in Python
%autosetup -p1 -n promise-%{version} %autosetup -p1 -n promise-%{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