diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 07:01:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 07:01:55 +0000 |
commit | 56d3ac6ee858a43ee40392ab760fa4fa591f679a (patch) | |
tree | 7d6b4d1cad79117487fa2ecadf72f2de3848e29c | |
parent | cc9f461efd484e4820f628fd2ad2af88fcc25681 (diff) |
automatic import of python-qpid-bow
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-qpid-bow.spec | 126 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 128 insertions, 0 deletions
@@ -0,0 +1 @@ +/qpid-bow-1.1.1.tar.gz diff --git a/python-qpid-bow.spec b/python-qpid-bow.spec new file mode 100644 index 0000000..33dade3 --- /dev/null +++ b/python-qpid-bow.spec @@ -0,0 +1,126 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qpid-bow +Version: 1.1.1 +Release: 1 +Summary: Set of tools to work with Qpid and a library for high-level Qpid interaction. +License: MIT +URL: https://github.com/Bynder/qpid-bow/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/da/d4/1732bf3d018b24c69352f0d90d099ece8be687e2350664e0a7ce5e699497/qpid-bow-1.1.1.tar.gz +BuildArch: noarch + +Requires: python3-qpid-proton +Requires: python3-PyYAML +Requires: python3-qpid-proton +Requires: python3-PyYAML +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinxcontrib-asyncio +Requires: python3-qpid-proton +Requires: python3-PyYAML +Requires: python3-astroid +Requires: python3-bandit +Requires: python3-mypy +Requires: python3-pylint +Requires: python3-pytest +Requires: python3-pytest-cov + +%description +Qpid Bow is a higher level client framework for Python 3.6+ to communicate with +AMQP/Qpid servers combined with a set of CLI tools to manage a Qpid server. +With its CLI tools Qpid Bow provides the missing tooling you always wanted +to administrate or debug your Qpid-based AMQP stack. Providing you with the +power to manage queues and exchanges, setup and save routing using YAML files +and various other tools. +As a framework Qpid Bow can provide you with a higher level interface on top of +the low level Qpid Proton library to integrate with AMQP/Qpid queues, +exchanges and Remote Procedure Call (RPC) functionality: +* Simple, callback based receiver, supporting listening for multiple queues. +* RPC calls with automatic temporary queues and callbacks. +* Queue based sender. +* Included Qpid management code for queue/exchange creation. +* Support to run under Python's asyncio event loop with *async def* callbacks. + +%package -n python3-qpid-bow +Summary: Set of tools to work with Qpid and a library for high-level Qpid interaction. +Provides: python-qpid-bow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qpid-bow +Qpid Bow is a higher level client framework for Python 3.6+ to communicate with +AMQP/Qpid servers combined with a set of CLI tools to manage a Qpid server. +With its CLI tools Qpid Bow provides the missing tooling you always wanted +to administrate or debug your Qpid-based AMQP stack. Providing you with the +power to manage queues and exchanges, setup and save routing using YAML files +and various other tools. +As a framework Qpid Bow can provide you with a higher level interface on top of +the low level Qpid Proton library to integrate with AMQP/Qpid queues, +exchanges and Remote Procedure Call (RPC) functionality: +* Simple, callback based receiver, supporting listening for multiple queues. +* RPC calls with automatic temporary queues and callbacks. +* Queue based sender. +* Included Qpid management code for queue/exchange creation. +* Support to run under Python's asyncio event loop with *async def* callbacks. + +%package help +Summary: Development documents and examples for qpid-bow +Provides: python3-qpid-bow-doc +%description help +Qpid Bow is a higher level client framework for Python 3.6+ to communicate with +AMQP/Qpid servers combined with a set of CLI tools to manage a Qpid server. +With its CLI tools Qpid Bow provides the missing tooling you always wanted +to administrate or debug your Qpid-based AMQP stack. Providing you with the +power to manage queues and exchanges, setup and save routing using YAML files +and various other tools. +As a framework Qpid Bow can provide you with a higher level interface on top of +the low level Qpid Proton library to integrate with AMQP/Qpid queues, +exchanges and Remote Procedure Call (RPC) functionality: +* Simple, callback based receiver, supporting listening for multiple queues. +* RPC calls with automatic temporary queues and callbacks. +* Queue based sender. +* Included Qpid management code for queue/exchange creation. +* Support to run under Python's asyncio event loop with *async def* callbacks. + +%prep +%autosetup -n qpid-bow-1.1.1 + +%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-qpid-bow -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.1-1 +- Package Spec generated @@ -0,0 +1 @@ +3909dfe206ec7ebaa765b7c557f42447 qpid-bow-1.1.1.tar.gz |