From b50110a74abfdd3af3302ec4c536f2d0d1668093 Mon Sep 17 00:00:00 2001 From: Hadrien Mary Date: Tue, 17 Dec 2024 18:51:08 -0500 Subject: [PATCH] add faust-cchardet --- recipes/faust-cchardet/recipe.yaml | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 recipes/faust-cchardet/recipe.yaml diff --git a/recipes/faust-cchardet/recipe.yaml b/recipes/faust-cchardet/recipe.yaml new file mode 100644 index 0000000000000..2389e2d1bec99 --- /dev/null +++ b/recipes/faust-cchardet/recipe.yaml @@ -0,0 +1,55 @@ +context: + name: faust-cchardet + version: 2.1.19 + +package: + name: ${{ name|lower }} + version: ${{ version }} + +source: + url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/faust-cchardet-${{ version }}.tar.gz + sha256: f89386297cde0c8e0f5e21464bc2d6d0e4a4fc1b1d77cdb238ca24d740d872e0 + +build: + number: 0 + script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + build: + - if: build_platform != target_platform + then: + - python + - cross-python_${{ target_platform }} + - cython + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + - ${{ stdlib("c") }} + host: + - python + - setuptools + - wheel + - cython + - pkgconfig + - pip + run: + - python + run_constraints: + - cchardet <0 + +tests: + - python: + imports: + - cchardet + pip_check: true + +about: + summary: cChardet is high speed universal character encoding detector. + license: GPL-3.0-only + license_file: + - COPYING + - src/ext/uchardet/COPYING + homepage: https://github.com/faust-streaming/cChardet + +extra: + recipe-maintainers: + - hadim