From 15ba77626faf4cb161443241429ee58c3ae2274f Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 2 Feb 2013 15:22:27 +0000 Subject: Convert to distutils-r1. (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) --- dev-python/python-musicbrainz/ChangeLog | 11 +++-- .../python-musicbrainz-0.7.4-r1.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild diff --git a/dev-python/python-musicbrainz/ChangeLog b/dev-python/python-musicbrainz/ChangeLog index 651affacfe4a..b0fb3cd534aa 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.12 2011/12/27 05:17:16 patrick Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/ChangeLog,v 1.13 2013/02/02 15:22:27 floppym Exp $ + +*python-musicbrainz-0.7.4-r1 (02 Feb 2013) + + 02 Feb 2013; Mike Gilbert + +python-musicbrainz-0.7.4-r1.ebuild: + Convert to distutils-r1. *python-musicbrainz-0.7.4 (27 Dec 2011) @@ -62,4 +68,3 @@ 15 Jan 2005; Rob Cakebread +metadata.xml, +python-musicbrainz-20050108.ebuild: Initial commit. bug# 59047 - diff --git a/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild new file mode 100644 index 000000000000..37d184768a50 --- /dev/null +++ b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/02/02 15:22:27 floppym Exp $ + +EAPI="5" +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) + +inherit distutils-r1 + +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 )" +# epydoc is called as a script, so no PYTHON_USEDEP + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + if use doc; then + einfo "Generation of documentation" + esetup.py docs + fi +} + +python_test() { + esetup.py test +} + +python_install_all() { + dodoc AUTHORS.txt CHANGES.txt README.txt + + if use doc; then + dohtml html/* + fi + + if use examples; then + docinto examples + dodoc examples/*.txt + insinto /usr/share/doc/${PF}/examples + doins examples/*.py + fi +} -- cgit v1.2.3-65-gdbad