dev-python/python-neutronclient: [QA] Fix UnnecessarySlashStrip
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:21:51 +0000 (17:21 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:21:51 +0000 (17:21 +0100)
Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild

index d48e3fc3cc6cb45418f4fd8bf3295f6d0a188eda..735bdaeb4a7b0db58aad40136dedb7841a798d31 100644 (file)
@@ -77,7 +77,7 @@ python_test() {
 python_install() {
        distutils-r1_python_install
        #stupid stupid
-       local SITEDIR="${D%/}$(python_get_sitedir)" || die
+       local SITEDIR="${D}$(python_get_sitedir)" || die
        cd "${SITEDIR}" || die
        local egg=( python_neutronclient*.egg-info )
        #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"