forked from pool/python-discogs-client
Accepting request 1226998 from devel:languages:python
- Update to 2.7.1: * Small fixes for Python 3.12 references * Parse artist role field - Drop seperate LICENSE file - switch to active fork - version update to 2.6 - python-six is not required OBS-URL: https://build.opensuse.org/request/show/1226998 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-discogs-client?expand=0&rev=6
This commit is contained in:
26
LICENSE
26
LICENSE
@@ -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.
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc979fcbb5283f74d388c7111c8ed6bef920b01614a014d6b1c5d6fbb554bfc3
|
||||
size 24716
|
||||
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 28 03:14:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
- 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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-discogs-client
|
||||
#
|
||||
# Copyright (c) 2022 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
|
||||
@@ -17,25 +17,24 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-discogs-client
|
||||
Version: 2.3.0
|
||||
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
|
||||
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/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 six}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-oauthlib
|
||||
Requires: python-python-dateutil
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -47,14 +46,13 @@ 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
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -62,7 +60,8 @@ cp %{SOURCE1} .
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/discogs_client/
|
||||
%{python_sitelib}/discogs_client-%{version}-py*.egg-info
|
||||
%doc README.mkd
|
||||
%{python_sitelib}/discogs_client
|
||||
%{python_sitelib}/python3_discogs_client-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
3
v2.7.1.tar.gz
Normal file
3
v2.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cc7fd29aa99181cf119ca14100290d3ebf5f5dfa19df4e94f1e4f551d1db28f
|
||||
size 56452
|
||||
Reference in New Issue
Block a user