python3-setuptools-rust: update to 0.12.0.
This commit is contained in:
parent
d78dd2d239
commit
b2085b084c
@ -1,27 +0,0 @@
|
||||
From cbd30fda8c6f7cc0d304728413f2cbf488da096b Mon Sep 17 00:00:00 2001
|
||||
From: "Andrew J. Hesford" <ajh@sideband.org>
|
||||
Date: Mon, 8 Feb 2021 12:58:58 -0500
|
||||
Subject: [PATCH] Augment, rather than replace, existing RUSTFLAGS when
|
||||
building
|
||||
|
||||
Some complex environments, like Void's cross-compilation environment,
|
||||
use RUSTFLAGS to control the behavior of rust compilation. Rather than
|
||||
overwriting RUSTFLAGS with custom flags, augment any existing RUSTFLAGS
|
||||
to preserve these environments.
|
||||
---
|
||||
setuptools_rust/build.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git setuptools_rust/build.py setuptools_rust/build.py
|
||||
index 40d8e42..60eddfa 100644
|
||||
--- setuptools_rust/build.py
|
||||
+++ setuptools_rust/build.py
|
||||
@@ -186,7 +186,7 @@ def build_extension(self, ext):
|
||||
rustflags += " -C target-cpu=native"
|
||||
|
||||
if rustflags:
|
||||
- env["RUSTFLAGS"] = rustflags
|
||||
+ env["RUSTFLAGS"] = (env.get("RUSTFLAGS", "") + " " + rustflags).strip()
|
||||
|
||||
# Execute cargo
|
||||
try:
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'python3-setuptools-rust'
|
||||
pkgname=python3-setuptools-rust
|
||||
version=0.11.6
|
||||
version=0.12.0
|
||||
revision=1
|
||||
wrksrc="${pkgname#python3-}-${version}"
|
||||
build_style=python3-module
|
||||
@ -12,7 +12,7 @@ license="MIT"
|
||||
homepage="https://github.com/PyO3/setuptools-rust"
|
||||
changelog="https://raw.githubusercontent.com/PyO3/setuptools-rust/master/CHANGELOG.md"
|
||||
distfiles="${PYPI_SITE}/s/setuptools-rust/setuptools-rust-${version}.tar.gz"
|
||||
checksum=a5b5954909cbc5d66b914ee6763f81fa2610916041c7266105a469f504a7c4ca
|
||||
checksum=faacca4b85d5f43e9e3836418e1cbf9ed2576a27978b522f3d04513ef052cec5
|
||||
|
||||
do_check() {
|
||||
echo "Tests have unpackaged dependencies; skipping"
|
||||
|
Loading…
x
Reference in New Issue
Block a user