diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 07:39:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 07:39:46 +0000 |
commit | 681852a7e9325fa1cc35a0acfa77aa062823a10a (patch) | |
tree | 07b23d369ffc4f1f2caaf379aa5e44ab4d521e87 | |
parent | 093081606b734bd05d1202c8e3ea4dee1da5ca55 (diff) |
automatic import of python-coala-bears
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-coala-bears.spec | 145 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 147 insertions, 0 deletions
@@ -0,0 +1 @@ +/coala-bears-0.11.1.tar.gz diff --git a/python-coala-bears.spec b/python-coala-bears.spec new file mode 100644 index 0000000..9ebd9f0 --- /dev/null +++ b/python-coala-bears.spec @@ -0,0 +1,145 @@ +%global _empty_manifest_terminate_build 0 +Name: python-coala-bears +Version: 0.11.1 +Release: 1 +Summary: Bears for coala (Code Analysis Application) +License: AGPL-3.0 +URL: http://coala.rtfd.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7c/22/4faa69f1a8370e58094ac589d967dcee0abd2a9c7250c1179f318f34c248/coala-bears-0.11.1.tar.gz +BuildArch: noarch + +Requires: python3-proselint +Requires: python3-coala +Requires: python3-autoflake +Requires: python3-autopep8 +Requires: python3-bandit +Requires: python3-click +Requires: python3-cmakelint +Requires: python3-cppclean +Requires: python3-cpplint +Requires: python3-dennis +Requires: python3-eradicate +Requires: python3-guess-language-spirit +Requires: python3-html-linter +Requires: python3-isort +Requires: python3-munkres3 +Requires: python3-mypy-lang +Requires: python3-nbformat +Requires: python3-nltk +Requires: python3-pycodestyle +Requires: python3-pydocstyle +Requires: python3-pyflakes +Requires: python3-pylint +Requires: python3-pyroma +Requires: python3-pyyaml +Requires: python3-radon +Requires: python3-restructuredtext-lint +Requires: python3-rstcheck +Requires: python3-safety +Requires: python3-scspell3k +Requires: python3-vulture +Requires: python3-yamllint +Requires: python3-yapf +Requires: python3-autoflake +Requires: python3-autopep8 +Requires: python3-bandit +Requires: python3-click +Requires: python3-cmakelint +Requires: python3-cppclean +Requires: python3-cpplint +Requires: python3-dennis +Requires: python3-eradicate +Requires: python3-guess-language-spirit +Requires: python3-html-linter +Requires: python3-isort +Requires: python3-language-check +Requires: python3-munkres3 +Requires: python3-mypy-lang +Requires: python3-nbformat +Requires: python3-nltk +Requires: python3-proselint +Requires: python3-pycodestyle +Requires: python3-pydocstyle +Requires: python3-pyflakes +Requires: python3-pylint +Requires: python3-pyroma +Requires: python3-pyyaml +Requires: python3-radon +Requires: python3-restructuredtext-lint +Requires: python3-rstcheck +Requires: python3-safety +Requires: python3-scspell3k +Requires: python3-vulture +Requires: python3-yamllint +Requires: python3-yapf + +%description +coala-bears is a Python package containing all the bears that are officially +supported by coala. It features more than **78 bears** covering +**54 languages**. Here is a `generated list <https://github.com/coala/bear-docs/>`_ +that contains information about each bear, such as the languages it supports and + +%package -n python3-coala-bears +Summary: Bears for coala (Code Analysis Application) +Provides: python-coala-bears +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-coala-bears +coala-bears is a Python package containing all the bears that are officially +supported by coala. It features more than **78 bears** covering +**54 languages**. Here is a `generated list <https://github.com/coala/bear-docs/>`_ +that contains information about each bear, such as the languages it supports and + +%package help +Summary: Development documents and examples for coala-bears +Provides: python3-coala-bears-doc +%description help +coala-bears is a Python package containing all the bears that are officially +supported by coala. It features more than **78 bears** covering +**54 languages**. Here is a `generated list <https://github.com/coala/bear-docs/>`_ +that contains information about each bear, such as the languages it supports and + +%prep +%autosetup -n coala-bears-0.11.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +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 +fi +if [ -d usr/lib64 ]; then + 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 +fi +if [ -d usr/sbin ]; then + 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 +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-coala-bears -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.1-1 +- Package Spec generated @@ -0,0 +1 @@ +de6eb5073f125b24eeae8974a7049944 coala-bears-0.11.1.tar.gz |