Add yt package (#789)

This commit is contained in:
Matthew Turk 2020-11-07 03:54:30 -06:00 committed by GitHub
parent 231ddd7feb
commit 7d3a6da40c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

21
packages/yt/meta.yaml Normal file
View File

@ -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

View File

@ -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