forked from pool/python-pylast
Accepting request 698127 from home:pgajdos
- version update to 3.1.0 * Extract username from session via new SessionKeyGenerator.get_web_auth_session_key_username (#290) * User.get_track_scrobbles (#298) * User.get_artist_tracks. Use User.get_track_scrobbles as a partial replacement. (#298) - python3 only package OBS-URL: https://build.opensuse.org/request/show/698127 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylast?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
c3ccd62a9a
commit
0fed771a90
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:85f8dd96aef0ccba5f80379c3d7bc1fabd72f59aebab040daf40a8b72268f9bd
|
|
||||||
size 42687
|
|
3
pylast-3.1.0.tar.gz
Normal file
3
pylast-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7eb58682beccc0052c3284aba64a9a6454b5e89706f789ebeb2403dc1045606a
|
||||||
|
size 34551
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 26 08:55:22 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 3.1.0
|
||||||
|
* Extract username from session via new
|
||||||
|
SessionKeyGenerator.get_web_auth_session_key_username (#290)
|
||||||
|
* User.get_track_scrobbles (#298)
|
||||||
|
* User.get_artist_tracks. Use User.get_track_scrobbles as a
|
||||||
|
partial replacement. (#298)
|
||||||
|
- python3 only package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:52:25 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:52:25 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pylast
|
# spec file for package python-pylast
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,8 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-pylast
|
Name: python-pylast
|
||||||
Version: 1.8.0
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A python interface to Last.fm
|
Summary: A python interface to Last.fm
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -28,6 +29,15 @@ Source0: https://files.pythonhosted.org/packages/source/p/pylast/pylast-%
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module coverage}
|
||||||
|
BuildRequires: %{python_module flaky}
|
||||||
|
BuildRequires: %{python_module mock}
|
||||||
|
BuildRequires: %{python_module pyaml}
|
||||||
|
BuildRequires: %{python_module pycodestyle}
|
||||||
|
BuildRequires: %{python_module pyflakes}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -56,10 +66,17 @@ Features:
|
|||||||
%python_install
|
%python_install
|
||||||
%python_exec %fdupes -s %{buildroot}/%{python_sitelib}
|
%python_exec %fdupes -s %{buildroot}/%{python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# every test file has:
|
||||||
|
# Integration (not unit) tests for pylast.py
|
||||||
|
# almost all skipped, need internet access
|
||||||
|
# %%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
%doc README.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%dir %{python_sitelib}/pylast
|
%dir %{python_sitelib}/pylast
|
||||||
%{python_sitelib}/pylast/*
|
%{python_sitelib}/pylast/*
|
||||||
%{python_sitelib}/pylast-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/pylast-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user