15
0

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
This commit is contained in:
2023-04-13 12:36:11 +00:00
committed by Git OBS Bridge
commit c335fdda25
7 changed files with 162 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

26
LICENSE Normal file
View File

@@ -0,0 +1,26 @@
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.

View File

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

View File

@@ -0,0 +1,40 @@
-------------------------------------------------------------------
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 <yarunachalam@suse.com>
- Update to 2.3.0
This project is no longer maintained. You can still use a REST client like Requests or other
third-party Python library to access the Discogs REST API.
-------------------------------------------------------------------
Tue May 25 06:52:41 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Fri Mar 8 13:12:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.2.2:
* Dependency updates
-------------------------------------------------------------------
Tue Dec 4 12:47:18 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Thu Sep 7 20:07:01 UTC 2017 - toddrme2178@gmail.com
- Implement single-spec version.
-------------------------------------------------------------------
Tue Oct 20 23:08:08 UTC 2015 - hpj@urpla.net
- version 0.5: initial build

View File

@@ -0,0 +1,66 @@
#
# spec file for package python-discogs-client
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-discogs-client
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 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: fdupes
BuildRequires: python-rpm-macros
Requires: python-oauthlib
Requires: python-python-dateutil
Requires: python-requests
BuildArch: noarch
%python_subpackages
%description
This is the official Discogs API client for Python. It enables you to query the
Discogs database for information on artists, releases, labels, users,
Marketplace listings, and more. It also supports OAuth 1.0a authorization,
which allows you to change user data such as profile information, collections
and wantlists, inventory, and orders.
%prep
%autosetup -p1 -n discogs_client-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v discogs_client/tests
%files %{python_files}
%license LICENSE
%{python_sitelib}/discogs_client/
%{python_sitelib}/*discogs_client-%{version}-py*.egg-info
%changelog

3
v2.6.tar.gz Normal file
View File

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