diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-09 16:01:02 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-09 16:01:02 +0000 |
commit | 09518ed1e0de040fecd10aeca6bc0607a1d2cab0 (patch) | |
tree | f1f25efb72cc865304330d55cc7b6021222580d9 | |
parent | 24f6791288ffa21a39ab776bde8742db12bbdec8 (diff) |
automatic import of python-pytest-harvest
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pytest-harvest.spec | 116 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 118 insertions, 0 deletions
@@ -0,0 +1 @@ +/pytest-harvest-1.10.4.tar.gz diff --git a/python-pytest-harvest.spec b/python-pytest-harvest.spec new file mode 100644 index 0000000..7ad37b6 --- /dev/null +++ b/python-pytest-harvest.spec @@ -0,0 +1,116 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytest-harvest +Version: 1.10.4 +Release: 1 +Summary: Store data created during your pytest tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes. +License: BSD 3-Clause +URL: https://github.com/smarie/python-pytest-harvest +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/8e/8dc1180216f5758b44012bd84dbbe672c5231dbb76d53c1da80de1f3f572/pytest-harvest-1.10.4.tar.gz +BuildArch: noarch + +Requires: python3-decopatch +Requires: python3-makefun +Requires: python3-six +Requires: python3-pathlib2 +Requires: python3-funcsigs + +%description +# pytest-harvest + +[](https://pypi.python.org/pypi/pytest-harvest/) [](https://github.com/smarie/python-pytest-harvest/actions/workflows/base.yml) [](https://smarie.github.io/python-pytest-harvest/reports/junit/report.html) [](https://codecov.io/gh/smarie/python-pytest-harvest) + +[](https://smarie.github.io/python-pytest-harvest/) [](https://pypi.python.org/pypi/pytest-harvest/) [](https://pepy.tech/project/pytest-harvest) [](https://pepy.tech/project/pytest-harvest) [](https://github.com/smarie/python-pytest-harvest/stargazers) + +Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes. + +The documentation for users is available here: [https://smarie.github.io/python-pytest-harvest/](https://smarie.github.io/python-pytest-harvest/) + +A readme for developers is available here: [https://github.com/smarie/python-pytest-harvest](https://github.com/smarie/python-pytest-harvest) + + + + +%package -n python3-pytest-harvest +Summary: Store data created during your pytest tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes. +Provides: python-pytest-harvest +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pytest-harvest +# pytest-harvest + +[](https://pypi.python.org/pypi/pytest-harvest/) [](https://github.com/smarie/python-pytest-harvest/actions/workflows/base.yml) [](https://smarie.github.io/python-pytest-harvest/reports/junit/report.html) [](https://codecov.io/gh/smarie/python-pytest-harvest) + +[](https://smarie.github.io/python-pytest-harvest/) [](https://pypi.python.org/pypi/pytest-harvest/) [](https://pepy.tech/project/pytest-harvest) [](https://pepy.tech/project/pytest-harvest) [](https://github.com/smarie/python-pytest-harvest/stargazers) + +Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes. + +The documentation for users is available here: [https://smarie.github.io/python-pytest-harvest/](https://smarie.github.io/python-pytest-harvest/) + +A readme for developers is available here: [https://github.com/smarie/python-pytest-harvest](https://github.com/smarie/python-pytest-harvest) + + + + +%package help +Summary: Development documents and examples for pytest-harvest +Provides: python3-pytest-harvest-doc +%description help +# pytest-harvest + +[](https://pypi.python.org/pypi/pytest-harvest/) [](https://github.com/smarie/python-pytest-harvest/actions/workflows/base.yml) [](https://smarie.github.io/python-pytest-harvest/reports/junit/report.html) [](https://codecov.io/gh/smarie/python-pytest-harvest) + +[](https://smarie.github.io/python-pytest-harvest/) [](https://pypi.python.org/pypi/pytest-harvest/) [](https://pepy.tech/project/pytest-harvest) [](https://pepy.tech/project/pytest-harvest) [](https://github.com/smarie/python-pytest-harvest/stargazers) + +Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes. + +The documentation for users is available here: [https://smarie.github.io/python-pytest-harvest/](https://smarie.github.io/python-pytest-harvest/) + +A readme for developers is available here: [https://github.com/smarie/python-pytest-harvest](https://github.com/smarie/python-pytest-harvest) + + + + +%prep +%autosetup -n pytest-harvest-1.10.4 + +%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-harvest -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.10.4-1 +- Package Spec generated @@ -0,0 +1 @@ +43a05a324dbaaf9db6acfc2aef774dcf pytest-harvest-1.10.4.tar.gz |