summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-09-14 19:07:26 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-09-29 22:37:03 +0200
commitd76136f8caac186f4d3d84f9f68fe3df0f0e2710 (patch)
treef2ee222fa33d7ecd35a84b06c3c08d1e53aa2994 /dev-python/mypy
parentdev-python/python-slip: remove unused patch. (diff)
downloadgentoo-d76136f8caac186f4d3d84f9f68fe3df0f0e2710.tar.gz
gentoo-d76136f8caac186f4d3d84f9f68fe3df0f0e2710.tar.bz2
gentoo-d76136f8caac186f4d3d84f9f68fe3df0f0e2710.zip
dev-python/mypy: remove unused patch.
Closes: https://github.com/gentoo/gentoo/pull/2326 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-python/mypy')
-rw-r--r--dev-python/mypy/files/use-which.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-python/mypy/files/use-which.patch b/dev-python/mypy/files/use-which.patch
deleted file mode 100644
index bca26f03c76e..000000000000
--- a/dev-python/mypy/files/use-which.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/scripts/mypy b/scripts/mypy
-index e758f1f..5a06146 100755
---- a/scripts/mypy
-+++ b/scripts/mypy
-@@ -45,14 +45,7 @@ def find_bin_directory() -> str:
-
- This is used by build to find stubs and other data files.
- """
-- script = __file__
-- # Follow up to 5 symbolic links (cap to avoid cycles).
-- for i in range(5):
-- if os.path.islink(script):
-- script = readlinkabs(script)
-- else:
-- break
-- return os.path.dirname(script)
-+ return os.path.dirname(shutil.which('mypy'))
-
-
- def readlinkabs(link: str) -> str: