Matej Cepl 2024-07-22 11:53:43 +00:00 committed by Git OBS Bridge
parent 3371b242bf
commit 2879455b4e
2 changed files with 6 additions and 3 deletions

3
_multibuild Normal file
View File

@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@ -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