summaryrefslogtreecommitdiff
path: root/python-big-bull.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 05:05:39 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 05:05:39 +0000
commit671585a682ecf8d1e34cbcf268ed1b2e99ff6818 (patch)
tree674442a332a0f5a8b30174e632642c0a0803b0c5 /python-big-bull.spec
parent1a4d043ee4c4a5ded05596641570ad17ed3b6d68 (diff)
automatic import of python-big-bull
Diffstat (limited to 'python-big-bull.spec')
-rw-r--r--python-big-bull.spec91
1 files changed, 91 insertions, 0 deletions
diff --git a/python-big-bull.spec b/python-big-bull.spec
new file mode 100644
index 0000000..ca35bf4
--- /dev/null
+++ b/python-big-bull.spec
@@ -0,0 +1,91 @@
+%global _empty_manifest_terminate_build 0
+Name: python-big-bull
+Version: 0.3.25
+Release: 1
+Summary: Web framework for writing asynchronous microservices
+License: MIT
+URL: https://pypi.org/project/big-bull/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/52/536cf4824b967c3b1ce00232815067e6879ed456e12a051e2dcdfc480123/big-bull-0.3.25.tar.gz
+BuildArch: noarch
+
+Requires: python3-opentracing
+Requires: python3-aiohttp
+Requires: python3-aiokafka
+Requires: python3-jaeger-client
+Requires: python3-opentracing-instrumentation
+Requires: python3-prometheus-client
+Requires: python3-toml
+
+%description
+# Big-bull
+
+Micro-framework wrapping aiohttp, aiokafka, jaeger and prometheus primarily
+aimed towards writing kubernetes services.
+
+
+%package -n python3-big-bull
+Summary: Web framework for writing asynchronous microservices
+Provides: python-big-bull
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-big-bull
+# Big-bull
+
+Micro-framework wrapping aiohttp, aiokafka, jaeger and prometheus primarily
+aimed towards writing kubernetes services.
+
+
+%package help
+Summary: Development documents and examples for big-bull
+Provides: python3-big-bull-doc
+%description help
+# Big-bull
+
+Micro-framework wrapping aiohttp, aiokafka, jaeger and prometheus primarily
+aimed towards writing kubernetes services.
+
+
+%prep
+%autosetup -n big-bull-0.3.25
+
+%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-big-bull -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.25-1
+- Package Spec generated