15
0

- Update to 2.2.2:

* Dependency updates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discogs-client?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-03-08 13:16:16 +00:00
committed by Git OBS Bridge
parent 2c69f2f688
commit db133da288
5 changed files with 41 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-discogs-client
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -18,15 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-discogs-client
Version: 2.2.1
Version: 2.2.2
Release: 0
Summary: Official Python API client for Discogs
License: BSD-2-Clause
Group: Development/Languages/Python
Url: https://github.com/discogs/discogs_client
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
BuildRequires: %{python_module oauthlib}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
@@ -37,7 +37,6 @@ Requires: python-oauthlib
Requires: python-requests
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
@@ -49,6 +48,7 @@ and wantlists, inventory, and orders.
%prep
%setup -q -n discogs-client-%{version}
cp %{SOURCE1} .
%build
%python_build
@@ -57,13 +57,11 @@ and wantlists, inventory, and orders.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%defattr(-,root,root,-)
%license LICENSE
%{python_sitelib}/discogs_client/
%{python_sitelib}/discogs_client-%{version}-py*.egg-info