From 3de7306c6121fb1dc6be44e01882d5a073daaccd Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Mon, 22 Nov 2021 15:01:38 +0100 Subject: [PATCH] adding recpie for Numpy 1.21.2 As title --- recipe-1.21.2/build.sh | 7 +++++++ recipe-1.21.2/conda_build_config.yaml | 2 ++ recipe-1.21.2/meta.yaml | 22 ++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 recipe-1.21.2/build.sh create mode 100644 recipe-1.21.2/conda_build_config.yaml create mode 100644 recipe-1.21.2/meta.yaml diff --git a/recipe-1.21.2/build.sh b/recipe-1.21.2/build.sh new file mode 100644 index 0000000..f6f81c8 --- /dev/null +++ b/recipe-1.21.2/build.sh @@ -0,0 +1,7 @@ +echo "trying pip install" + +if [ "$PY_VER" == "3.7" ]; then + pip install https://files.pythonhosted.org/packages/78/01/17f8c6c865110694ae8e21ad84288860e6487f55f70c967fbbf43dd59f8f/numpy-1.21.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl +else + echo "unsupported Python version" && exit 1 +fi diff --git a/recipe-1.21.2/conda_build_config.yaml b/recipe-1.21.2/conda_build_config.yaml new file mode 100644 index 0000000..7f7b382 --- /dev/null +++ b/recipe-1.21.2/conda_build_config.yaml @@ -0,0 +1,2 @@ +python: + - "3.7" diff --git a/recipe-1.21.2/meta.yaml b/recipe-1.21.2/meta.yaml new file mode 100644 index 0000000..b6e0510 --- /dev/null +++ b/recipe-1.21.2/meta.yaml @@ -0,0 +1,22 @@ +{% set version = "1.21.2" %} + +package: + name: numpy + version: {{ version }} + +build: + number: 0 + +requirements: + build: + - python {{ python }} + - pip + run: + - python + +about: + home: http://numpy.scipy.org/ + license: BSD-3-Clause + summary: Array processing for numbers, strings, records, and objects. + doc_url: https://docs.scipy.org/doc/numpy/reference/ + dev_url: https://github.com/numpy/numpy