15
0
Files
python-musicbrainzngs/python-musicbrainzngs.spec

60 lines
1.8 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package python-musicbrainzngs
#
# Copyright (c) 2025 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-musicbrainzngs
Version: 0.7.1
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
License: BSD-2-Clause
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
BuildRequires: %{python_module pip}
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}
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
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
%description
This library implements webservice bindings for the Musicbrainz NGS site, also
known as /ws/2.
%prep
%setup -q -n musicbrainzngs-%{version}
%build
%pyproject_wheel
%install
%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
%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
%files %{python_files}
%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/
%{python_sitelib}/musicbrainzngs-%{version}*-info
%changelog