Skip to content

Commit

Permalink
Merge 1a0c557 into 96122ae
Browse files Browse the repository at this point in the history
  • Loading branch information
scopatz committed Sep 17, 2018
2 parents 96122ae + 1a0c557 commit 709b697
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
9 changes: 5 additions & 4 deletions conda_smithy/update_cb3.py
Expand Up @@ -70,7 +70,7 @@ def __getitem__(self, item):
return Section(sect, start, end)
return Section(sect, start, self.end)


def iterate(tarzip):
if isinstance(tarzip, zipfile.ZipFile):
for f in iter(tarzip.infolist()):
Expand Down Expand Up @@ -229,13 +229,14 @@ def update_cb3(recipe_path, conda_build_config_path):
need_f = True
if req == 'r-base':
is_r_package = True
if req_rendered in ['toolchain', 'gcc', 'libgcc', 'libgfortran', 'vc', 'm2w64-toolchain',
'mingwpy', 'system', 'gcc-libs', 'm2w64-gcc-libs']:
if req_rendered in ['toolchain', 'toolchain3', 'gcc', 'libgcc',
'libgfortran', 'vc', 'm2w64-toolchain', 'mingwpy', 'system',
'gcc-libs', 'm2w64-gcc-libs']:
messages['Removing {} in favour of compiler()'.format(req)] = True
change_lines[i] = (lines[i], None)
need_c = True
if req in ['m2w64-toolchain', 'mingwpy'] or \
(req != req_rendered and req_rendered == 'toolchain'):
(req != req_rendered and req_rendered in ['toolchain', 'toolchain3']):
need_mingw_c = True
continue
if req_rendered == 'cython' and not (need_c or need_cxx or need_f):
Expand Down
14 changes: 14 additions & 0 deletions news/tc3.rst
@@ -0,0 +1,14 @@
**Added:** None

**Changed:** None

**Deprecated:** None

**Removed:** None

**Fixed:**

* The ``update-cb3`` command now handles ``toolchain3`` in the same way that
``toolchain`` is handled.

**Security:** None

0 comments on commit 709b697

Please sign in to comment.