4 Commits

Author SHA256 Message Date
521beb5618 Accepting request 1298503 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1298503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-discid?expand=0&rev=10
2025-08-09 17:59:45 +00:00
26361b62fe Accepting request 1298370 from home:glaubitz:branches:devel:languages:python
- Update to 1.3.0
  * Modernized, PEP 518 compatible, build system using ``pyproject.toml``.
  * Minimum supported Python version is now 3.9.
  * :issue:`51` tests requiring a physical disc are not run by default anymore.
    Set the environment variable ``DISCID_TESTS_REQUIRE_DISC`` to enable them
    or run ``make disccheck``.
  * Fixed :func:`put` to work with first track number greater than 1.
  * Add :attr:`Disc.cddb_query_string` property.
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1298370
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discid?expand=0&rev=19
2025-08-09 07:14:49 +00:00
0a8dae5b25 Accepting request 1245778 from devel:languages:python
- Don't use %_libdir, it doesn't work for noarch packages

OBS-URL: https://build.opensuse.org/request/show/1245778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-discid?expand=0&rev=9
2025-02-14 18:21:01 +00:00
d02bca6a66 - Don't use %_libdir, it doesn't work for noarch packages
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discid?expand=0&rev=17
2025-02-14 04:07:26 +00:00
4 changed files with 27 additions and 8 deletions

View File

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

3
discid-1.3.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Aug 8 11:15:12 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.0
* Modernized, PEP 518 compatible, build system using ``pyproject.toml``.
* Minimum supported Python version is now 3.9.
* :issue:`51` tests requiring a physical disc are not run by default anymore.
Set the environment variable ``DISCID_TESTS_REQUIRE_DISC`` to enable them
or run ``make disccheck``.
* Fixed :func:`put` to work with first track number greater than 1.
* Add :attr:`Disc.cddb_query_string` property.
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Fri Feb 14 04:06:51 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Don't use %_libdir, it doesn't work for noarch packages
-------------------------------------------------------------------
Tue Nov 14 11:52:37 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-discid
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2013 Johannes Dewender <novell@JonnyJD.net>
#
# All modifications and additions to the file contributed by third parties
@@ -19,22 +19,23 @@
%{?sle15allpythons}
Name: python-discid
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: Python binding of Libdiscid
License: LGPL-3.0-or-later
Group: Development/Libraries/Python
URL: https://github.com/JonnyJD/python-discid
Source: https://files.pythonhosted.org/packages/source/d/discid/discid-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 77.0.3}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libdiscid) >= 0.2.2
# no automatic requires since libdiscid is not linked
Requires: %(rpm -qf $(readlink -qne %{_libdir}/libdiscid.so) --qf '%%{NAME} >= %%{VERSION}')
# Can't use %_libdir due to noarch
Requires: %(rpm -qf $(readlink -qne /usr/lib*/libdiscid.so) --qf '%%{NAME} >= %%{VERSION}')
BuildArch: noarch
%python_subpackages
@@ -72,6 +73,6 @@ sed -i "s|^#!%{_bindir}/env python$|#!%{_bindir}/python3|" examples.py
%license COPYING COPYING.LESSER
%doc CHANGES.rst README.rst
%{python_sitelib}/discid
%{python_sitelib}/discid-%{version}*-info
%{python_sitelib}/discid-%{version}.dist-info
%changelog