diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-04-18 20:06:20 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-04-18 21:31:45 +0200 |
commit | 42c39dc5349f0e9d612c9d06bc8eeda2cc0ab28f (patch) | |
tree | cbdd7b809c894bdde19b0f9a39c1065a595696d6 /dev-vcs/mercurial | |
parent | dev-util/radare2: remove unused patch (diff) | |
download | gentoo-42c39dc5349f0e9d612c9d06bc8eeda2cc0ab28f.tar.gz gentoo-42c39dc5349f0e9d612c9d06bc8eeda2cc0ab28f.tar.bz2 gentoo-42c39dc5349f0e9d612c9d06bc8eeda2cc0ab28f.zip |
dev-vcs/mercurial: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-vcs/mercurial')
-rw-r--r-- | dev-vcs/mercurial/files/mercurial-6.3.2-setup-rust-makedirs.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-vcs/mercurial/files/mercurial-6.3.2-setup-rust-makedirs.patch b/dev-vcs/mercurial/files/mercurial-6.3.2-setup-rust-makedirs.patch deleted file mode 100644 index d2082ec6cd24..000000000000 --- a/dev-vcs/mercurial/files/mercurial-6.3.2-setup-rust-makedirs.patch +++ /dev/null @@ -1,30 +0,0 @@ -# HG changeset patch -# User Cédric Krier <ced@b2ck.com> -# Date 1674932937 -3600 -# Sat Jan 28 20:08:57 2023 +0100 -# Node ID 65a97b8b1268169fecc21749b7472fd155bfb399 -# Parent a1123772333204cbeb766b17de8089a1d13d4a68 -# EXP-Topic setup-rust-build-makedirs-target -Ensure target directory exists with building rust extension - -When the rust extension is the first to be build, the target directory may not -exist so the copy fails. - -diff --git a/setup.py b/setup.py ---- a/setup.py -+++ b/setup.py -@@ -1454,11 +1454,13 @@ class RustStandaloneExtension(RustExtens - target = [target_dir] - target.extend(self.name.split('.')) - target[-1] += DYLIB_SUFFIX -+ target = os.path.join(*target) -+ os.makedirs(os.path.dirname(target), exist_ok=True) - shutil.copy2( - os.path.join( - self.rusttargetdir, self.dylibname + self.rustdylibsuffix() - ), -- os.path.join(*target), -+ target, - ) - - |