Commit 5e100dd3 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'rf/pin-compatible' into 'master'

Rf/pin compatible

See merge request fsl/fsl-ci-rules!90
parents f461024d cc4e3a9e
......@@ -19,7 +19,7 @@ import subprocess as sp
import yaml
__version__ = '0.16.5'
__version__ = '0.16.6'
"""Current version of the fsl-ci-rules."""
......
......@@ -96,9 +96,6 @@ def load_meta_yaml(filename, ignore_env=False):
by any environment variables in os.environ.
"""
def nil_func(*args, **kwargs):
return "nil"
class OS:
def __init__(self):
self.environ = {}
......@@ -113,9 +110,10 @@ def load_meta_yaml(filename, ignore_env=False):
env = {
'os' : template_os,
'load_setup_py_data' : lambda : {},
'compiler' : nil_func,
'cdt' : nil_func,
'load_setup_py_data' : lambda : {},
'compiler' : lambda : "nil",
'cdt' : lambda : "nil",
'pin_compatible' : lambda pkg: pkg,
}
if op.exists(filename):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment