From 71ac6013babc7f2fc48530380719518b21592db3 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 8 Feb 2020 17:21:57 +0100 Subject: [PATCH] dev-python/twisted: [QA] Fix UnnecessarySlashStrip Signed-off-by: David Seifert --- dev-python/twisted/twisted-18.4.0.ebuild | 4 ++-- dev-python/twisted/twisted-18.7.0.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/twisted/twisted-18.4.0.ebuild b/dev-python/twisted/twisted-18.4.0.ebuild index cd49b1a30231..91d876f3ed1c 100644 --- a/dev-python/twisted/twisted-18.4.0.ebuild +++ b/dev-python/twisted/twisted-18.4.0.ebuild @@ -144,7 +144,7 @@ python_test() { python_install() { distutils-r1_python_install - cd "${D%/}$(python_get_sitedir)" || die + cd "${D}$(python_get_sitedir)" || die # own the dropin.cache so we don't leave orphans touch twisted/plugins/dropin.cache || die @@ -179,7 +179,7 @@ pkg_postinst() { } python_postrm() { - rm -f "${ROOT%/}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die + rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die } pkg_postrm(){ diff --git a/dev-python/twisted/twisted-18.7.0.ebuild b/dev-python/twisted/twisted-18.7.0.ebuild index 0e4b0a4607d4..b8e44fd29607 100644 --- a/dev-python/twisted/twisted-18.7.0.ebuild +++ b/dev-python/twisted/twisted-18.7.0.ebuild @@ -146,7 +146,7 @@ python_test() { python_install() { distutils-r1_python_install - cd "${D%/}$(python_get_sitedir)" || die + cd "${D}$(python_get_sitedir)" || die # own the dropin.cache so we don't leave orphans touch twisted/plugins/dropin.cache || die @@ -181,7 +181,7 @@ pkg_postinst() { } python_postrm() { - rm -f "${ROOT%/}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die + rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die } pkg_postrm(){ -- 2.26.2