diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:33:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:33:42 +0000 |
commit | 7d9861d7e6df40e80debab252d7bbb369f5eef34 (patch) | |
tree | dc4f5a73c37153ab86ab75b1248b7ad4b4988d01 | |
parent | 42e2d5d168e75ab634fbfed7fddf4d7964c9789a (diff) |
automatic import of python-rrtv-httprunneropeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-rrtv-httprunner.spec | 136 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 138 insertions, 0 deletions
@@ -0,0 +1 @@ +/rrtv-httprunner-2.8.13.tar.gz diff --git a/python-rrtv-httprunner.spec b/python-rrtv-httprunner.spec new file mode 100644 index 0000000..c6a70a6 --- /dev/null +++ b/python-rrtv-httprunner.spec @@ -0,0 +1,136 @@ +%global _empty_manifest_terminate_build 0 +Name: python-rrtv-httprunner +Version: 2.8.13 +Release: 1 +Summary: One-stop solution for HTTP(S) testing. +License: Apache-2.0 +URL: https://pypi.org/project/rrtv-httprunner/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/04/5aa60e233172cccf5db2678d0ba6d5c8e9eb4ae61ea20945030055ce7e08/rrtv-httprunner-2.8.13.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-pyyaml +Requires: python3-jinja2 +Requires: python3-pydantic +Requires: python3-loguru +Requires: python3-jmespath +Requires: python3-black +Requires: python3-pytest +Requires: python3-pytest-html +Requires: python3-pytest-xdist +Requires: python3-sentry-sdk +Requires: python3-PyMySQL +Requires: python3-redis +Requires: python3-jsonpath +Requires: python3-pymongo +Requires: python3-deepdiff +Requires: python3-json5 +Requires: python3-demjson3 +Requires: python3-curlify +Requires: python3-pandas +Requires: python3-openpyxl +Requires: python3-xlrd +Requires: python3-elasticsearch5 +Requires: python3-jsonschema +Requires: python3-allure-pytest +Requires: python3-requests-toolbelt +Requires: python3-filetype +Requires: python3-locust + +%description +# HttpRunner + +*Rrtv-HttpRunner* httprunner-plus版本,对httprunner若干功能进行了优化与增强 ✨ 🚀 ✨ + +## 新增功能 + +- 请求:1.支持form-date传参. 2.支持xml传参 +- 断言:1.新增字符串断言. 2.新增if逻辑断言 3.优化断言逻辑 +- 中间件支持: mysql,redis,mongodb,elasticsearch,shell等 +- 其他:1.支持执行前后置操作. 2.支持自定义加载动态函数路径 + + + + +%package -n python3-rrtv-httprunner +Summary: One-stop solution for HTTP(S) testing. +Provides: python-rrtv-httprunner +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-rrtv-httprunner +# HttpRunner + +*Rrtv-HttpRunner* httprunner-plus版本,对httprunner若干功能进行了优化与增强 ✨ 🚀 ✨ + +## 新增功能 + +- 请求:1.支持form-date传参. 2.支持xml传参 +- 断言:1.新增字符串断言. 2.新增if逻辑断言 3.优化断言逻辑 +- 中间件支持: mysql,redis,mongodb,elasticsearch,shell等 +- 其他:1.支持执行前后置操作. 2.支持自定义加载动态函数路径 + + + + +%package help +Summary: Development documents and examples for rrtv-httprunner +Provides: python3-rrtv-httprunner-doc +%description help +# HttpRunner + +*Rrtv-HttpRunner* httprunner-plus版本,对httprunner若干功能进行了优化与增强 ✨ 🚀 ✨ + +## 新增功能 + +- 请求:1.支持form-date传参. 2.支持xml传参 +- 断言:1.新增字符串断言. 2.新增if逻辑断言 3.优化断言逻辑 +- 中间件支持: mysql,redis,mongodb,elasticsearch,shell等 +- 其他:1.支持执行前后置操作. 2.支持自定义加载动态函数路径 + + + + +%prep +%autosetup -n rrtv-httprunner-2.8.13 + +%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-rrtv-httprunner -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2.8.13-1 +- Package Spec generated @@ -0,0 +1 @@ +a9b67df6a0933c7fc77c4ee2e5ae561b rrtv-httprunner-2.8.13.tar.gz |