diff --git a/packages/yt/meta.yaml b/packages/yt/meta.yaml new file mode 100644 index 000000000..978aae55d --- /dev/null +++ b/packages/yt/meta.yaml @@ -0,0 +1,21 @@ +package: + name: yt + version: 3.5.1 + +source: + url: https://pypi.io/packages/source/y/yt/yt-3.5.1.tar.gz + sha256: c8ef8eceb934dc189d63dc336109fad3002140a9a32b19f38d1812d5d5a30d71 + + patches: + - patches/skip-openmp.patch + +requirements: + run: + - numpy + - matplotlib + - sympy + - setuptools + +test: + imports: + - yt diff --git a/packages/yt/patches/skip-openmp.patch b/packages/yt/patches/skip-openmp.patch new file mode 100644 index 000000000..38301ad57 --- /dev/null +++ b/packages/yt/patches/skip-openmp.patch @@ -0,0 +1,13 @@ +diff --git a/setupext.py b/setupext.py +index 92c456bab..ce2c5fbad 100644 +--- a/setupext.py ++++ b/setupext.py +@@ -58,6 +58,8 @@ def check_for_openmp(): + Robitaille and Curtis McCully. + """ + ++ return False ++ + # See https://bugs.python.org/issue25150 + if sys.version_info[:3] == (3, 5, 0): + return False