Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hatch-cpp #28810

Merged
merged 1 commit into from
Jan 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading