1 |
commit: d76136f8caac186f4d3d84f9f68fe3df0f0e2710 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 14 17:07:26 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 20:37:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76136f8 |
7 |
|
8 |
dev-python/mypy: remove unused patch. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/2326 |
11 |
|
12 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
13 |
|
14 |
dev-python/mypy/files/use-which.patch | 20 -------------------- |
15 |
1 file changed, 20 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/mypy/files/use-which.patch b/dev-python/mypy/files/use-which.patch |
18 |
deleted file mode 100644 |
19 |
index bca26f0..00000000 |
20 |
--- a/dev-python/mypy/files/use-which.patch |
21 |
+++ /dev/null |
22 |
@@ -1,20 +0,0 @@ |
23 |
-diff --git a/scripts/mypy b/scripts/mypy |
24 |
-index e758f1f..5a06146 100755 |
25 |
---- a/scripts/mypy |
26 |
-+++ b/scripts/mypy |
27 |
-@@ -45,14 +45,7 @@ def find_bin_directory() -> str: |
28 |
- |
29 |
- This is used by build to find stubs and other data files. |
30 |
- """ |
31 |
-- script = __file__ |
32 |
-- # Follow up to 5 symbolic links (cap to avoid cycles). |
33 |
-- for i in range(5): |
34 |
-- if os.path.islink(script): |
35 |
-- script = readlinkabs(script) |
36 |
-- else: |
37 |
-- break |
38 |
-- return os.path.dirname(script) |
39 |
-+ return os.path.dirname(shutil.which('mypy')) |
40 |
- |
41 |
- |
42 |
- def readlinkabs(link: str) -> str: |