summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-25 04:24:57 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-25 04:24:57 +0000
commit1be90f56d23a13c0fbc7e0c9fa77540de8b35ee4 (patch)
tree27082261041e0cd277be2cb5c0c9b32f39baa732
parentae1b947cf2ae54d783702c4735c8c61f72997f63 (diff)
automatic import of python3-musicbrainzngsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-musicbrainzngs.spec290
-rw-r--r--sources1
3 files changed, 292 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..144930f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/musicbrainzngs-0.7.1.tar.gz
diff --git a/python-musicbrainzngs.spec b/python-musicbrainzngs.spec
new file mode 100644
index 0000000..72e269f
--- /dev/null
+++ b/python-musicbrainzngs.spec
@@ -0,0 +1,290 @@
+%global _empty_manifest_terminate_build 0
+Name: python-musicbrainzngs
+Version: 0.7.1
+Release: 1
+Summary: Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices
+License: BSD 2-clause
+URL: https://python-musicbrainzngs.readthedocs.io/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0a/67/3e74ae93d90ceeba72ed1a266dd3ca9abd625f315f0afd35f9b034acedd1/musicbrainzngs-0.7.1.tar.gz
+BuildArch: noarch
+
+
+%description
+Musicbrainz NGS bindings
+########################
+
+This library implements webservice bindings for the Musicbrainz NGS site, also known as /ws/2
+and the `Cover Art Archive <https://coverartarchive.org/>`_.
+
+For more information on the musicbrainz webservice see `<http://wiki.musicbrainz.org/XML_Web_Service>`_.
+
+Usage
+*****
+
+.. code:: python
+
+ # Import the module
+ import musicbrainzngs
+
+ # If you plan to submit data, authenticate
+ musicbrainzngs.auth("user", "password")
+
+ # Tell musicbrainz what your app is, and how to contact you
+ # (this step is required, as per the webservice access rules
+ # at http://wiki.musicbrainz.org/XML_Web_Service/Rate_Limiting )
+ musicbrainzngs.set_useragent("Example music app", "0.1", "http://example.com/music")
+
+ # If you are connecting to a different server
+ musicbrainzngs.set_hostname("beta.musicbrainz.org")
+
+See the ``query.py`` file for more examples.
+
+More documentation is available at
+`Read the Docs <https://python-musicbrainzngs.readthedocs.org>`_.
+
+Contribute
+**********
+
+If you want to contribute to this repository, please read `the
+contribution guidelines
+<https://github.com/alastair/python-musicbrainzngs/blob/master/CONTRIBUTING.md>`_ first.
+
+
+Authors
+*******
+
+These bindings were written by `Alastair Porter <http://github.com/alastair>`_.
+Contributions have been made by:
+
+* `Adrian Sampson <https://github.com/sampsyo>`_
+* `Corey Farwell <https://github.com/frewsxcv>`_
+* `Galen Hazelwood <https://github.com/galenhz>`_
+* `Greg Ward <https://github.com/gward>`_
+* `Ian McEwen <https://github.com/ianmcorvidae>`_
+* `Jérémie Detrey <https://github.com/jdetrey>`_
+* `Johannes Dewender <https://github.com/JonnyJD>`_
+* `Michael Marineau <https://github.com/marineam>`_
+* `Patrick Speiser <https://github.com/doskir>`_
+* `Pavan Chander <https://github.com/navap>`_
+* `Paul Bailey <https://github.com/paulbailey>`_
+* `Rui Gonçalves <https://github.com/ruippeixotog>`_
+* `Ryan Helinski <https://github.com/rlhelinski>`_
+* `Sam Doshi <https://github.com/samdoshi>`_
+* `Shadab Zafar <https://github.com/dufferzafar>`_
+* `Simon Chopin <https://github.com/laarmen>`_
+* `Thomas Vander Stichele <https://github.com/thomasvs>`_
+* `Wieland Hoffmann <https://github.com/mineo>`_
+
+License
+*******
+
+This library is released under the simplified BSD license except for the file
+``musicbrainzngs/compat.py`` which is licensed under the ISC license.
+See COPYING for details.
+
+
+
+
+%package -n python3-musicbrainzngs
+Summary: Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices
+Provides: python-musicbrainzngs
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%description -n python3-musicbrainzngs
+Musicbrainz NGS bindings
+########################
+
+This library implements webservice bindings for the Musicbrainz NGS site, also known as /ws/2
+and the `Cover Art Archive <https://coverartarchive.org/>`_.
+
+For more information on the musicbrainz webservice see `<http://wiki.musicbrainz.org/XML_Web_Service>`_.
+
+Usage
+*****
+
+.. code:: python
+
+ # Import the module
+ import musicbrainzngs
+
+ # If you plan to submit data, authenticate
+ musicbrainzngs.auth("user", "password")
+
+ # Tell musicbrainz what your app is, and how to contact you
+ # (this step is required, as per the webservice access rules
+ # at http://wiki.musicbrainz.org/XML_Web_Service/Rate_Limiting )
+ musicbrainzngs.set_useragent("Example music app", "0.1", "http://example.com/music")
+
+ # If you are connecting to a different server
+ musicbrainzngs.set_hostname("beta.musicbrainz.org")
+
+See the ``query.py`` file for more examples.
+
+More documentation is available at
+`Read the Docs <https://python-musicbrainzngs.readthedocs.org>`_.
+
+Contribute
+**********
+
+If you want to contribute to this repository, please read `the
+contribution guidelines
+<https://github.com/alastair/python-musicbrainzngs/blob/master/CONTRIBUTING.md>`_ first.
+
+
+Authors
+*******
+
+These bindings were written by `Alastair Porter <http://github.com/alastair>`_.
+Contributions have been made by:
+
+* `Adrian Sampson <https://github.com/sampsyo>`_
+* `Corey Farwell <https://github.com/frewsxcv>`_
+* `Galen Hazelwood <https://github.com/galenhz>`_
+* `Greg Ward <https://github.com/gward>`_
+* `Ian McEwen <https://github.com/ianmcorvidae>`_
+* `Jérémie Detrey <https://github.com/jdetrey>`_
+* `Johannes Dewender <https://github.com/JonnyJD>`_
+* `Michael Marineau <https://github.com/marineam>`_
+* `Patrick Speiser <https://github.com/doskir>`_
+* `Pavan Chander <https://github.com/navap>`_
+* `Paul Bailey <https://github.com/paulbailey>`_
+* `Rui Gonçalves <https://github.com/ruippeixotog>`_
+* `Ryan Helinski <https://github.com/rlhelinski>`_
+* `Sam Doshi <https://github.com/samdoshi>`_
+* `Shadab Zafar <https://github.com/dufferzafar>`_
+* `Simon Chopin <https://github.com/laarmen>`_
+* `Thomas Vander Stichele <https://github.com/thomasvs>`_
+* `Wieland Hoffmann <https://github.com/mineo>`_
+
+License
+*******
+
+This library is released under the simplified BSD license except for the file
+``musicbrainzngs/compat.py`` which is licensed under the ISC license.
+See COPYING for details.
+
+
+
+
+%package help
+Summary: Development documents and examples for musicbrainzngs
+Provides: python3-musicbrainzngs-doc
+%description help
+Musicbrainz NGS bindings
+########################
+
+This library implements webservice bindings for the Musicbrainz NGS site, also known as /ws/2
+and the `Cover Art Archive <https://coverartarchive.org/>`_.
+
+For more information on the musicbrainz webservice see `<http://wiki.musicbrainz.org/XML_Web_Service>`_.
+
+Usage
+*****
+
+.. code:: python
+
+ # Import the module
+ import musicbrainzngs
+
+ # If you plan to submit data, authenticate
+ musicbrainzngs.auth("user", "password")
+
+ # Tell musicbrainz what your app is, and how to contact you
+ # (this step is required, as per the webservice access rules
+ # at http://wiki.musicbrainz.org/XML_Web_Service/Rate_Limiting )
+ musicbrainzngs.set_useragent("Example music app", "0.1", "http://example.com/music")
+
+ # If you are connecting to a different server
+ musicbrainzngs.set_hostname("beta.musicbrainz.org")
+
+See the ``query.py`` file for more examples.
+
+More documentation is available at
+`Read the Docs <https://python-musicbrainzngs.readthedocs.org>`_.
+
+Contribute
+**********
+
+If you want to contribute to this repository, please read `the
+contribution guidelines
+<https://github.com/alastair/python-musicbrainzngs/blob/master/CONTRIBUTING.md>`_ first.
+
+
+Authors
+*******
+
+These bindings were written by `Alastair Porter <http://github.com/alastair>`_.
+Contributions have been made by:
+
+* `Adrian Sampson <https://github.com/sampsyo>`_
+* `Corey Farwell <https://github.com/frewsxcv>`_
+* `Galen Hazelwood <https://github.com/galenhz>`_
+* `Greg Ward <https://github.com/gward>`_
+* `Ian McEwen <https://github.com/ianmcorvidae>`_
+* `Jérémie Detrey <https://github.com/jdetrey>`_
+* `Johannes Dewender <https://github.com/JonnyJD>`_
+* `Michael Marineau <https://github.com/marineam>`_
+* `Patrick Speiser <https://github.com/doskir>`_
+* `Pavan Chander <https://github.com/navap>`_
+* `Paul Bailey <https://github.com/paulbailey>`_
+* `Rui Gonçalves <https://github.com/ruippeixotog>`_
+* `Ryan Helinski <https://github.com/rlhelinski>`_
+* `Sam Doshi <https://github.com/samdoshi>`_
+* `Shadab Zafar <https://github.com/dufferzafar>`_
+* `Simon Chopin <https://github.com/laarmen>`_
+* `Thomas Vander Stichele <https://github.com/thomasvs>`_
+* `Wieland Hoffmann <https://github.com/mineo>`_
+
+License
+*******
+
+This library is released under the simplified BSD license except for the file
+``musicbrainzngs/compat.py`` which is licensed under the ISC license.
+See COPYING for details.
+
+
+
+
+%prep
+%autosetup -n musicbrainzngs-0.7.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-musicbrainzngs -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Sat Feb 25 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9d3c1c6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3bb83143ddf39a6e6b807a79b9ed97b5 musicbrainzngs-0.7.1.tar.gz