recipe cleanup
added jinja conditional to restrict use of git-patch to v1.0.0
{% set name = "optimum" %}
{% set version = "1.0.0" %}
-# Remove the patch (adapted_pr_96.patch) once version >1.0.0 is released.
-
package:
name: {{ name|lower }}
@@ -12,7 +10,11 @@ source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/optimum-{{ version }}.tar.gz
sha256: b51c54c47d7ff0f800cc7dfb833074292e4f3637df8494fe97c48cc382094c7d
patches:
+ # Remove the patch (adapted_pr_96.patch)
+ # once version >1.0.0 is released.
+ {% if version == "1.0.0" %}
- adapted_pr_96.patch
+ {% endif %}
build:
number: 0
