dev-python/twisted: [QA] Fix UnnecessarySlashStrip

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-02-08 17:21:57 +01:00
parent a6518d3ef7
commit 71ac6013ba
2 changed files with 4 additions and 4 deletions

View File

@@ -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(){

View File

@@ -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(){