From 6ab033fb300e2dad97e1cd20fe2f7529d1875a8d Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:26:58 -0500 Subject: [PATCH] add hatch-cpp --- recipes/hatch-cpp/meta.yaml | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 recipes/hatch-cpp/meta.yaml diff --git a/recipes/hatch-cpp/meta.yaml b/recipes/hatch-cpp/meta.yaml new file mode 100644 index 0000000000000..a173dbe5a9130 --- /dev/null +++ b/recipes/hatch-cpp/meta.yaml @@ -0,0 +1,49 @@ +{% set name = "hatch-cpp" %} +{% set version = "0.1.2" %} +{% set python_min = "3.9" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/h/hatch-cpp/hatch_cpp-{{ version }}.tar.gz + sha256: eae5c0176c897728981f3dd3f2b2eedc8050941471e94eab969f613979fcadcc + +build: + number: 0 + script: + - {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + noarch: python + +requirements: + host: + - python {{ python_min }} + - pip + - hatchling >=1.20 + run: + - python >={{ python_min }} + - hatchling >=1.20 + - pydantic >=2 + +test: + requires: + - python {{ python_min }} + - pip + commands: + - pip check + imports: + - hatch_cpp + +about: + home: https://github.com/python-project-templates/hatch-cpp + license: Apache-2.0 + license_family: Apache + license_file: LICENSE + summary: Hatch plugin for C++ builds + description: Hatch plugin for C++ builds + dev_url: https://github.com/python-project-templates/hatch-cpp + +extra: + recipe-maintainers: + - timkpaine