commit: 8666a5c7e102946b1f8777e9a01bf4949d0513c5
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 7 16:55:21 2015 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 16:55:21 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8666a5c7
dev-python/six: Fix quoting and remove duplicate slashes
Package-Manager: portage-2.2.26_p10
dev-python/six/six-1.10.0.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-python/six/six-1.10.0.ebuild b/dev-python/six/six-1.10.0.ebuild
index 810d815..b5384b8 100644
--- a/dev-python/six/six-1.10.0.ebuild
+++ b/dev-python/six/six-1.10.0.ebuild
@@ -33,7 +33,8 @@ PATCHES=(
pkg_pretend() {
six_dir_check() {
type -p "${PYTHON}" > /dev/null || return 0
- local dir="${ROOT}"/$(python_get_sitedir)/six
+ local dir="${ROOT%/}$(python_get_sitedir)"/six
+ echo "${dir}"
[[ -d "${dir}" ]] \
&& die "${PN} doesn't work if ${dir} is a directory
#546730"
}
@@ -42,7 +43,7 @@ pkg_pretend() {
pkg_setup() {
six_dir_check() {
- local dir="${ROOT}"/$(python_get_sitedir)/six
+ local dir="${ROOT%/}$(python_get_sitedir)"/six
[[ -d "${dir}" ]] \
&& die "${PN} doesn't work if ${dir} is a directory
#546730"
}