%global _empty_manifest_terminate_build 0 Name: python-pytest-mpi Version: 0.6 Release: 1 Summary: pytest plugin to collect information from tests License: 3-clause BSD URL: https://pytest-mpi.readthedocs.io Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/db/b9d4b23750eb91865787656dce02a2864397aa1ee130df00ec73d3954e7e/pytest-mpi-0.6.tar.gz BuildArch: noarch Requires: python3-pytest %description `pytest_mpi` is a plugin for pytest providing some useful tools when running tests under MPI, and testing MPI-related code. To run a test only when using MPI, use the `pytest.mark.mpi` marker like: :: @pytest.mark.mpi def test_mpi(): pass Further documentation can be found at ``_. Bug reports and suggestions should be filed at ``_. |Documentation Status| |Build Status| |Coverage Status| .. |Documentation Status| image:: https://readthedocs.org/projects/pytest-mpi/badge/?version=latest :target: http://pytest-mpi.readthedocs.org/en/latest/?badge=latest .. |Build Status| image:: https://travis-ci.org/aragilar/pytest-mpi.svg?branch=master :target: https://travis-ci.org/aragilar/pytest-mpi .. |Coverage Status| image:: https://codecov.io/github/aragilar/pytest-mpi/coverage.svg?branch=master :target: https://codecov.io/github/aragilar/pytest-mpi?branch=master %package -n python3-pytest-mpi Summary: pytest plugin to collect information from tests Provides: python-pytest-mpi BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-pytest-mpi `pytest_mpi` is a plugin for pytest providing some useful tools when running tests under MPI, and testing MPI-related code. To run a test only when using MPI, use the `pytest.mark.mpi` marker like: :: @pytest.mark.mpi def test_mpi(): pass Further documentation can be found at ``_. Bug reports and suggestions should be filed at ``_. |Documentation Status| |Build Status| |Coverage Status| .. |Documentation Status| image:: https://readthedocs.org/projects/pytest-mpi/badge/?version=latest :target: http://pytest-mpi.readthedocs.org/en/latest/?badge=latest .. |Build Status| image:: https://travis-ci.org/aragilar/pytest-mpi.svg?branch=master :target: https://travis-ci.org/aragilar/pytest-mpi .. |Coverage Status| image:: https://codecov.io/github/aragilar/pytest-mpi/coverage.svg?branch=master :target: https://codecov.io/github/aragilar/pytest-mpi?branch=master %package help Summary: Development documents and examples for pytest-mpi Provides: python3-pytest-mpi-doc %description help `pytest_mpi` is a plugin for pytest providing some useful tools when running tests under MPI, and testing MPI-related code. To run a test only when using MPI, use the `pytest.mark.mpi` marker like: :: @pytest.mark.mpi def test_mpi(): pass Further documentation can be found at ``_. Bug reports and suggestions should be filed at ``_. |Documentation Status| |Build Status| |Coverage Status| .. |Documentation Status| image:: https://readthedocs.org/projects/pytest-mpi/badge/?version=latest :target: http://pytest-mpi.readthedocs.org/en/latest/?badge=latest .. |Build Status| image:: https://travis-ci.org/aragilar/pytest-mpi.svg?branch=master :target: https://travis-ci.org/aragilar/pytest-mpi .. |Coverage Status| image:: https://codecov.io/github/aragilar/pytest-mpi/coverage.svg?branch=master :target: https://codecov.io/github/aragilar/pytest-mpi?branch=master %prep %autosetup -n pytest-mpi-0.6 %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-mpi -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Mar 09 2023 Python_Bot - 0.6-1 - Package Spec generated