diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:58:13 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:58:13 +0000 |
| commit | 2faa515c779eddde3ddfd3553956fabc122dcfb8 (patch) | |
| tree | 6d4b1e38641f8191734489f24d7d39ef43e7b1ba | |
| parent | ec91ab64fe0ef7bdfc430a2b4ab8d61352e003d9 (diff) | |
automatic import of python-ansible-lateropeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-ansible-later.spec | 208 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 210 insertions, 0 deletions
@@ -0,0 +1 @@ +/ansible_later-3.3.1.tar.gz diff --git a/python-ansible-later.spec b/python-ansible-later.spec new file mode 100644 index 0000000..caa7aca --- /dev/null +++ b/python-ansible-later.spec @@ -0,0 +1,208 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ansible-later +Version: 3.3.1 +Release: 1 +Summary: Reviews ansible playbooks, roles and inventories and suggests improvements. +License: MIT +URL: https://ansible-later.geekdocs.de/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/88/fd/03776fac1af0b05e6b48758bc9540fc7f639d24bda1dec82c8075a3813f5/ansible_later-3.3.1.tar.gz +BuildArch: noarch + +Requires: python3-PyYAML +Requires: python3-ansible +Requires: python3-ansible-core +Requires: python3-anyconfig +Requires: python3-appdirs +Requires: python3-colorama +Requires: python3-jsonschema +Requires: python3-nested-lookup +Requires: python3-pathspec +Requires: python3-json-logger +Requires: python3-toolz +Requires: python3-unidiff +Requires: python3-yamllint + +%description +# ansible-later + +Another best practice scanner for Ansible roles and playbooks + +[](https://drone.thegeeklab.de/thegeeklab/ansible-later) +[](https://hub.docker.com/r/thegeeklab/ansible-later) +[](https://quay.io/repository/thegeeklab/ansible-later) +[](https://pypi.org/project/ansible-later/) +[](https://pypi.org/project/ansible-later/) +[](https://pypi.org/project/ansible-later/) +[](https://codecov.io/gh/thegeeklab/ansible-later) +[](https://github.com/thegeeklab/ansible-later/graphs/contributors) +[](https://github.com/thegeeklab/ansible-later) +[](https://github.com/thegeeklab/ansible-later/blob/main/LICENSE) + +ansible-later is a best practice scanner and linting tool. In most cases, if you write Ansible roles in a team, it helps to have a coding or best practice guideline in place. This will make Ansible roles more readable for all maintainers and can reduce the troubleshooting time. While ansible-later aims to be a fast and easy to use linting tool for your Ansible resources, it might not be that feature completed as required in some situations. If you need a more in-depth analysis you can take a look at [ansible-lint](https://github.com/ansible-community/ansible-lint). + +ansible-later does **not** ensure that your role will work as expected. For deployment tests you can use other tools like [molecule](https://github.com/ansible/molecule). + +You can find the full documentation at [https://ansible-later.geekdocs.de](https://ansible-later.geekdocs.de/). + +## Community + +<!-- prettier-ignore-start --> +<!-- spellchecker-disable --> + +- [GitHub Action](https://github.com/patrickjahns/ansible-later-action) by [@patrickjahns](https://github.com/patrickjahns) + +<!-- spellchecker-enable --> +<!-- prettier-ignore-end --> + +## Contributors + +Special thanks to all [contributors](https://github.com/thegeeklab/ansible-later/graphs/contributors). If you would like to contribute, +please see the [instructions](https://github.com/thegeeklab/ansible-later/blob/main/CONTRIBUTING.md). + +ansible-later is a fork of Will Thames [ansible-review](https://github.com/willthames/ansible-review). Thanks for your work on ansible-review and ansible-lint. + +## License + +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/ansible-later/blob/main/LICENSE) file for details. + + +%package -n python3-ansible-later +Summary: Reviews ansible playbooks, roles and inventories and suggests improvements. +Provides: python-ansible-later +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ansible-later +# ansible-later + +Another best practice scanner for Ansible roles and playbooks + +[](https://drone.thegeeklab.de/thegeeklab/ansible-later) +[](https://hub.docker.com/r/thegeeklab/ansible-later) +[](https://quay.io/repository/thegeeklab/ansible-later) +[](https://pypi.org/project/ansible-later/) +[](https://pypi.org/project/ansible-later/) +[](https://pypi.org/project/ansible-later/) +[](https://codecov.io/gh/thegeeklab/ansible-later) +[](https://github.com/thegeeklab/ansible-later/graphs/contributors) +[](https://github.com/thegeeklab/ansible-later) +[](https://github.com/thegeeklab/ansible-later/blob/main/LICENSE) + +ansible-later is a best practice scanner and linting tool. In most cases, if you write Ansible roles in a team, it helps to have a coding or best practice guideline in place. This will make Ansible roles more readable for all maintainers and can reduce the troubleshooting time. While ansible-later aims to be a fast and easy to use linting tool for your Ansible resources, it might not be that feature completed as required in some situations. If you need a more in-depth analysis you can take a look at [ansible-lint](https://github.com/ansible-community/ansible-lint). + +ansible-later does **not** ensure that your role will work as expected. For deployment tests you can use other tools like [molecule](https://github.com/ansible/molecule). + +You can find the full documentation at [https://ansible-later.geekdocs.de](https://ansible-later.geekdocs.de/). + +## Community + +<!-- prettier-ignore-start --> +<!-- spellchecker-disable --> + +- [GitHub Action](https://github.com/patrickjahns/ansible-later-action) by [@patrickjahns](https://github.com/patrickjahns) + +<!-- spellchecker-enable --> +<!-- prettier-ignore-end --> + +## Contributors + +Special thanks to all [contributors](https://github.com/thegeeklab/ansible-later/graphs/contributors). If you would like to contribute, +please see the [instructions](https://github.com/thegeeklab/ansible-later/blob/main/CONTRIBUTING.md). + +ansible-later is a fork of Will Thames [ansible-review](https://github.com/willthames/ansible-review). Thanks for your work on ansible-review and ansible-lint. + +## License + +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/ansible-later/blob/main/LICENSE) file for details. + + +%package help +Summary: Development documents and examples for ansible-later +Provides: python3-ansible-later-doc +%description help +# ansible-later + +Another best practice scanner for Ansible roles and playbooks + +[](https://drone.thegeeklab.de/thegeeklab/ansible-later) +[](https://hub.docker.com/r/thegeeklab/ansible-later) +[](https://quay.io/repository/thegeeklab/ansible-later) +[](https://pypi.org/project/ansible-later/) +[](https://pypi.org/project/ansible-later/) +[](https://pypi.org/project/ansible-later/) +[](https://codecov.io/gh/thegeeklab/ansible-later) +[](https://github.com/thegeeklab/ansible-later/graphs/contributors) +[](https://github.com/thegeeklab/ansible-later) +[](https://github.com/thegeeklab/ansible-later/blob/main/LICENSE) + +ansible-later is a best practice scanner and linting tool. In most cases, if you write Ansible roles in a team, it helps to have a coding or best practice guideline in place. This will make Ansible roles more readable for all maintainers and can reduce the troubleshooting time. While ansible-later aims to be a fast and easy to use linting tool for your Ansible resources, it might not be that feature completed as required in some situations. If you need a more in-depth analysis you can take a look at [ansible-lint](https://github.com/ansible-community/ansible-lint). + +ansible-later does **not** ensure that your role will work as expected. For deployment tests you can use other tools like [molecule](https://github.com/ansible/molecule). + +You can find the full documentation at [https://ansible-later.geekdocs.de](https://ansible-later.geekdocs.de/). + +## Community + +<!-- prettier-ignore-start --> +<!-- spellchecker-disable --> + +- [GitHub Action](https://github.com/patrickjahns/ansible-later-action) by [@patrickjahns](https://github.com/patrickjahns) + +<!-- spellchecker-enable --> +<!-- prettier-ignore-end --> + +## Contributors + +Special thanks to all [contributors](https://github.com/thegeeklab/ansible-later/graphs/contributors). If you would like to contribute, +please see the [instructions](https://github.com/thegeeklab/ansible-later/blob/main/CONTRIBUTING.md). + +ansible-later is a fork of Will Thames [ansible-review](https://github.com/willthames/ansible-review). Thanks for your work on ansible-review and ansible-lint. + +## License + +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/ansible-later/blob/main/LICENSE) file for details. + + +%prep +%autosetup -n ansible-later-3.3.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-ansible-later -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.1-1 +- Package Spec generated @@ -0,0 +1 @@ +86f3bde19c296241b1a33e4805949a6a ansible_later-3.3.1.tar.gz |
