Resolve conflicts
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=19
This commit is contained in:
parent
48ef570ee9
commit
0aae44e0a5
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
[source.crates-io]
|
[source.crates-io]
|
||||||
replace-with = "vendored-sources"
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
@ -75,7 +75,8 @@ A concrete syntax tree with AST-like properties for Python 3.5+ programs.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n libcst-%{version}
|
%setup -q -n libcst-%{version}
|
||||||
tar x -C native/ -f %{SOURCE1}
|
tar x -C native/ -f %{SOURCE1}
|
||||||
(cd native ; mkdir -p .cargo ; cat %{SOURCE2} >>.cargo/config.toml)
|
mkdir -p .cargo && cat %{SOURCE2} >>.cargo/config.toml
|
||||||
|
(cd native && mkdir -p .cargo && cat %{SOURCE2} >>.cargo/config.toml)
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
# wrong executable call when outside of venv (gh#Instagram/LibCST#468)
|
# wrong executable call when outside of venv (gh#Instagram/LibCST#468)
|
||||||
@ -98,6 +99,7 @@ cd native
|
|||||||
}
|
}
|
||||||
cd ..
|
cd ..
|
||||||
export CARGO_NET_OFFLINE=true PROFILE=release
|
export CARGO_NET_OFFLINE=true PROFILE=release
|
||||||
|
cargo metadata --offline --manifest-path native/libcst/Cargo.toml --format-version 1
|
||||||
%python_build
|
%python_build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user