15
0

- Generated tables should get correct *.pyc files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs.parse?expand=0&rev=12
This commit is contained in:
2021-11-17 17:52:53 +00:00
committed by Git OBS Bridge
parent 2eec112797
commit 25c73a3024
2 changed files with 10 additions and 4 deletions

View File

@@ -43,12 +43,13 @@ ECMAScript; a near feature complete fork of slimit.
%build
export LANG=en_US.UTF-8
%python_build
%{python_expand PYTHONPATH=build/lib $python -m calmjs.parse.parsers.optimize
# $python -m compileall -j 0 -f build/
}
%install
%python_install
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m calmjs.parse.parsers.optimize
%fdupes %{buildroot}%{$python_sitelib}
}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
@@ -57,6 +58,6 @@ export LANG=en_US.UTF-8
%files %{python_files}
%doc README.rst CHANGES.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/calmjs*
%changelog