summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-17 18:55:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-17 18:55:37 +0000
commit0d250094a60017bccf00875b9504aca7ddd57b9a (patch)
treed7a79f975d6dd9cf52217dbfffe05b966f353cdb /media-sound/moosic
parentarm/ia64/s390/sh stable wrt #276011 (diff)
downloadgentoo-2-0d250094a60017bccf00875b9504aca7ddd57b9a.tar.gz
gentoo-2-0d250094a60017bccf00875b9504aca7ddd57b9a.tar.bz2
gentoo-2-0d250094a60017bccf00875b9504aca7ddd57b9a.zip
Fix bash-completion install wrt #274738, thanks to Tiago Cunha.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/moosic')
-rw-r--r--media-sound/moosic/ChangeLog5
-rw-r--r--media-sound/moosic/moosic-1.5.4.ebuild10
2 files changed, 9 insertions, 6 deletions
diff --git a/media-sound/moosic/ChangeLog b/media-sound/moosic/ChangeLog
index 9c8b34ce2779..580574b101c3 100644
--- a/media-sound/moosic/ChangeLog
+++ b/media-sound/moosic/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/moosic
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/ChangeLog,v 1.18 2009/06/28 12:17:38 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/ChangeLog,v 1.19 2009/07/17 18:55:37 ssuominen Exp $
+
+ 17 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> moosic-1.5.4.ebuild:
+ Fix bash-completion install wrt #274738, thanks to Tiago Cunha.
28 Jun 2009; Markus Meier <maekke@gentoo.org> moosic-1.5.4.ebuild:
amd64/x86 stable, bug #274738
diff --git a/media-sound/moosic/moosic-1.5.4.ebuild b/media-sound/moosic/moosic-1.5.4.ebuild
index 9ea3de0a2171..b5f9fb6698c0 100644
--- a/media-sound/moosic/moosic-1.5.4.ebuild
+++ b/media-sound/moosic/moosic-1.5.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.4.ebuild,v 1.4 2009/06/28 12:17:38 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.4.ebuild,v 1.5 2009/07/17 18:55:37 ssuominen Exp $
-inherit distutils python multilib
+inherit bash-completion distutils python multilib
DESCRIPTION="Moosic is a music player that focuses on easy playlist management"
HOMEPAGE="http://www.nanoo.org/~daniel/moosic"
@@ -20,14 +20,13 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
- sed -i -e 's:distutils.core:setuptools:' setup.py
+ sed -i -e 's:distutils.core:setuptools:' setup.py || die "sed failed"
}
src_install() {
distutils_src_install
rm -rf "${D}"/usr/share/doc/${PN}
- insinto /etc/bash_completion.d
- newins examples/completion ${PN}
+ dobashcompletion examples/completion ${PN}
dodoc doc/{Moosic_API.txt,moosic_hackers.txt,Todo}
dodoc examples/server_config
use doc && dohtml doc/*.html
@@ -36,6 +35,7 @@ src_install() {
pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+ bash-completion_pkg_postinst
}
pkg_postrm() {