Bump to python3-more-itertools 5.0.0 accepted/tizen_9.0_unified accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen tizen_9.0 accepted/tizen/9.0/unified/20241030.232543 accepted/tizen/unified/20240627.103602 accepted/tizen/unified/dev/20240701.072636 accepted/tizen/unified/toolchain/20240812.130806 accepted/tizen/unified/x/20240627.090216 accepted/tizen/unified/x/asan/20240813.225110 tizen_9.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:48:16 +0000 (14:48 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:48:16 +0000 (14:48 +0900)
packaging/python3-more-itertools.manifest [new file with mode: 0644]
packaging/python3-more-itertools.spec [new file with mode: 0644]

diff --git a/packaging/python3-more-itertools.manifest b/packaging/python3-more-itertools.manifest
new file mode 100644 (file)
index 0000000..86dbb26
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_" />
+    </request>
+</manifest>
diff --git a/packaging/python3-more-itertools.spec b/packaging/python3-more-itertools.spec
new file mode 100644 (file)
index 0000000..d14c1bd
--- /dev/null
@@ -0,0 +1,47 @@
+Name:       python3-more-itertools
+Summary:    More routines for operating on iterables, beyond itertools
+Version:    5.0.0
+Release:    0
+License:    MIT
+Group:      Development/Languages/Python
+Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+I love itertools; it's one of the most beautiful, composable standard libs.
+Whenever I have an iteration problem, there's almost always an itertools
+routine that fits it perfectly. Sometimes, however, neither itertools nor the
+recipes included in its docs do quite what I need.
+
+Here I've collected several routines I've reached for but not found. Since
+they are deceptively tricky to get right, I've wrapped them up into a library.
+We've also included implementations of the recipes from the itertools
+documentation. Enjoy! Any additions are welcome; just file a pull request.
+
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%clean
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info/*
+%{python3_sitelib}/more_itertools/*.py
+%{python3_sitelib}/more_itertools/__pycache__/*.cpython-*.pyc
+%{python3_sitelib}/more_itertools/tests/*.py
+%{python3_sitelib}/more_itertools/tests/__pycache__/*.cpython-*.pyc
+