diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b84b283..f405a86 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,13 +1,12 @@ -{% set name = "tokenizers" %} {% set version = "0.11.6" %} package: - name: {{ name|lower }} + name: tokenizers version: {{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 562b2022faf0882586c915385620d1f11798fc1b32bac55353a530132369a6d0 + url: https://github.com/huggingface/tokenizers/archive/refs/tags/python-v{{ version }}.tar.gz + sha256: 39f33cbfa7408fad08c01a46fa4d7c50b6b17b37f1d0a5bc7efbdd8128dab4ec patches: # backport huggingface/tokenizers#650 - patches/0001-Upgrade-pyo3-to-0.15.patch # [build_platform != target_platform]