diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 03:57:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 03:57:48 +0000 |
commit | 02eb50399e130f71b30c4e11328b8a476f5921e0 (patch) | |
tree | 238dd69b18e6b850d094f83e59d08b2354b1d747 | |
parent | 777ead8168e4ac5e644e5713d56df66d58264acc (diff) |
automatic import of python-aiosfstream
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aiosfstream.spec | 114 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 116 insertions, 0 deletions
@@ -0,0 +1 @@ +/aiosfstream-0.5.0.tar.gz diff --git a/python-aiosfstream.spec b/python-aiosfstream.spec new file mode 100644 index 0000000..433bb8f --- /dev/null +++ b/python-aiosfstream.spec @@ -0,0 +1,114 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aiosfstream +Version: 0.5.0 +Release: 1 +Summary: Salesforce Streaming API client for asyncio +License: MIT +URL: https://github.com/robertmrk/aiosfstream +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/df/b2/969d2e5b4ba7ed2d190ffa019d74e775fecf40b9402e8974e6cb471fe58b/aiosfstream-0.5.0.tar.gz +BuildArch: noarch + +Requires: python3-aiocometd +Requires: python3-aiohttp +Requires: python3-asynctest +Requires: python3-coverage +Requires: python3-flake8 +Requires: python3-pylint +Requires: python3-mypy +Requires: python3-Sphinx +Requires: python3-sphinxcontrib-asyncio +Requires: python3-sphinx-autodoc-typehints +Requires: python3-Sphinx +Requires: python3-sphinxcontrib-asyncio +Requires: python3-sphinx-autodoc-typehints +Requires: python3-asynctest +Requires: python3-coverage +Requires: python3-flake8 +Requires: python3-pylint +Requires: python3-mypy + +%description +aiosfstream is a `Salesforce Streaming API <api_>`_ client for asyncio_. It can +be used to receive push notifications about changes on Salesforce objects or +notifications of general events sent through the `Streaming API <api_>`_. +For detailed guidance on how to work with `PushTopics <PushTopic_>`_ or how +to create `Generic Streaming Channels <GenericStreaming_>`_ please consult the +`Streaming API documentation <api_>`_. +For working with `Platform Events <PlatformEvents_>`_ or +`Change Data Capture events <ChangeDataCapture_>`_ check out the linked +documentation. + +%package -n python3-aiosfstream +Summary: Salesforce Streaming API client for asyncio +Provides: python-aiosfstream +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aiosfstream +aiosfstream is a `Salesforce Streaming API <api_>`_ client for asyncio_. It can +be used to receive push notifications about changes on Salesforce objects or +notifications of general events sent through the `Streaming API <api_>`_. +For detailed guidance on how to work with `PushTopics <PushTopic_>`_ or how +to create `Generic Streaming Channels <GenericStreaming_>`_ please consult the +`Streaming API documentation <api_>`_. +For working with `Platform Events <PlatformEvents_>`_ or +`Change Data Capture events <ChangeDataCapture_>`_ check out the linked +documentation. + +%package help +Summary: Development documents and examples for aiosfstream +Provides: python3-aiosfstream-doc +%description help +aiosfstream is a `Salesforce Streaming API <api_>`_ client for asyncio_. It can +be used to receive push notifications about changes on Salesforce objects or +notifications of general events sent through the `Streaming API <api_>`_. +For detailed guidance on how to work with `PushTopics <PushTopic_>`_ or how +to create `Generic Streaming Channels <GenericStreaming_>`_ please consult the +`Streaming API documentation <api_>`_. +For working with `Platform Events <PlatformEvents_>`_ or +`Change Data Capture events <ChangeDataCapture_>`_ check out the linked +documentation. + +%prep +%autosetup -n aiosfstream-0.5.0 + +%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-aiosfstream -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1 +- Package Spec generated @@ -0,0 +1 @@ +371ed9c88fe5dda68bb0d7f314d68015 aiosfstream-0.5.0.tar.gz |