From 0aa5b9c88eb839839d07bf4db5a2c193642af093 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Mon, 9 Nov 2020 13:55:03 +0100
Subject: [PATCH] [conda] Standardize conda recipe

---
 conda/meta.yaml | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 996a763..82cd5ec 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -29,16 +29,23 @@ requirements:
   host:
     - python {{ python }}
     - setuptools {{ setuptools }}
+    - docopt {{ docopt }}
+    - numpy {{ numpy }}
+    - requests {{ requests }}
+    - setuptools {{ setuptools }}
+    - simplejson {{ simplejson }}
+    - pyzmq {{ pyzmq }}
+    - six  # six usage is deprecated and it's jinja variable does not exist
   run:
     - python
     - setuptools
-    - docopt
-    - numpy
-    - requests
-    - setuptools
-    - simplejson
-    - six
-    - pyzmq
+    - {{ pin_compatible('docopt') }}
+    - {{ pin_compatible('numpy') }}
+    - {{ pin_compatible('requests') }}
+    - {{ pin_compatible('setuptools') }}
+    - {{ pin_compatible('simplejson') }}
+    - {{ pin_compatible('pyzmq') }}
+    - {{ pin_compatible('six') }}
 
 test:
   imports:
-- 
GitLab