14
0

Accepting request 1141944 from devel:languages:python

- update to 3.1.1:
  * Propagate exception to all pending commands
  * Fix test for python 3.12
- switch to PEP517 build

OBS-URL: https://build.opensuse.org/request/show/1141944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-mpd2?expand=0&rev=6
This commit is contained in:
2024-01-28 18:42:29 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f33c2cdb0d6baa74a36724f38c1c4a099a7ce2c8ec4a2bb7192150a5855df476
size 58269

3
python-mpd2-3.1.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4baec3584cc43ed9948d5559079fafc2679b06b2ade273e909b3582654b2b3f5
size 58713

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Jan 27 10:53:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.1.1:
* Propagate exception to all pending commands
* Fix test for python 3.12
- switch to PEP517 build
-------------------------------------------------------------------
Thu Dec 14 21:35:04 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-mpd2
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-python-mpd2
Version: 3.1.0
Version: 3.1.1
Release: 0
Summary: A Python MPD client library
License: LGPL-3.0-only
@@ -26,7 +26,9 @@ Group: Development/Languages/Python
URL: https://github.com/Mic92/python-mpd2
Source: https://files.pythonhosted.org/packages/source/p/python-mpd2/python-mpd2-%{version}.tar.gz
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-Twisted
@@ -45,10 +47,10 @@ backward compatibles with the original python-mpd package.
%setup -q -n python-mpd2-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,7 +59,7 @@ backward compatibles with the original python-mpd package.
%files %{python_files}
%license LICENSE.txt
%doc README.rst doc
%{python_sitelib}/python_mpd2-%{version}-py*.egg-info
%{python_sitelib}/python_mpd2-%{version}.dist-info
%{python_sitelib}/mpd
%changelog