From 308970a62f13e091dde9d1adbcec2ea26e0579d03be0712d20be0b843aec7663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 13 Apr 2023 12:36:11 +0000 Subject: [PATCH 1/3] Accepting request 1079124 from home:pgajdos:python - switch to active fork - version update to 2.6 - python-six is not required OBS-URL: https://build.opensuse.org/request/show/1079124 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discogs-client?expand=0&rev=12 --- discogs-client-2.3.0.tar.gz | 3 --- python-discogs-client.changes | 7 +++++++ python-discogs-client.spec | 20 +++++++++----------- v2.6.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 discogs-client-2.3.0.tar.gz create mode 100644 v2.6.tar.gz diff --git a/discogs-client-2.3.0.tar.gz b/discogs-client-2.3.0.tar.gz deleted file mode 100644 index e69e4c8..0000000 --- a/discogs-client-2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc979fcbb5283f74d388c7111c8ed6bef920b01614a014d6b1c5d6fbb554bfc3 -size 24716 diff --git a/python-discogs-client.changes b/python-discogs-client.changes index e1db4a5..1dff2fb 100644 --- a/python-discogs-client.changes +++ b/python-discogs-client.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 13 11:02:51 UTC 2023 - pgajdos@suse.com + +- switch to active fork +- version update to 2.6 +- python-six is not required + ------------------------------------------------------------------- Tue Sep 27 18:26:10 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-discogs-client.spec b/python-discogs-client.spec index 3173b57..8981da4 100644 --- a/python-discogs-client.spec +++ b/python-discogs-client.spec @@ -1,7 +1,7 @@ # # spec file for package python-discogs-client # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,25 +17,24 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-discogs-client -Version: 2.3.0 +Version: 2.6 Release: 0 Summary: Official Python API client for Discogs License: BSD-2-Clause Group: Development/Languages/Python -URL: https://github.com/discogs/discogs_client -Source: https://files.pythonhosted.org/packages/source/d/discogs-client/discogs-client-%{version}.tar.gz -Source1: https://raw.githubusercontent.com/discogs/discogs_client/master/LICENSE +# URL: https://github.com/discogs/discogs_client discontinued +URL: https://github.com/joalla/discogs_client/ +Source: https://github.com/joalla/discogs_client/archive/refs/tags/v%{version}.tar.gz BuildRequires: %{python_module oauthlib} +BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-oauthlib +Requires: python-python-dateutil Requires: python-requests -Requires: python-six BuildArch: noarch %python_subpackages @@ -47,8 +46,7 @@ which allows you to change user data such as profile information, collections and wantlists, inventory, and orders. %prep -%setup -q -n discogs-client-%{version} -cp %{SOURCE1} . +%autosetup -p1 -n discogs_client-%{version} %build %python_build @@ -63,6 +61,6 @@ cp %{SOURCE1} . %files %{python_files} %license LICENSE %{python_sitelib}/discogs_client/ -%{python_sitelib}/discogs_client-%{version}-py*.egg-info +%{python_sitelib}/*discogs_client-%{version}-py*.egg-info %changelog diff --git a/v2.6.tar.gz b/v2.6.tar.gz new file mode 100644 index 0000000..fdbabd6 --- /dev/null +++ b/v2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b11545cbaf27cdfab1ae44f5fa439eb39c5803e3a4f659d6d5c4bed17c9bc15d +size 55315 From 2cd41810065eece487069355e38f7a940abf47c548616a1870bfa3deddee955f Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 28 Nov 2024 03:14:43 +0000 Subject: [PATCH 2/3] - Update to 2.7.1: * Small fixes for Python 3.12 references * Parse artist role field - Drop seperate LICENSE file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discogs-client?expand=0&rev=13 --- LICENSE | 26 -------------------------- python-discogs-client.changes | 8 ++++++++ python-discogs-client.spec | 19 ++++++++++--------- v2.6.tar.gz | 3 --- v2.7.1.tar.gz | 3 +++ 5 files changed, 21 insertions(+), 38 deletions(-) delete mode 100644 LICENSE delete mode 100644 v2.6.tar.gz create mode 100644 v2.7.1.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 522b0cd..0000000 --- a/LICENSE +++ /dev/null @@ -1,26 +0,0 @@ -Copyright © 2015 Discogs. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY DISCOGS ''AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -SHALL DISCOGS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGE. - -The views and conclusions contained in the software and documentation are those -of the authors and should not be interpreted as representing official policies, -either expressed or implied, of Discogs. diff --git a/python-discogs-client.changes b/python-discogs-client.changes index 1dff2fb..bd75c10 100644 --- a/python-discogs-client.changes +++ b/python-discogs-client.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Nov 28 03:14:29 UTC 2024 - Steve Kowalik + +- Update to 2.7.1: + * Small fixes for Python 3.12 references + * Parse artist role field +- Drop seperate LICENSE file + ------------------------------------------------------------------- Thu Apr 13 11:02:51 UTC 2023 - pgajdos@suse.com diff --git a/python-discogs-client.spec b/python-discogs-client.spec index 8981da4..bcaca70 100644 --- a/python-discogs-client.spec +++ b/python-discogs-client.spec @@ -1,7 +1,7 @@ # # spec file for package python-discogs-client # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,18 +18,18 @@ Name: python-discogs-client -Version: 2.6 +Version: 2.7.1 Release: 0 -Summary: Official Python API client for Discogs +Summary: Python API client for Discogs License: BSD-2-Clause -Group: Development/Languages/Python -# URL: https://github.com/discogs/discogs_client discontinued URL: https://github.com/joalla/discogs_client/ Source: https://github.com/joalla/discogs_client/archive/refs/tags/v%{version}.tar.gz BuildRequires: %{python_module oauthlib} +BuildRequires: %{python_module pip} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-oauthlib @@ -49,10 +49,10 @@ and wantlists, inventory, and orders. %autosetup -p1 -n discogs_client-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,7 +60,8 @@ and wantlists, inventory, and orders. %files %{python_files} %license LICENSE -%{python_sitelib}/discogs_client/ -%{python_sitelib}/*discogs_client-%{version}-py*.egg-info +%doc README.md +%{python_sitelib}/discogs_client +%{python_sitelib}/python3_discogs_client-%{version}.dist-info %changelog diff --git a/v2.6.tar.gz b/v2.6.tar.gz deleted file mode 100644 index fdbabd6..0000000 --- a/v2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b11545cbaf27cdfab1ae44f5fa439eb39c5803e3a4f659d6d5c4bed17c9bc15d -size 55315 diff --git a/v2.7.1.tar.gz b/v2.7.1.tar.gz new file mode 100644 index 0000000..95c181f --- /dev/null +++ b/v2.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cc7fd29aa99181cf119ca14100290d3ebf5f5dfa19df4e94f1e4f551d1db28f +size 56452 From 1ab64e2ab2ab76a43d434afb08a4e01b430e4fad30059e13ce6136087e16a2c5 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 28 Nov 2024 04:39:23 +0000 Subject: [PATCH 3/3] Fix doc link OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discogs-client?expand=0&rev=14 --- python-discogs-client.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-discogs-client.spec b/python-discogs-client.spec index bcaca70..17cb8a7 100644 --- a/python-discogs-client.spec +++ b/python-discogs-client.spec @@ -60,7 +60,7 @@ and wantlists, inventory, and orders. %files %{python_files} %license LICENSE -%doc README.md +%doc README.mkd %{python_sitelib}/discogs_client %{python_sitelib}/python3_discogs_client-%{version}.dist-info