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] 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