diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch deleted file mode 100644 index b707b1f0647dfafa575511a665857625e1d8d550..0000000000000000000000000000000000000000 --- a/0001-add-setup.py.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- c/setup.py 1970-01-01 08:00:00.000000000 +0800 -+++ a/setup.py 2022-11-07 15:41:34.959687524 +0800 -@@ -0,0 +1,48 @@ -+from setuptools import find_packages, setup -+ -+with open("README.md") as f: -+ long_description = f.read() -+ -+ -+def local_scheme(version): -+ """Skip the local version (eg. +xyz of 0.6.1.dev4+gdf99fe2) -+ to be able to upload to Test PyPI""" -+ return "" -+ -+ -+setup( -+ name="pylast", -+ description="A Python interface to Last.fm and Libre.fm", -+ long_description=long_description, -+ long_description_content_type="text/markdown", -+ author="Amr Hassan and Contributors", -+ author_email="amr.hassan@gmail.com", -+ url="https://github.com/pylast/pylast", -+ license="Apache-2.0", -+ keywords=["Last.fm", "music", "scrobble", "scrobbling"], -+ packages=find_packages(where="src"), -+ package_dir={"": "src"}, -+ use_scm_version={"local_scheme": local_scheme}, -+ setup_requires=["setuptools_scm"], -+ extras_require={ -+ "tests": ["flaky", "pytest", "pytest-cov", "pytest-random-order", "pyyaml"] -+ }, -+ python_requires=">=3.7", -+ classifiers = [ -+ "Development Status :: 5 - Production/Stable", -+ "License :: OSI Approved :: Apache Software License", -+ "Programming Language :: Python :: 3", -+ "Programming Language :: Python :: 3 :: Only", -+ "Programming Language :: Python :: 3.7", -+ "Programming Language :: Python :: 3.8", -+ "Programming Language :: Python :: 3.9", -+ "Programming Language :: Python :: 3.10", -+ "Programming Language :: Python :: 3.11", -+ "Programming Language :: Python :: Implementation :: CPython", -+ "Programming Language :: Python :: Implementation :: PyPy", -+ "Topic :: Internet", -+ "Topic :: Multimedia :: Sound/Audio", -+ "Topic :: Software Development :: Libraries :: Python Modules", -+] -+ -+) diff --git a/pylast-5.5.0.tar.gz b/pylast-5.5.0.tar.gz deleted file mode 100644 index e504ec309f63edf3032858c6a5a1fa5683879872..0000000000000000000000000000000000000000 Binary files a/pylast-5.5.0.tar.gz and /dev/null differ diff --git a/pylast-6.0.0.tar.gz b/pylast-6.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7bf95389357b849c3be9596920aa0a7d8fae7b52 Binary files /dev/null and b/pylast-6.0.0.tar.gz differ diff --git a/python-pylast.spec b/python-pylast.spec index 74881ea116daba36f7fc1551723909f6d06482ca..48c66a723abab4457fa79f1ea8649ccdbea879f1 100644 --- a/python-pylast.spec +++ b/python-pylast.spec @@ -1,12 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pylast -Version: 5.5.0 +Version: 6.0.0 Release: 1 Summary: A Python interface to Last.fm and Libre.fm License: Apache-2.0 URL: https://github.com/pylast/pylast -Source0: https://files.pythonhosted.org/packages/44/f1/bfd2cc8d67fcc0870e729e1e223fe0359ef94c9b9b98fdb78710d523464c/pylast-5.5.0.tar.gz -Patch0: 0001-add-setup.py.patch +Source0: https://files.pythonhosted.org/packages/8d/f5/ec144f937b32252b127f892636c6875d876b856a9f289f3c0bc8a4e05932/pylast-6.0.0.tar.gz BuildArch: noarch Requires: python3-flaky @@ -37,7 +36,6 @@ A Python interface to Last.fm (and other API compatible social networks). %prep %autosetup -n pylast-%{version} -%patch0 %build %py3_build @@ -77,6 +75,13 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Nov 25 2025 wanggang - 6.0.0-1 +- Update package to version 6.0.0 +- Drop support for Python 3.9. +- Replace collections.namedtuple with typing.NamedTuple and remove unused. +- Remove redundant _unicode function. +- Skip timestamp for now playing tracks. + * Wed Aug 13 2025 lifeifei - 5.5.0-1 - update package to version 5.5.0 * Add support for Python 3.14 and PyPy3.11