Fix switching off tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=29
This commit is contained in:
parent
3371b242bf
commit
2879455b4e
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -72,14 +72,14 @@ A concrete syntax tree with AST-like properties for Python 3.5+ programs.
|
||||
# libcst/metadata/tests/test_full_repo_manager.py \
|
||||
# libcst/tests/test_pyre_integration.py
|
||||
|
||||
%if !%%{with test}
|
||||
%if %{without test}
|
||||
%build
|
||||
export CARGO_NET_OFFLINE=true PROFILE=release
|
||||
%pyproject_wheel
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if !%%{with test}
|
||||
%if %{without test}
|
||||
export CARGO_NET_OFFLINE=true PROFILE=release
|
||||
%pyproject_install
|
||||
# gh#Instagram/LibCST#818
|
||||
@ -95,7 +95,7 @@ export CARGO_NET_OFFLINE=true PROFILE=release
|
||||
%pyunittest discover -v libcst/tests
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%if %{without test}
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user