From de86543ce93f6d47da7d26df908ea683c2bd3aba Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 09:41:21 +0000 Subject: automatic import of python-async-jaeger --- python-async-jaeger.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 python-async-jaeger.spec (limited to 'python-async-jaeger.spec') diff --git a/python-async-jaeger.spec b/python-async-jaeger.spec new file mode 100644 index 0000000..0716bf8 --- /dev/null +++ b/python-async-jaeger.spec @@ -0,0 +1,96 @@ +%global _empty_manifest_terminate_build 0 +Name: python-async-jaeger +Version: 0.0.13 +Release: 1 +Summary: Jaeger Python OpenTracing Tracer implementation for AsyncIO +License: Apache License 2.0 +URL: https://github.com/alvassin/async-jaeger +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9d/67/26ed8cab8d5b605d85b14afc7686033673397363c8dde1cb5a38b99b3adf/async-jaeger-0.0.13.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-opentracing +Requires: python3-thriftpy2 +Requires: python3-aiomisc +Requires: python3-mock +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-coverage +Requires: python3-pytest-timeout +Requires: python3-pytest-benchmark[histogram] +Requires: python3-pytest-localserver +Requires: python3-flake8 +Requires: python3-flake8-quotes +Requires: python3-flake8-typing-imports +Requires: python3-codecov +Requires: python3-opentracing-instrumentation +Requires: python3-types-setuptools +Requires: python3-mypy + +%description +Client-side library that can be used for distributed trace collection from +Python apps via TCP (HTTP) to Jaeger. +See the `OpenTracing Python API`_ for additional detail. + +%package -n python3-async-jaeger +Summary: Jaeger Python OpenTracing Tracer implementation for AsyncIO +Provides: python-async-jaeger +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-async-jaeger +Client-side library that can be used for distributed trace collection from +Python apps via TCP (HTTP) to Jaeger. +See the `OpenTracing Python API`_ for additional detail. + +%package help +Summary: Development documents and examples for async-jaeger +Provides: python3-async-jaeger-doc +%description help +Client-side library that can be used for distributed trace collection from +Python apps via TCP (HTTP) to Jaeger. +See the `OpenTracing Python API`_ for additional detail. + +%prep +%autosetup -n async-jaeger-0.0.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-async-jaeger -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 0.0.13-1 +- Package Spec generated -- cgit v1.2.3