diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-17 18:55:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-17 18:55:37 +0000 |
commit | 0d250094a60017bccf00875b9504aca7ddd57b9a (patch) | |
tree | d7a79f975d6dd9cf52217dbfffe05b966f353cdb /media-sound/moosic/moosic-1.5.4.ebuild | |
parent | arm/ia64/s390/sh stable wrt #276011 (diff) | |
download | gentoo-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/moosic-1.5.4.ebuild')
-rw-r--r-- | media-sound/moosic/moosic-1.5.4.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
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() { |