Skip to content

Commit

Permalink
Merge pull request #28810 from timkpaine/tkp/hcpp
Browse files Browse the repository at this point in the history
add hatch-cpp
  • Loading branch information
synapticarbors authored Jan 11, 2025
2 parents 0bffd21 + 6ab033f commit 432e43c
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions recipes/hatch-cpp/meta.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 432e43c

Please sign in to comment.