Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526274 - dev-python/starcluster-0.93.3-r1: incorrect name for bashcomp
Summary: dev-python/starcluster-0.93.3-r1: incorrect name for bashcomp
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Delaney (RETIRED)
Depends on:
Blocks: bashcomp2
  Show dependency tree
Reported: 2014-10-21 16:04 UTC by Michał Górny
Modified: 2014-10-22 15:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-21 16:04:56 UTC
* Problems with installed bash completions were found:
 * incorrect name, no completions for '' command defined.
 * 	starcluster: missing alias (symlink) for completed command.
 * For more details on installing bash-completions, please see:

It should be installed as 'starcluster', not ''.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-10-22 06:11:47 UTC
One of the few packages I added and never removed me from maintainer.  This works but does it suffice?

@@ -48,9 +47,13 @@
 		return $exit_status
 	use epydoc && mkdocs
+	cd completion || die
+	mv starcluster
 python_install() {
-	dobashcomp "${S}"/completion/${PN} ${PN}
+	distutils-r1_python_install
+	dobashcomp "${S}"/completion/${PN} ${PN}
 	use doc && dohtml -r docs/sphinx/_build/html/
 	if use epydoc; then

What I expected to work didn't so I'm not committing this at this point.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2014-10-22 07:27:07 UTC
hmmm; bashcomp_alias, leaked by that other related new bug
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-22 07:39:26 UTC
No need to rename the file in sources. Just use 'newbashcomp' instead of 'dobashcomp', since you are already passing parameters like for the former...
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2014-10-22 15:56:35 UTC
*starcluster-0.93.3-r2 (22 Oct 2014)

  22 Oct 2014; Ian Delaney <> +starcluster-0.93.3-r2.ebuild,
  -starcluster-0.93.3-r1.ebuild, -starcluster-0.93.3.ebuild:
  revbump; substitute dobashcomp with newbashcomp, fixes Bug #526274, rm prior