diff options
Diffstat (limited to 'python-miss-hit.spec')
| -rw-r--r-- | python-miss-hit.spec | 78 |
1 files changed, 51 insertions, 27 deletions
diff --git a/python-miss-hit.spec b/python-miss-hit.spec index 115d2bb..577cf79 100644 --- a/python-miss-hit.spec +++ b/python-miss-hit.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-miss-hit -Version: 0.9.38 +Version: 0.9.41 Release: 1 Summary: Static analysis and other utilities for programs written in the MATLAB/Simulink and Octave languages. License: GNU Affero General Public License v3 URL: https://misshit.org -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6b/14/3fa0da63fa728830c9d3bbdcdb9848c24e90ed0e6912910e5cb2da3ebfc2/miss_hit-0.9.38.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/97/8f/22c94fb4aeb9b420afa2492ad4b90b29aa165086031d1c90902b8ecd9927/miss_hit-0.9.41.tar.gz BuildArch: noarch Requires: python3-miss-hit-core @@ -103,15 +103,23 @@ $ mh_style src/ Configuration and setup is described in the [user manuals](https://florianschanda.github.io/miss_hit) +### Installation via pipx + +Very similar to the above: + +``` +$ pipx install miss_hit --include-deps +``` + ### Installation by checkout -It is recommended to use pip, as that gets you the latest stable -release. However, it is possible to directly use MISS_HIT from a -checkout. MISS_HIT does not require *any* python packages or -libraries. Just check out the repository and put it on your -path. That's it. +It is recommended to use pip or pipx, as that gets you the latest +stable release. However, it is possible to directly use MISS_HIT from +a checkout. MISS_HIT currently does not require *any* non-standard +python packages or libraries as dependencies. Just check out the +repository and put it on your path. That's it. -The version of Python I am using is `3.6` but any later version should +The version of Python I am using is `3.7` but any later version should also work. I am not using any overly fancy language features. ### Additional requirements for developing MISS_HIT @@ -287,15 +295,23 @@ $ mh_style src/ Configuration and setup is described in the [user manuals](https://florianschanda.github.io/miss_hit) +### Installation via pipx + +Very similar to the above: + +``` +$ pipx install miss_hit --include-deps +``` + ### Installation by checkout -It is recommended to use pip, as that gets you the latest stable -release. However, it is possible to directly use MISS_HIT from a -checkout. MISS_HIT does not require *any* python packages or -libraries. Just check out the repository and put it on your -path. That's it. +It is recommended to use pip or pipx, as that gets you the latest +stable release. However, it is possible to directly use MISS_HIT from +a checkout. MISS_HIT currently does not require *any* non-standard +python packages or libraries as dependencies. Just check out the +repository and put it on your path. That's it. -The version of Python I am using is `3.6` but any later version should +The version of Python I am using is `3.7` but any later version should also work. I am not using any overly fancy language features. ### Additional requirements for developing MISS_HIT @@ -468,15 +484,23 @@ $ mh_style src/ Configuration and setup is described in the [user manuals](https://florianschanda.github.io/miss_hit) +### Installation via pipx + +Very similar to the above: + +``` +$ pipx install miss_hit --include-deps +``` + ### Installation by checkout -It is recommended to use pip, as that gets you the latest stable -release. However, it is possible to directly use MISS_HIT from a -checkout. MISS_HIT does not require *any* python packages or -libraries. Just check out the repository and put it on your -path. That's it. +It is recommended to use pip or pipx, as that gets you the latest +stable release. However, it is possible to directly use MISS_HIT from +a checkout. MISS_HIT currently does not require *any* non-standard +python packages or libraries as dependencies. Just check out the +repository and put it on your path. That's it. -The version of Python I am using is `3.6` but any later version should +The version of Python I am using is `3.7` but any later version should also work. I am not using any overly fancy language features. ### Additional requirements for developing MISS_HIT @@ -554,7 +578,7 @@ which are licensed under the MIT License. %prep -%autosetup -n miss-hit-0.9.38 +%autosetup -n miss_hit-0.9.41 %build %py3_build @@ -568,20 +592,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -594,5 +618,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.38-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.41-1 - Package Spec generated |
