python3-setuptools-rust: adopted port

This commit is contained in:
Tim Biermann 2023-08-06 22:13:17 +02:00
parent c7a068553a
commit 9570c9d36c
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wFR6NEseIzMgCyKiubJypv4++06a8c4v6buHo3x6pr++y6sbWq/pqngHGUBVkQZmLIR/4K/c/FWnt0dbxfhkwc=
SHA256 (Pkgfile) = a33ecb3f19d21bf10fe5d9869d075e7b2bc8862b64130856bf23106a88b2d31b
RWSagIOpLGJF3xFAhbdEsRqL2ESQ++Xrmmsit+DHOcPs9cM09Lx098H5p6ckwzbH68Sw74Cnm2C29xNo4w6BAkBv4dqBipoFzAE=
SHA256 (Pkgfile) = ba98cd17a40e5a9f8eda57ca31f2a92226ebc2c5149110167d8b6cd3764c1729
SHA256 (.footprint) = 45f3e3f94324d201769c6bb5d6b1744a861b2c2d92f70012d29e7dcfee097489
SHA256 (python-setuptools-rust-1.6.0.tar.gz) = f6692cab380a00db8fedf3267280a76a809349ade24c60a2406a5dab78cd4b5b

View File

@ -1,7 +1,7 @@
# Description: Compile and distribute Python extensions written in rust as easily as if they were written in C.
# Description: Compile and distribute Python extensions written in rust as easily as if they were written in C
# URL: https://github.com/PyO3/setuptools-rust
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-semantic-version python3-setuptools-scm python3-toml python3-wheel rust
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-semantic-version python3-setuptools-scm python3-toml rust
name=python3-setuptools-rust
version=1.6.0
@ -9,10 +9,10 @@ release=1
source=(https://github.com/PyO3/setuptools-rust/archive/v$version/python-setuptools-rust-$version.tar.gz)
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
cd setuptools-rust-$version
cd setuptools-rust-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}