From: Gerion Entrup Date: Fri, 10 Apr 2020 20:19:13 +0000 (+0200) Subject: dev-python/python-musicbrainz-ngs: add 0.7.1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3609007523ee4b6f8efdcd0fd97b10b818e8305a;p=gentoo.git dev-python/python-musicbrainz-ngs: add 0.7.1 Signed-off-by: Gerion Entrup Signed-off-by: Joonas Niilola --- diff --git a/dev-python/python-musicbrainz-ngs/Manifest b/dev-python/python-musicbrainz-ngs/Manifest index ae69132c8937..2217919071a1 100644 --- a/dev-python/python-musicbrainz-ngs/Manifest +++ b/dev-python/python-musicbrainz-ngs/Manifest @@ -1 +1,2 @@ DIST python-musicbrainzngs0.6.tar.gz 110948 BLAKE2B 9528d966565f7c927a98d311dcbb6db73a84614efa3eb071fe944b29b655526f9dd6e8a4a217428883d30b93c18e45c3d752d321d3c0689e5af00423b5fd7faa SHA512 901729f736b207f2f086e3d44a3515d405f6621706ad9c7ca07dd304349e048c5790bb16b054393651808bac4905ceb9493dd66d9fb17a1612692427c0bd3bd4 +DIST python-musicbrainzngs0.7.1.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9 diff --git a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.7.1.ebuild b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.7.1.ebuild new file mode 100644 index 000000000000..1977a6d5c123 --- /dev/null +++ b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.7.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) + +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="examples" + +S="${WORKDIR}/${MY_PN}-${PV}" + +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 +}