From 02d5b3f9a62011af0ef9e93a8fb2dd422ce6b4ca Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 19 Aug 2021 07:27:21 +0000 Subject: Adding metadata --- dev-python/python-musicbrainzngs/Manifest | 1 + dev-python/python-musicbrainzngs/metadata.xml | 22 +++++++++++++ .../python-musicbrainzngs-0.7.1.ebuild | 36 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 dev-python/python-musicbrainzngs/Manifest create mode 100644 dev-python/python-musicbrainzngs/metadata.xml create mode 100644 dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1.ebuild (limited to 'dev-python/python-musicbrainzngs') diff --git a/dev-python/python-musicbrainzngs/Manifest b/dev-python/python-musicbrainzngs/Manifest new file mode 100644 index 000000000000..d822a2016c42 --- /dev/null +++ b/dev-python/python-musicbrainzngs/Manifest @@ -0,0 +1 @@ +DIST python-musicbrainzngs-0.7.1.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9 diff --git a/dev-python/python-musicbrainzngs/metadata.xml b/dev-python/python-musicbrainzngs/metadata.xml new file mode 100644 index 000000000000..79bc6e6a9686 --- /dev/null +++ b/dev-python/python-musicbrainzngs/metadata.xml @@ -0,0 +1,22 @@ + + + + + gerion.entrup@flump.de + Gerion Entrup + + + proxy-maint@gentoo.org + Proxy Maintainers + + + This library implements webservice bindings for the Musicbrainz NGS site, also known as /ws/2 and the Cover Art Archive. + With this library you can retrieve all kinds of music metadata from the MusicBrainz database. + The library can retrieve and submit both, the XML and JSON based webservice and provides the data in native Python. + + + musicbrainzngs + + gentoo-staging + + \ No newline at end of file diff --git a/dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1.ebuild b/dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1.ebuild new file mode 100644 index 000000000000..faa544347755 --- /dev/null +++ b/dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices" +HOMEPAGE="https://github.com/alastair/python-musicbrainzngs" +SRC_URI=" + https://github.com/alastair/python-musicbrainzngs/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD-2 ISC" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + +python_prepare_all() { + # Prevent un-needed d'loading + sed -e "s/^ *'sphinx.ext.intersphinx'//" -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} -- cgit v1.3