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

recipe for the ninja python module #24850

Closed
wants to merge 13 commits into from
61 changes: 61 additions & 0 deletions recipes/ninja-python/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{% set name = "ninja" %}
{% set version = "1.11.1.1" %}

package:
name: {{ name|lower }}-python
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/ninja-{{ version }}.tar.gz
sha256: 9d793b08dd857e38d0b6ffe9e6b7145d7c485a42dcfea04905ca0cdb6017cc3c

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0
missing_dso_whitelist:
- "*/libstdc++.so.6"
- "*/libgcc_s.so.1"
- "*/libc++.1.dylib"

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- make
- cmake
- python >=3.8
- setuptools >=42
- setuptools-scm
- scikit-build
- pip
host:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- make
- cmake
- python >=3.8
- setuptools >=42
- setuptools-scm
- scikit-build
- pip
run:
- python >=3.8

test:
imports:
- ninja
commands:
- pip check
requires:
- pip

about:
home: https://github.com/scikit-build/ninja-python-distributions
summary: Ninja is a small build system with a focus on speed
license: Apache-2.0
license_file: LICENSE_Apache_20

extra:
recipe-maintainers:
- mediocretech
Loading