15
0

Accepting request 1274930 from home:mcalabkova:branches:devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1274930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyDispatcher?expand=0&rev=13
This commit is contained in:
2025-05-07 07:58:23 +00:00
committed by Git OBS Bridge
parent f5ea649f99
commit 7f63e8bca7
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 6 12:48:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Jun 1 20:10:10 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyDispatcher
#
# 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
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyDispatcher
Version: 2.0.7
Release: 0
@@ -24,7 +23,9 @@ Summary: Multi-producer-multi-consumer signal dispatching mechanism
License: BSD-3-Clause
URL: https://github.com/mcfletch/pydispatcher
Source: https://files.pythonhosted.org/packages/source/P/PyDispatcher/PyDispatcher-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -45,14 +46,15 @@ to reference instance methods using weak-references.
%setup -q -n PyDispatcher-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license license.txt
%{python_sitelib}/*
%{python_sitelib}/pydispatch
%{python_sitelib}/[Pp]y[Dd]ispatcher-%{version}*-info
%changelog