diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/python-musicbrainz-ngs | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/python-musicbrainz-ngs')
-rw-r--r-- | dev-python/python-musicbrainz-ngs/Manifest | 3 | ||||
-rw-r--r-- | dev-python/python-musicbrainz-ngs/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild | 46 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/python-musicbrainz-ngs/Manifest b/dev-python/python-musicbrainz-ngs/Manifest new file mode 100644 index 000000000000..642851fe52f1 --- /dev/null +++ b/dev-python/python-musicbrainz-ngs/Manifest @@ -0,0 +1,3 @@ +DIST python-musicbrainzngs0.6.tar.gz 110948 BLAKE2B 9528d966565f7c927a98d311dcbb6db73a84614efa3eb071fe944b29b655526f9dd6e8a4a217428883d30b93c18e45c3d752d321d3c0689e5af00423b5fd7faa SHA512 901729f736b207f2f086e3d44a3515d405f6621706ad9c7ca07dd304349e048c5790bb16b054393651808bac4905ceb9493dd66d9fb17a1612692427c0bd3bd4 +EBUILD python-musicbrainz-ngs-0.6.ebuild 1070 BLAKE2B cab2d915f4c8a011867d544193b73bbfeab32872857bf14ac1e5faba73a54e8a22276039dc29c1b91bfc7dd04676894a68652b27b2ff62473f05a43ec53c4ef4 SHA512 10d3b85d087416675dc62e5de06da7c8778cbd8b91c6772116e635dcff75749fc69e8398299a1870bcc473f3151246fdf8dc8c0cc9412cf23cf23ba457384a0a +MISC metadata.xml 608 BLAKE2B 2fb7e36555a1ce07fc8da2d81e412e2b1194cbacb6657779e37a40831878dc6b462e0cddfbe983d301bb84736e4bdbb6d12002f94a4038f0afde45fe35c82069 SHA512 811ffe495005e46570b10c03f4de36d8fd096123108300f21afc12f7c6af46f2ac66a9c69d1df89f1266df4b83afc5281aedd1e978d7eabd7cdd9acda7a338b0 diff --git a/dev-python/python-musicbrainz-ngs/metadata.xml b/dev-python/python-musicbrainz-ngs/metadata.xml new file mode 100644 index 000000000000..1f682f8098b1 --- /dev/null +++ b/dev-python/python-musicbrainz-ngs/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gerion.entrup@flump.de</email> + <name>Gerion Entrup</name> + </maintainer> + <maintainer type="project"> + <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. + </longdescription> + <upstream> + <remote-id type="github">alastair/python-musicbrainz-ngs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild new file mode 100644 index 000000000000..9f634440ae11 --- /dev/null +++ b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +MY_PN="${PN/%-ngs/ngs}" + +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/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}${PV}.tar.gz" + +LICENSE="BSD-2 ISC" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc examples test" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +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_compile_all() { + use doc && emake -C docs html +} + +python_test() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && local EXAMPLES=( examples ) + + distutils-r1_python_install_all +} |