diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/conda_build_2.1.1_substr_fix_py2.patch | 11 | ||||
-rw-r--r-- | patches/conda_build_2.1.1_substr_fix_py3.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/patches/conda_build_2.1.1_substr_fix_py2.patch b/patches/conda_build_2.1.1_substr_fix_py2.patch new file mode 100644 index 0000000..20a69f0 --- /dev/null +++ b/patches/conda_build_2.1.1_substr_fix_py2.patch @@ -0,0 +1,11 @@ +--- config.py.ORIG 2017-04-18 10:00:00.000000000 -0400 ++++ config.py 2017-04-18 10:00:24.000000000 -0400 +@@ -246,7 +246,7 @@ + assert not os.path.isabs(package_name), ("package name should not be a absolute path, " + "to preserve croot during path joins") + build_folders = sorted([build_folder for build_folder in get_build_folders(self.croot) +- if package_name in build_folder]) ++ if package_name + "_" in build_folder]) + + if self.dirty and build_folders: + # Use the most recent build with matching recipe name diff --git a/patches/conda_build_2.1.1_substr_fix_py3.patch b/patches/conda_build_2.1.1_substr_fix_py3.patch new file mode 100644 index 0000000..88fbaf4 --- /dev/null +++ b/patches/conda_build_2.1.1_substr_fix_py3.patch @@ -0,0 +1,11 @@ +--- config.py.ORIG 2017-04-18 08:08:06.000000000 -0400 ++++ config.py 2017-04-18 08:08:20.000000000 -0400 +@@ -327,7 +327,7 @@ + assert not os.path.isabs(package_name), ("package name should not be a absolute path, " + "to preserve croot during path joins") + build_folders = sorted([build_folder for build_folder in get_build_folders(self.croot) +- if package_name in build_folder]) ++ if package_name + "_" in build_folder]) + + if self.dirty and build_folders: + # Use the most recent build with matching recipe name |