summaryrefslogtreecommitdiff
path: root/dev-python/python-musicbrainzngs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-musicbrainzngs')
-rw-r--r--dev-python/python-musicbrainzngs/Manifest3
-rw-r--r--dev-python/python-musicbrainzngs/metadata.xml22
-rw-r--r--dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1.ebuild36
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/python-musicbrainzngs/Manifest b/dev-python/python-musicbrainzngs/Manifest
new file mode 100644
index 000000000000..d6f23a107c48
--- /dev/null
+++ b/dev-python/python-musicbrainzngs/Manifest
@@ -0,0 +1,3 @@
+DIST python-musicbrainzngs-0.7.1.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9
+EBUILD python-musicbrainzngs-0.7.1.ebuild 866 BLAKE2B 2f707c54bfd2272d195f1bd3392434ad6a7fe9250e419f78f746f5da9f40578e3de4ff9f22d3348de31e579e227c11ee73e9d5f7e5f6e5b43f63e017756d94fa SHA512 bed07010087e004699cf18f60d8c246128581b3405feed9f092e9207ce234852e891982aa1ee6aed87282347942ebb784841e5ddce7098920803b107fe31fcff
+MISC metadata.xml 955 BLAKE2B 68571b0c8d1a72425ce23f600363146ab2e365d561236c618b46333d1bf3a75035e05c131b3c45fc1ec1f6e4171c78446588533d54221ed7cdf4b43453d71053 SHA512 b2f68817a2720a15364672ba29629fd9f0b1efe49e46167f60b1a5a7f3223bd2cda6d01bf31732c01d3cb1703523a6e0245be051278a92a221d796fa3b7d83e5
diff --git a/dev-python/python-musicbrainzngs/metadata.xml b/dev-python/python-musicbrainzngs/metadata.xml
new file mode 100644
index 000000000000..68f51076f4c4
--- /dev/null
+++ b/dev-python/python-musicbrainzngs/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>gerion.entrup@flump.de</email>
+ <name>Gerion Entrup</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">alastair/python-musicbrainzngs</remote-id>
+ <remote-id type="pypi">musicbrainzngs</remote-id>
+ </upstream>
+</pkgmetadata>
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..e2687bd8f8c9
--- /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_{8..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
+}