diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:39:28 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:39:28 +0000 |
| commit | a4607092d7da9815bf27a6421101fd9662cf9beb (patch) | |
| tree | 324a6531676ccc834c3918bc6382460e251c9bd9 /python-pytest-resilient-circuits.spec | |
| parent | 846c8d951ca03ee0c9e640f6ba5dadd3a4d1bf05 (diff) | |
automatic import of python-pytest-resilient-circuits
Diffstat (limited to 'python-pytest-resilient-circuits.spec')
| -rw-r--r-- | python-pytest-resilient-circuits.spec | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/python-pytest-resilient-circuits.spec b/python-pytest-resilient-circuits.spec new file mode 100644 index 0000000..a71858b --- /dev/null +++ b/python-pytest-resilient-circuits.spec @@ -0,0 +1,183 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytest-resilient-circuits +Version: 48.2.4321 +Release: 1 +Summary: Resilient Circuits fixtures for PyTest +License: MIT +URL: https://github.com/ibmresilient/resilient-python-api/tree/main/resilient-resilient-circuits +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/eb/1b/fc1f488b92d625c2fb31892cb69b73ed7196cec86168dd7b534365e06a1b/pytest_resilient_circuits-48.2.4321.tar.gz +BuildArch: noarch + +Requires: python3-resilient-circuits +Requires: python3-requests-mock +Requires: python3-ConfigParser +Requires: python3-pytest +Requires: python3-ConfigParser +Requires: python3-pytest + +%description + + +# pytest-resilient-circuits + +This package is a `pytest` plugin that provides fixtures to facilitate testing IBM SOAR apps. + +## Installing this module + +To install from PyPi: + +``` +pip install pytest-resilient-circuits +``` + +## License and Terms + +Copyright © IBM Corporation 2023 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +%package -n python3-pytest-resilient-circuits +Summary: Resilient Circuits fixtures for PyTest +Provides: python-pytest-resilient-circuits +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pytest-resilient-circuits + + +# pytest-resilient-circuits + +This package is a `pytest` plugin that provides fixtures to facilitate testing IBM SOAR apps. + +## Installing this module + +To install from PyPi: + +``` +pip install pytest-resilient-circuits +``` + +## License and Terms + +Copyright © IBM Corporation 2023 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +%package help +Summary: Development documents and examples for pytest-resilient-circuits +Provides: python3-pytest-resilient-circuits-doc +%description help + + +# pytest-resilient-circuits + +This package is a `pytest` plugin that provides fixtures to facilitate testing IBM SOAR apps. + +## Installing this module + +To install from PyPi: + +``` +pip install pytest-resilient-circuits +``` + +## License and Terms + +Copyright © IBM Corporation 2023 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +%prep +%autosetup -n pytest-resilient-circuits-48.2.4321 + +%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-pytest-resilient-circuits -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 48.2.4321-1 +- Package Spec generated |
