diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-stream-python.spec | 95 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 97 insertions, 0 deletions
@@ -0,0 +1 @@ +/stream-python-5.2.1.tar.gz diff --git a/python-stream-python.spec b/python-stream-python.spec new file mode 100644 index 0000000..a3db0c7 --- /dev/null +++ b/python-stream-python.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-stream-python +Version: 5.2.1 +Release: 1 +Summary: Client for getstream.io. Build scalable newsfeeds & activity streams in a few hours instead of weeks. +License: BSD-3-Clause +URL: http://github.com/GetStream/stream-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/26/3c/8215229f8ffb68becd0fc0af2fea7d196dad7f2e12c5ef3a84e9a64cb04b/stream-python-5.2.1.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-pyjwt +Requires: python3-pytz +Requires: python3-aiohttp +Requires: python3-black +Requires: python3-flake8 +Requires: python3-pytest-cov +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-dateutil +Requires: python3-pytest-asyncio + +%description +We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our [license file](./LICENSE) for more details. +## 🧑💻 We are hiring! +We've recently closed a [$38 million Series B funding round](https://techcrunch.com/2021/03/04/stream-raises-38m-as-its-chat-and-activity-feed-apis-power-communications-for-1b-users/) and we keep actively growing. +Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world. +Check out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs). + +%package -n python3-stream-python +Summary: Client for getstream.io. Build scalable newsfeeds & activity streams in a few hours instead of weeks. +Provides: python-stream-python +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-stream-python +We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our [license file](./LICENSE) for more details. +## 🧑💻 We are hiring! +We've recently closed a [$38 million Series B funding round](https://techcrunch.com/2021/03/04/stream-raises-38m-as-its-chat-and-activity-feed-apis-power-communications-for-1b-users/) and we keep actively growing. +Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world. +Check out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs). + +%package help +Summary: Development documents and examples for stream-python +Provides: python3-stream-python-doc +%description help +We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our [license file](./LICENSE) for more details. +## 🧑💻 We are hiring! +We've recently closed a [$38 million Series B funding round](https://techcrunch.com/2021/03/04/stream-raises-38m-as-its-chat-and-activity-feed-apis-power-communications-for-1b-users/) and we keep actively growing. +Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world. +Check out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs). + +%prep +%autosetup -n stream-python-5.2.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-stream-python -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 5.2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +19721addfaad369f3b1068e755729438 stream-python-5.2.1.tar.gz |
