public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/files/
@ 2016-09-29 20:42 99% Patrice Clement
  0 siblings, 0 replies; 1+ results
From: Patrice Clement @ 2016-09-29 20:42 UTC (permalink / raw
  To: gentoo-commits

commit:     d76136f8caac186f4d3d84f9f68fe3df0f0e2710
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Sep 14 17:07:26 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 20:37:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76136f8

dev-python/mypy: remove unused patch.

Closes: https://github.com/gentoo/gentoo/pull/2326

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-python/mypy/files/use-which.patch | 20 --------------------
 1 file changed, 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 bca26f0..00000000
--- 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:


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-09-29 20:42 99% [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/files/ Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox