diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-12-27 05:17:16 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-12-27 05:17:16 +0000 |
commit | 7a9743df25b115de0e0f492592c6f3ac12a12537 (patch) | |
tree | 650bb27c5686b8448b704d4c167b8418dffc10ae /dev-python/python-musicbrainz | |
parent | Fix for #297590 (diff) | |
download | gentoo-2-7a9743df25b115de0e0f492592c6f3ac12a12537.tar.gz gentoo-2-7a9743df25b115de0e0f492592c6f3ac12a12537.tar.bz2 gentoo-2-7a9743df25b115de0e0f492592c6f3ac12a12537.zip |
Bump for #395673
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/python-musicbrainz')
-rw-r--r-- | dev-python/python-musicbrainz/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/python-musicbrainz/python-musicbrainz-0.7.4.ebuild | 56 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-python/python-musicbrainz/ChangeLog b/dev-python/python-musicbrainz/ChangeLog index e2ac5b79d49f..651affacfe4a 100644 --- a/dev-python/python-musicbrainz/ChangeLog +++ b/dev-python/python-musicbrainz/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-musicbrainz # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/ChangeLog,v 1.11 2011/06/23 15:08:15 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/ChangeLog,v 1.12 2011/12/27 05:17:16 patrick Exp $ + +*python-musicbrainz-0.7.4 (27 Dec 2011) + + 27 Dec 2011; Patrick Lauer <patrick@gentoo.org> + +python-musicbrainz-0.7.4.ebuild: + Bump for #395673 23 Jun 2011; Markos Chandras <hwoarang@gentoo.org> -python-musicbrainz-0.7.2.ebuild: diff --git a/dev-python/python-musicbrainz/python-musicbrainz-0.7.4.ebuild b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4.ebuild new file mode 100644 index 000000000000..3801c40f1013 --- /dev/null +++ b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/python-musicbrainz-0.7.4.ebuild,v 1.1 2011/12/27 05:17:16 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +# ctypes module required. +RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" + +inherit distutils + +MY_PN="${PN}2" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python Bindings for the MusicBrainz XML Web Service" +HOMEPAGE="http://musicbrainz.org" +SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="doc examples" + +RDEPEND="media-libs/libdiscid" +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc )" + +S="${WORKDIR}/${MY_P}" + +DOCS="AUTHORS.txt CHANGES.txt README.txt" +PYTHON_MODNAME="musicbrainz2" + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + "$(PYTHON -f)" setup.py docs || die "Generation of documentation failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml html/* || die "Installation of documentation failed" + fi + + if use examples; then + docinto examples + dodoc examples/*.txt || die "dodoc failed" + insinto /usr/share/doc/${PF}/examples + doins examples/*.py || die "doins failed" + fi +} |