This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
python3-maturin/debian/rules

11 lines
350 B
Plaintext
Raw Permalink Normal View History

2023-06-26 10:55:21 +02:00
#!/usr/bin/make -f
%:
2023-06-26 11:34:00 +02:00
dh $@ --with python3 --buildsystem pybuild
2023-06-26 11:18:25 +02:00
2023-06-26 11:36:22 +02:00
override_dh_auto_build:
2023-06-26 11:32:38 +02:00
cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked
2023-06-26 11:40:21 +02:00
override_dh_install:
dh_install
mkdir -p debian/python3-maturin/usr/bin
cp target/release/maturin debian/python3-maturin/usr/bin/