summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-03-22 12:23:45 +0000
committerAli Polatel <hawking@gentoo.org>2008-03-22 12:23:45 +0000
commitbeb72d052fce70f7a8fc27eff0d5fca0261db6e1 (patch)
treec912e83abbe627960fb311ce2acaf5f2feb4cb60 /dev-python/python-musicbrainz
parentStable on ppc wrt bug 213992 (diff)
downloadgentoo-2-beb72d052fce70f7a8fc27eff0d5fca0261db6e1.tar.gz
gentoo-2-beb72d052fce70f7a8fc27eff0d5fca0261db6e1.tar.bz2
gentoo-2-beb72d052fce70f7a8fc27eff0d5fca0261db6e1.zip
Revbump. Added examples USE flag and fixed bug 196488
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/python-musicbrainz')
-rw-r--r--dev-python/python-musicbrainz/ChangeLog10
-rw-r--r--dev-python/python-musicbrainz/metadata.xml5
-rw-r--r--dev-python/python-musicbrainz/python-musicbrainz-20050108-r1.ebuild (renamed from dev-python/python-musicbrainz/python-musicbrainz-20050108.ebuild)17
3 files changed, 24 insertions, 8 deletions
diff --git a/dev-python/python-musicbrainz/ChangeLog b/dev-python/python-musicbrainz/ChangeLog
index a18bddacd0fd..941d66c3e92c 100644
--- a/dev-python/python-musicbrainz/ChangeLog
+++ b/dev-python/python-musicbrainz/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/python-musicbrainz
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/ChangeLog,v 1.4 2008/01/02 11:52:23 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/ChangeLog,v 1.5 2008/03/22 12:23:45 hawking Exp $
+
+*python-musicbrainz-20050108-r1 (22 Mar 2008)
+
+ 22 Mar 2008; Ali Polatel <hawking@gentoo.org> metadata.xml,
+ -python-musicbrainz-20050108.ebuild,
+ +python-musicbrainz-20050108-r1.ebuild:
+ Revbump. Add a conditional dependency for python-2.5 which includes
+ ctypes. Bug 196488 thanks to James Rowe. Added examples USE flag.
02 Jan 2008; Alexis Ballier <aballier@gentoo.org>
python-musicbrainz-20050108.ebuild:
diff --git a/dev-python/python-musicbrainz/metadata.xml b/dev-python/python-musicbrainz/metadata.xml
index 301d2207cc29..dd665be96de9 100644
--- a/dev-python/python-musicbrainz/metadata.xml
+++ b/dev-python/python-musicbrainz/metadata.xml
@@ -2,4 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
+ <longdescription lang="en">
+ python-musicbrainz is a straight python to c binding for libmusicbrainz. It
+ uses ctypes to avoid having to write c code.
+ </longdescription>
</pkgmetadata>
+
diff --git a/dev-python/python-musicbrainz/python-musicbrainz-20050108.ebuild b/dev-python/python-musicbrainz/python-musicbrainz-20050108-r1.ebuild
index eb58c8178e46..339f1a191af6 100644
--- a/dev-python/python-musicbrainz/python-musicbrainz-20050108.ebuild
+++ b/dev-python/python-musicbrainz/python-musicbrainz-20050108-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/python-musicbrainz-20050108.ebuild,v 1.4 2008/01/02 11:52:23 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/python-musicbrainz-20050108-r1.ebuild,v 1.1 2008/03/22 12:23:45 hawking Exp $
inherit distutils
@@ -12,15 +12,18 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="examples"
DEPEND="=media-libs/musicbrainz-2*
- >=dev-python/ctypes-0.9.2
- >=dev-lang/python-2.3"
+ || ( >=dev-lang/python-2.5
+ ( >=dev-lang/python-2.3 >=dev-python/ctypes-0.9.2 )
+ )"
+
S=${WORKDIR}/${PN}
src_install() {
distutils_src_install
- dodir /usr/share/doc/${PF}/examples
- cp examples/* ${D}/usr/share/doc/${PF}/examples/
- prepalldocs
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples
+ cp examples/* "${D}"/usr/share/doc/${PF}/examples/
+ fi
}