* [gentoo-commits] gentoo-x86 commit in dev-python/setuptools/files: setuptools-0.9.8-install_scripts-overwrite.patch
@ 2013-08-05 8:18 Michal Gorny (mgorny)
0 siblings, 0 replies; 2+ messages in thread
From: Michal Gorny (mgorny) @ 2013-08-05 8:18 UTC (permalink / raw
To: gentoo-commits
mgorny 13/08/05 08:18:49
Added: setuptools-0.9.8-install_scripts-overwrite.patch
Log:
Backport patch fixing python-exec overwrite, bug #468378.
(Portage version: 2.2.0_alpha194/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Revision Changes Path
1.1 dev-python/setuptools/files/setuptools-0.9.8-install_scripts-overwrite.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/setuptools/files/setuptools-0.9.8-install_scripts-overwrite.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/setuptools/files/setuptools-0.9.8-install_scripts-overwrite.patch?rev=1.1&content-type=text/plain
Index: setuptools-0.9.8-install_scripts-overwrite.patch
===================================================================
# HG changeset patch
# User Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
# Date 1375688645 -7200
# Mon Aug 05 09:44:05 2013 +0200
# Node ID af6c2bd582e4ed09d30319c9742144c0491562af
# Parent 648bb1e6fcb9132483680998858f4b9e083e9c44
# Parent 13f77d26065af56983aeecc37021fbcbbad3fa99
Merged in mgorny/setuptools-overwrite-fix (pull request #10)
Unlink destination file before writing scripts.
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -799,6 +799,8 @@
mask = current_umask()
if not self.dry_run:
ensure_directory(target)
+ if os.path.exists(target):
+ os.unlink(target)
f = open(target,"w"+mode)
f.write(contents)
f.close()
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-python/setuptools/files: setuptools-0.9.8-install_scripts-overwrite.patch
@ 2014-12-14 5:24 Tim Harder (radhermit)
0 siblings, 0 replies; 2+ messages in thread
From: Tim Harder (radhermit) @ 2014-12-14 5:24 UTC (permalink / raw
To: gentoo-commits
radhermit 14/12/14 05:24:00
Removed: setuptools-0.9.8-install_scripts-overwrite.patch
Log:
Remove old.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-14 5:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-14 5:24 [gentoo-commits] gentoo-x86 commit in dev-python/setuptools/files: setuptools-0.9.8-install_scripts-overwrite.patch Tim Harder (radhermit)
-- strict thread matches above, loose matches on Subject: below --
2013-08-05 8:18 Michal Gorny (mgorny)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox