From f183407d3b80f5073dbaa36beb3da97f79c2bca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Paulev=C3=A9?= Date: Fri, 20 Oct 2023 14:48:10 +0200 Subject: [PATCH] diptest: missing file --- diptest/build.sh | 16 ++++++++++++++++ diptest/meta.yaml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 diptest/build.sh diff --git a/diptest/build.sh b/diptest/build.sh new file mode 100644 index 0000000..cbf2e0b --- /dev/null +++ b/diptest/build.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# install using pip from the whl file provided by Google +# +set -x +echo $PY_VER + +if [ `uname` == Linux ]; then + if [ "$PY_VER" == "3.10" ]; then + pip install https://files.pythonhosted.org/packages/78/35/e3523f38e13a20e274ec49fc9cc57eac7d9704a1716af2f194883249a983/diptest-0.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + elif [ "$PY_VER" == "3.11" ]; then + pip install https://files.pythonhosted.org/packages/63/77/8aed702f2604487f2af217aa8ad8f4cd8a284a3469a28398f753681d8f84/diptest-0.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + else + exit 1 + fi +fi diff --git a/diptest/meta.yaml b/diptest/meta.yaml index 4bb1cd5..d7ad482 100644 --- a/diptest/meta.yaml +++ b/diptest/meta.yaml @@ -6,7 +6,7 @@ package: version: '{{ version }}' build: - number: 1 + number: 2 requirements: build: