summaryrefslogtreecommitdiff
path: root/dev-util/wstool/files/prefix2.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-util/wstool/files/prefix2.patch
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-util/wstool/files/prefix2.patch')
-rw-r--r--dev-util/wstool/files/prefix2.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-util/wstool/files/prefix2.patch b/dev-util/wstool/files/prefix2.patch
deleted file mode 100644
index 934443f98707..000000000000
--- a/dev-util/wstool/files/prefix2.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: wstool-0.1.13/setup.py
-===================================================================
---- wstool-0.1.13.orig/setup.py
-+++ wstool-0.1.13/setup.py
-@@ -26,18 +26,11 @@ def _resolve_prefix(prefix, type):
- # issue: https://github.com/vcstools/wstool/issues/81
- osx_system_prefix = '/System/Library/Frameworks/Python.framework/Versions'
- if type == 'man':
-- if prefix == '/usr':
-- return '/usr/share'
-- if sys.prefix.startswith(osx_system_prefix):
-- return '/usr/local/share'
-+ return os.path.join(prefix, 'share')
- elif type == 'bash_comp':
-- if prefix == '/usr':
-- return '/'
-- if sys.prefix.startswith(osx_system_prefix):
-- return '/usr/local'
-+ return os.path.join(prefix, '../')
- elif type == 'zsh_comp':
-- if sys.prefix.startswith(osx_system_prefix):
-- return '/usr/local'
-+ return os.path.join(prefix, '../')
- else:
- raise ValueError('not supported type')
- return prefix