From e98d068386639fc8d7ace17f0d1190050d5abbd5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 8 Jun 2023 13:00:05 +0000 Subject: automatic import of python-miss-hit-core --- python-miss-hit-core.spec | 78 +++++++++++++++++++++++++++++++---------------- 1 file changed, 51 insertions(+), 27 deletions(-) (limited to 'python-miss-hit-core.spec') diff --git a/python-miss-hit-core.spec b/python-miss-hit-core.spec index 7a3a037..812cb5a 100644 --- a/python-miss-hit-core.spec +++ b/python-miss-hit-core.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-miss-hit-core -Version: 0.9.38 +Version: 0.9.41 Release: 1 Summary: Code formatting and code metrics for programs written in the MATLAB/Simulink and Octave languages. License: GNU General Public License v3 URL: https://misshit.org -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ef/39/ae852fc738961d5113cbfc2adcc46791668d8f562d582d81307e192c7387/miss_hit_core-0.9.38.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/28/1d/08d3569c07a14d98b7115c2da86fc95a9eaf729f8f6372f8331756c0c26e/miss_hit_core-0.9.41.tar.gz BuildArch: noarch @@ -102,15 +102,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 @@ -286,15 +294,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 @@ -467,15 +483,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 @@ -553,7 +577,7 @@ which are licensed under the MIT License. %prep -%autosetup -n miss-hit-core-0.9.38 +%autosetup -n miss_hit_core-0.9.41 %build %py3_build @@ -567,20 +591,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 . @@ -593,5 +617,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon May 15 2023 Python_Bot - 0.9.38-1 +* Thu Jun 08 2023 Python_Bot - 0.9.41-1 - Package Spec generated -- cgit v1.2.3