summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Jorna <wraeth@gentoo.org>2016-04-13 23:19:33 +1000
committerSam Jorna <wraeth@gentoo.org>2016-04-13 23:19:41 +1000
commit149c0e050eaacb7394f6d69af7c3c87d73bc444a (patch)
tree7f0aff8bdbb3fea536d6cd2c1cb9893ae6a71dd8 /dev-python/python-musicbrainz-ngs
parentnet-irc/quassel-irssi: new package (diff)
downloadgentoo-149c0e050eaacb7394f6d69af7c3c87d73bc444a.tar.gz
gentoo-149c0e050eaacb7394f6d69af7c3c87d73bc444a.tar.bz2
gentoo-149c0e050eaacb7394f6d69af7c3c87d73bc444a.zip
dev-python/python-musicbrainz-ngs: bump to 0.6
Ebuild submitted by user-maintainer gerion. Gentoo-bug: 579830 Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/python-musicbrainz-ngs')
-rw-r--r--dev-python/python-musicbrainz-ngs/Manifest1
-rw-r--r--dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/python-musicbrainz-ngs/Manifest b/dev-python/python-musicbrainz-ngs/Manifest
index 2e5faca6cdbf..bea54cbb020a 100644
--- a/dev-python/python-musicbrainz-ngs/Manifest
+++ b/dev-python/python-musicbrainz-ngs/Manifest
@@ -1,2 +1,3 @@
DIST python-musicbrainz-ngs-0.4.tar.gz 54296 SHA256 9251f370b3c1f85018a1bb90989dfd4f63e2a5457a56380543d93abec9675edb SHA512 a40df9512a6b81932560595699dc460b57d3b755c642d489d6e21b3a680385b245a458ac23fed0a922090079d25bf4f562258e81a855d71398531353577a3f19 WHIRLPOOL 47880ec80bbd96c8c4470dad0b786a98aa8ecbb7b3a3761b1eb13db4ce1437415bef89b4bb5f50dc35a9982efcdd0f876baa2fe488cdc3038ada6b1197aab905
DIST python-musicbrainzngs0.5.tar.gz 62517 SHA256 ea84abc60fcb5152418dd49e8fdecf3e68759304a71bef422c3b1376886c5b7a SHA512 b0bca65b83d737390d8edc8ae15082941767e7f129deab05b275dcf98a821316f816ca5a01a064d39e87b33b128d2ba18f9d21e6fc681194a018162a6628c17e WHIRLPOOL 904dac82be4444f5710eed99b97b659d303cc98bc7f6ccea36a050156897402411f6659d94dc9b0001ece6ec0296b88976301e7adb345777ed2627122ad7b009
+DIST python-musicbrainzngs0.6.tar.gz 110948 SHA256 ec447bcab906fe7c4dbd714a1dff1b00adcd20d0011968df1a740e6b1fb09cb5 SHA512 901729f736b207f2f086e3d44a3515d405f6621706ad9c7ca07dd304349e048c5790bb16b054393651808bac4905ceb9493dd66d9fb17a1612692427c0bd3bd4 WHIRLPOOL 210d2dea5c3f4d55ff40cf44ab806afc02ab0093800a92cc1bf7ffcb6833f6317d96e9d2fabc1b8b1f522ac80e9ad924f6d0393766d81e53636042a089141859
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..96843b5a34b1
--- /dev/null
+++ b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+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
+}