From: Jan Palus Date: Tue, 28 Feb 2023 11:56:16 +0000 (+0100) Subject: new X-Git-Tag: auto/th/python3-aiostream-0.4.5-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b2a6651c735ed1a8fc92447827d365ad78a263f1;p=packages%2Fpython3-aiostream.git new --- b2a6651c735ed1a8fc92447827d365ad78a263f1 diff --git a/python3-aiostream.spec b/python3-aiostream.spec new file mode 100644 index 0000000..7911afb --- /dev/null +++ b/python3-aiostream.spec @@ -0,0 +1,48 @@ +Summary: Generator-based operators for asynchronous iteration +Name: python3-aiostream +Version: 0.4.5 +Release: 1 +License: GPL v3+ +Group: Libraries/Python +Source0: https://files.pythonhosted.org/packages/source/a/aiostream/aiostream-%{version}.tar.gz +# Source0-md5: a61ca6b2586df89d9596a2342ad8f205 +URL: https://github.com/vxgmichel/aiostream +BuildRequires: python3-setuptools +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.714 +Requires: python3-modules >= 1:3.6 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +aiostream provides a collection of stream operators that can be +combined to create asynchronous pipelines of operations. + +It can be seen as an asynchronous version of itertools, although some +aspects are slightly different. Essentially, all the provided +operators return a unified interface called a stream. + +%prep +%setup -q -n aiostream-%{version} + +%build +%py3_build + +%install +rm -rf $RPM_BUILD_ROOT + +%py3_install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.rst +%dir %{py3_sitescriptdir}/aiostream +%{py3_sitescriptdir}/aiostream/*.py +%{py3_sitescriptdir}/aiostream/__pycache__ +%dir %{py3_sitescriptdir}/aiostream/stream +%{py3_sitescriptdir}/aiostream/stream/*.py +%{py3_sitescriptdir}/aiostream/stream/__pycache__ +%{py3_sitescriptdir}/aiostream-%{version}-py*.egg-info