2015-10-22 08:49:04 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-musicbrainzngs
|
|
|
|
|
#
|
2025-06-02 14:10:20 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2015-10-22 08:49:04 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2018-12-04 13:41:47 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
2015-10-22 08:49:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-musicbrainzngs
|
2020-01-22 15:37:13 +00:00
|
|
|
Version: 0.7.1
|
2015-10-22 08:49:04 +00:00
|
|
|
Release: 0
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
Summary: Python bindings for musicbrainz NGS webservice
|
2018-12-04 13:41:47 +00:00
|
|
|
License: BSD-2-Clause
|
2018-12-04 17:17:11 +00:00
|
|
|
URL: https://python-musicbrainzngs.readthedocs.org/
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/m/musicbrainzngs/musicbrainzngs-%{version}.tar.gz
|
2025-06-02 14:10:20 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2022-04-27 02:33:23 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-02 14:10:20 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2015-10-22 08:49:04 +00:00
|
|
|
BuildArch: noarch
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
%python_subpackages
|
2015-10-22 08:49:04 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This library implements webservice bindings for the Musicbrainz NGS site, also
|
|
|
|
|
known as /ws/2.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n musicbrainzngs-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2025-06-02 14:10:20 +00:00
|
|
|
%pyproject_wheel
|
2015-10-22 08:49:04 +00:00
|
|
|
|
|
|
|
|
%install
|
2025-06-02 14:10:20 +00:00
|
|
|
%pyproject_install
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%check
|
2022-04-27 02:33:23 +00:00
|
|
|
%pytest
|
2015-10-22 08:49:04 +00:00
|
|
|
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
%files %{python_files}
|
2018-12-04 17:17:11 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc CHANGES README.rst
|
Accepting request 522163 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Update to version 0.6
* don't require authentication when getting public collections (#87)
* allow submit_ratings() and submit_tags() to submit for all supported entities (Ian McEwen, #145)
* allow 'tags' and 'user-tags' includes on releases (Jérémie Detrey, #150)
* set the parser when the webservice format is changed
* read the error message from musicbrainz and return it in
a raised exception
* send authenticaion headers when required (Ryan Helinski, #153)
* added get_series_by_id(), search_areas(), search_series() (Ian McEwen, #148)
* updated options for get_releases_by_discid() to support 'media-format'
and discid-less requests (Ian McEwen, #148)
* parse work attributes (Wieland Hoffmann, #151)
* added various methods to retrieve data from the Cover Art Archive (Alastair Porter & Wieland Hoffmann, #115)
* added support for pregap tracks (Rui Gonçalves, #154 & #165)
* return 'offset-list' and 'offset-count' for get_releases_by_discid()
(Johannes Dewender, #169)
* added support for search and browse of events (Shadab Zafar, #168)
* added support for 'data-track-list' elements (Jérémie Detrey, #180)
* added support for get and search instruments
* added support to read all collection types (#175)
* added support for search and browse of places (#176)
* allow single strings to be used as includes for browse requests (#172)
* allow single strings to be used at tag submission (#172)
* added support for browse artist by work and work by artist
* added support for 'track-count' elements in 'medium-list's returned by search
* added support to read xml attributes in 'attribute-list' elements (#142)
OBS-URL: https://build.opensuse.org/request/show/522163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-musicbrainzngs?expand=0&rev=2
2017-09-07 20:33:18 +00:00
|
|
|
%{python_sitelib}/musicbrainzngs/
|
2025-06-02 14:10:20 +00:00
|
|
|
%{python_sitelib}/musicbrainzngs-%{version}*-info
|
2015-10-22 08:49:04 +00:00
|
|
|
|
|
|
|
|
%changelog
|