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

[PKG-2064] maturin 0.14.17 #5

Merged
merged 6 commits into from
May 25, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion recipe/bld-win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ REM set UTF-8 mode by default
chcp 65001
set PYTHONUTF8=1
set PYTHONIOENCODING="UTF-8"
%PYTHON% -m pip install . --no-deps --ignore-installed -vv
%PYTHON% -m pip install . --no-deps --no-build-isolation --ignore-installed -vv
2 changes: 1 addition & 1 deletion recipe/build-unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export RUSTUP_HOME=${CARGO_HOME}/rustup
rustc --version

# Install wheel manually
$PYTHON -m pip install . --no-deps --ignore-installed -vv
$PYTHON -m pip install . --no-deps --no-build-isolation --ignore-installed -vv
72 changes: 37 additions & 35 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% set name = "maturin" %}
{% set version = "0.13.7" %}
{% set version = "0.14.17" %}

package:
name: {{ name }}-suite
version: {{ version }}

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

build:
number: 0
Expand All @@ -31,12 +31,41 @@ outputs:
- pip
- python
- setuptools
- setuptools-rust >=1.4.0
- wheel >=0.36.2
- tomli >=1.1.0
- setuptools-rust 1.5.2
- wheel
- tomli # [py<311]
run:
- python
- tomli >=1.1.0
- tomli >=1.1.0 # [py<311]
test:
imports:
- maturin
requires:
- pip
commands:
- maturin -V
- maturin --help
- maturin build --help
- pip check

- name: {{ name }}-gnu
script: bld-win.bat
build:
skip: true # [not win]
requirements:
build:
- {{ compiler('m2w64_c') }}
- rust-gnu_win-64
host:
- pip
- python
- setuptools
- setuptools-rust 1.5.2
- wheel
- tomli # [py<311]
run:
- python
- tomli >=1.1.0 # [py<311]
test:
imports:
- maturin
Expand All @@ -47,35 +76,9 @@ outputs:
- maturin --help
- maturin build --help
- pip check
- name: {{ name }}-gnu # [win]
script: bld-win.bat # [win]
requirements: # [win]
build: # [win]
- {{ compiler('m2w64_c') }} # [win]
- rust-gnu_win-64 # [win]
host: # [win]
- pip # [win]
- python # [win]
- setuptools # [win]
- setuptools-rust >=1.4.0 # [win]
- wheel >=0.36.2 # [win]
- tomli >=1.1.0 # [win]
run: # [win]
- python # [win]
- tomli >=1.1.0 # [win]
test: # [win]
imports: # [win]
- maturin # [win]
requires: # [win]
- pip # [win]
commands: # [win]
- maturin -V # [win]
- maturin --help # [win]
- maturin build --help # [win]
- pip check # [win]

about:
home: https://maturin.rs/
home: https://www.maturin.rs/
license: MIT OR Apache-2.0
license_family: MIT
license_file: license-mit
Expand All @@ -85,8 +88,7 @@ about:
This project is meant as a zero configuration replacement for setuptools-rust and milksnake.
It supports building wheels for python 3.5+ on windows, linux, mac and freebsd, can upload them to pypi and has basic pypy support.
dev_url: https://github.com/PyO3/maturin
doc_url: https://maturin.rs/
doc_source_url: https://github.com/PyO3/maturin/tree/v{{ version }}/guide/src
doc_url: https://www.maturin.rs/

extra:
recipe-maintainers:
Expand Down