head 1.31; access; symbols pkgsrc-2023Q4:1.30.0.2 pkgsrc-2023Q4-base:1.30 pkgsrc-2023Q3:1.29.0.2 pkgsrc-2023Q3-base:1.29 pkgsrc-2023Q2:1.28.0.4 pkgsrc-2023Q2-base:1.28 pkgsrc-2023Q1:1.28.0.2 pkgsrc-2023Q1-base:1.28 pkgsrc-2022Q4:1.27.0.2 pkgsrc-2022Q4-base:1.27 pkgsrc-2022Q3:1.26.0.2 pkgsrc-2022Q3-base:1.26 pkgsrc-2022Q2:1.25.0.2 pkgsrc-2022Q2-base:1.25 pkgsrc-2022Q1:1.24.0.2 pkgsrc-2022Q1-base:1.24 pkgsrc-2021Q4:1.23.0.2 pkgsrc-2021Q4-base:1.23 pkgsrc-2021Q3:1.21.0.2 pkgsrc-2021Q3-base:1.21 pkgsrc-2021Q2:1.20.0.2 pkgsrc-2021Q2-base:1.20 pkgsrc-2021Q1:1.19.0.2 pkgsrc-2021Q1-base:1.19 pkgsrc-2020Q4:1.18.0.2 pkgsrc-2020Q4-base:1.18 pkgsrc-2020Q3:1.16.0.4 pkgsrc-2020Q3-base:1.16 pkgsrc-2020Q2:1.16.0.2 pkgsrc-2020Q2-base:1.16 pkgsrc-2020Q1:1.14.0.2 pkgsrc-2020Q1-base:1.14 pkgsrc-2019Q4:1.12.0.4 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.10.0.6 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.4 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.2 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.9.0.4 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.2 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.8.0.2 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.7.0.2 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.5.0.2 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.4.0.14 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.10 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.8 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.6 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.4 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.2 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.3.0.10 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.8 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.6 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.4 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.2 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.2.0.6 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2; locks; strict; comment @# @; 1.31 date 2024.01.10.20.29.14; author adam; state Exp; branches; next 1.30; commitid 3Tl8ONhu2b2HxWTE; 1.30 date 2023.10.28.19.57.03; author wiz; state Exp; branches; next 1.29; commitid jP8MYROLWZ3yJqKE; 1.29 date 2023.08.24.20.04.05; author wiz; state Exp; branches; next 1.28; commitid FyHlLS6rjAMaS4CE; 1.28 date 2023.03.01.10.58.59; author adam; state Exp; branches; next 1.27; commitid FwcWTSNRH7bPvpfE; 1.27 date 2022.11.17.09.19.20; author adam; state Exp; branches; next 1.26; commitid tO2kVGrQ7OCWi22E; 1.26 date 2022.08.10.11.45.02; author adam; state Exp; branches; next 1.25; commitid DIldUcc4A7WdikPD; 1.25 date 2022.05.10.13.05.54; author adam; state Exp; branches; next 1.24; commitid nnBtK8lXjznjHvDD; 1.24 date 2022.01.04.20.53.18; author wiz; state Exp; branches; next 1.23; commitid CYyhdK9qtoffkmnD; 1.23 date 2021.11.29.10.51.14; author adam; state Exp; branches; next 1.22; commitid gINygjIxYmTT9GiD; 1.22 date 2021.09.29.09.22.29; author adam; state Exp; branches; next 1.21; commitid sf9LHlL6utM5DPaD; 1.21 date 2021.09.10.15.06.24; author adam; state Exp; branches; next 1.20; commitid AK6AeS5YKdfV8q8D; 1.20 date 2021.05.25.05.20.12; author adam; state Exp; branches; next 1.19; commitid p3hSW4OZrZuZmuUC; 1.19 date 2021.02.08.06.18.39; author adam; state Exp; branches; next 1.18; commitid ONQoXtDq9MDf6SGC; 1.18 date 2020.11.22.11.16.54; author adam; state Exp; branches; next 1.17; commitid u3JZQrCh2jY1gSwC; 1.17 date 2020.10.01.06.59.14; author adam; state Exp; branches; next 1.16; commitid ilTn8pDe65qlvaqC; 1.16 date 2020.06.17.06.48.17; author adam; state Exp; branches; next 1.15; commitid f3VZkNhTKUzJQxcC; 1.15 date 2020.05.16.04.54.09; author adam; state Exp; branches; next 1.14; commitid 568InjbESKNhfq8C; 1.14 date 2020.02.01.20.59.25; author adam; state Exp; branches; next 1.13; commitid V4t3z2xjEkQOX0VB; 1.13 date 2020.01.14.22.42.18; author wiz; state Exp; branches; next 1.12; commitid iRpC0tYg1Cg56ISB; 1.12 date 2019.12.15.11.55.24; author adam; state Exp; branches; next 1.11; commitid AwFxmMAbx2KquNOB; 1.11 date 2019.11.15.14.22.30; author wiz; state Exp; branches; next 1.10; commitid AQMhv8HpXhBGgXKB; 1.10 date 2019.01.22.09.45.22; author adam; state Exp; branches; next 1.9; commitid S0uh9i7fzpNGhL8B; 1.9 date 2018.08.19.08.16.05; author adam; state Exp; branches; next 1.8; commitid yyukOMsoWn6ZNHOA; 1.8 date 2018.05.24.07.14.37; author adam; state Exp; branches; next 1.7; commitid QPdaeV7wwOEkgwDA; 1.7 date 2018.01.28.08.44.04; author adam; state Exp; branches; next 1.6; commitid S9pBquheCFWauCoA; 1.6 date 2018.01.18.12.38.16; author adam; state Exp; branches; next 1.5; commitid IzbhaslpRHMm6mnA; 1.5 date 2017.10.13.07.58.57; author adam; state Exp; branches; next 1.4; commitid 8UmGRMnQ1Ks7GRaA; 1.4 date 2016.06.08.17.43.28; author wiz; state Exp; branches; next 1.3; commitid z4yEulWexjFaJG9z; 1.3 date 2014.12.31.13.57.27; author wiz; state Exp; branches; next 1.2; commitid ybQxkgXABHSTlc4y; 1.2 date 2014.05.13.17.08.44; author joerg; state Exp; branches; next 1.1; commitid GvX7naEQL9iTRoAx; 1.1 date 2014.05.09.21.22.37; author imil; state Exp; branches; next ; commitid 61szB8Jy6G7OoUzx; desc @@ 1.31 log @py-more-itertools: updated to 10.2.0 10.2.0 ------ * New functions * :func:`iter_suppress` * :func:`filter_map` * :func:`classify_unique` * :func:`totient` (from the itertools docs) * :func:`reshape` (from the itertools docs) * Changes to existing functions * :func:`factor`, :func:`iter_index`, :func:`sieve`, and :func:`unique_justseen` were updated to match the itertools docs * :func:`first` was was optimized * :func:`takewhile_inclusive` was was refactored * :func:`combination_with_replacement_index` was was optimized * :func:`nth_permutation`, :func:`nth_combination_with_replacement`, :func:`combination_index`, and :func:`combination_with_replacement_index` were optimized * :func:`batched` now accepts a `strict` argument (adapted from itertools docs) * :func:`time_limited` was improved for Windows * Other changes * Several typing updates were made * Some documentation issues were fixed @ text @# $NetBSD: Makefile,v 1.30 2023/10/28 19:57:03 wiz Exp $ DISTNAME= more-itertools-10.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=m/more-itertools/} MAINTAINER= imil@@NetBSD.org HOMEPAGE= https://github.com/erikrose/more-itertools COMMENT= More routines for operating on iterables, beyond itertools LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.30 log @python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2023/08/24 20:04:05 wiz Exp $ d3 1 a3 1 DISTNAME= more-itertools-10.1.0 a4 1 PKGREVISION= 1 @ 1.29 log @py-more-itertools: update to 10.1.0. What's Changed Add more tests for zip_broadcast() by @@kalekundert in #739 Added takewhile_inclusive by @@OlegAlexander in #736 Speed up zip_broadcast() by pre-filling the scalar elements by @@kalekundert in #740 Added outer_product. by @@OlegAlexander in #743 Simplify zip_broadcast by @@pochmann in #742 Simplify _zip_equal by @@pochmann in #744 fix consume() type annotation by @@obaltian in #746 Version 10.1.0 by @@bbayles in #747 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2023/03/01 10:58:59 adam Exp $ d5 1 @ 1.28 log @py-more-itertools: updated to 9.1.0 Version 9.1.0 See PR 678 for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2022/11/17 09:19:20 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-9.1.0 @ 1.27 log @py-more-itertools: updated to 9.0.0 9.0.0 ------ * Potentially breaking changes * :func:`grouper` no longer accepts an integer as its first argument. Previously this raised a ``DeprecationWarning``. * :func:`collate` has been removed. Use the built-in :func:`heapq.merge` instead. * :func:`windowed` now yields nothing when its iterable is empty. * This library now advertises support for Python 3.7+. * New functions * :func:`constrained_batches` * :func:`batched` (from the Python itertools docs) * :func:`polynomial_from_roots` (from the Python itertools docs) * :func:`sieve` (from the Python itertools docs) * Other changes * Some documentation issues were fixed (thanks to nanouasyn) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2022/08/10 11:45:02 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-9.0.0 d13 1 a13 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core @ 1.26 log @py-more-itertools: updated to 8.14.0 8.14.0 ------ * New functions * :func:`longest_common_prefix` (thanks to nanouasyn) * :func:`iequals` (thanks to nanouasyn) * Changes to existing functions * `concurrent.futures.ThreadPoolExecutor` is now imported lazily in :func:`callback_iter`. * :func:`tail` is now optimized for iterables with a fixed length. * Other changes * Some documentation issues were fixed (thanks to pochmann and timgates42) * This library is now marked for Python 3.10 compatibility in PyPI (thanks to chayim) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2022/05/10 13:05:54 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.14.0 @ 1.25 log @py-more-itertools: updated to 8.13.0 8.13.0 ------ * New functions * The :func:`subslices` recipe from the `itertools` docs was added (thanks to rhettinger) * Changes to existing functions * The :func:`ichunked` function is now more efficient (thanks to hjtran0 and seanmacavaney) * The :func:`difference` function is now more efficient (thanks to Masynchin) * The :func:`grouper` recipe now has more features, mirroring the one in the `itertools` docs (thanks to rhettinger) * Other changes * Some documentation issues were fixed (thanks to medvied and Freed-Wu) * The `more_itertools` package is now built with `flit` (thanks to mgorny) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2022/01/04 20:53:18 wiz Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.13.0 @ 1.24 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2021/11/29 10:51:14 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.12.0 a4 1 PKGREVISION= 1 d13 2 d19 1 a19 1 .include "../../lang/python/egg.mk" @ 1.23 log @py-more-itertools: updated to 8.12.0 8.12.0 ------ * Bug fixes * Some documentation issues were fixed * Python 3.5 support was temporarily restored 8.11.0 ------ * New functions * The :func:`before_and_after`, :func:`sliding_window`, and :func:`triplewise` recipes from the Python 3.10 docs were added * :func:`duplicates_everseen` and :func:`duplicates_justseen` * :func:`minmax` * :func:`strictly_n` * :func:`unique_in_window` * Changes to existing functions * :func:`groupby_transform` had its type stub improved * :func:`is_sorted` now accepts a ``strict`` parameter * :func:`zip_broadcast` was updated to fix a bug @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2021/09/29 09:22:29 adam Exp $ d5 1 @ 1.22 log @py-more-itertools: updated to 8.10.0 8.10.0 ------ * Changes to existing functions * The type stub for :func:`iter_except` was improved (thanks to MarcinKonowalczyk) * Other changes: * Type stubs now ship with the source release (thanks to saaketp) * The Sphinx docs were improved (thanks to MarcinKonowalczyk) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/09/10 15:06:24 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.10.0 @ 1.21 log @py-more-itertools: updated to 8.9.0 8.9.0 ----- * New functions * :func:`interleave_evenly` (thanks to mbugert) * :func:`repeat_each` (thanks to FinalSh4re) * :func:`chunked_even` (thanks to valtron) * :func:`map_if` (thanks to sassbalint) * :func:`zip_broadcast` (thanks to kalekundert) * Changes to existing functions * The type stub for :func:`chunked` was improved (thanks to PhilMacKay) * The type stubs for :func:`zip_equal` and `zip_offset` were improved (thanks to maffoo) * Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2021/05/25 05:20:12 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.9.0 @ 1.20 log @py-more-itertools: updated to 8.8.0 8.8.0 ----- * New functions * :func:`countable` * Changes to existing functions * :func:`split_before` was updated to handle empy collections * :func:`unique_everseen` got a performance boost * The type hint for :func:`value_chain` was corrected @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2021/02/08 06:18:39 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.8.0 @ 1.19 log @py-more-itertools: 8.7.0 8.7.0 ----- * New functions * :func:`convolve` (from the Python itertools docs) * :func:`product_index`, :func:`combination_index`, and :func:`permutation_index` (thanks to N8Brooks) * :func:`value_chain` (thanks to jenstroeger) * Changes to existing functions * :func:`distinct_combinations` now uses a non-recursive algorithm (thanks to knutdrand) * :func:`pad_none` is now the preferred name for :func:`padnone`, though the latter remains available. * :func:`pairwise` will now use the Python standard library implementation on Python 3.10+ * :func:`sort_together` now accepts a ``key`` argument (thanks to brianmaissy) * :func:`seekable` now has a ``peek`` method, and can indicate whether the iterator it's wrapping is exhausted (thanks to gsakkis) * :func:`time_limited` can now indicate whether its iterator has expired (thanks to roysmith) * The implementation of :func:`unique_everseen` was improved (thanks to plammens) * Other changes: * Various documentation updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2020/11/22 11:16:54 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.7.0 @ 1.18 log @py-more-itertools: updated to 8.6.0 8.6.0 ----- * New itertools * :func:`all_unique` * :func:`nth_product` and :func:`nth_permutation` * Changes to existing itertools * :func:`chunked` and :func:`sliced` now accept a ``strict`` parameter * Other changes * Python 3.5 has reached its end of life and is no longer supported. * Python 3.9 is officially supported. * Various documentation fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2020/10/01 06:59:14 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.6.0 @ 1.17 log @py-more-itertools: updated to 8.5.0 8.5.0 * New itertools * :func:`windowed_complete` (thanks to MarcinKonowalczyk) * Changes to existing itertools: * The :func:`is_sorted` implementation was improved (thanks to cool-RR) * The :func:`groupby_transform` now accepts a ``reducefunc`` parameter. * The :func:`last` implementation was improved (thanks to brianmaissy) * Other changes * Various documentation fixes (thanks to craigrosie, samuelstjean, PiCT0) * The tests for :func:`distinct_combinations` were improved (thanks to Minabsapi) * Automated tests now run on GitHub Actions. All commits now check: * That unit tests pass * That the examples in docstrings work * That test coverage remains high (using `coverage`) * For linting errors (using `flake8`) * For consistent style (using `black`) * That the type stubs work (using `mypy`) * That the docs build correctly (using `sphinx`) * That packages build correctly (using `twine`) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2020/06/17 06:48:17 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.5.0 @ 1.16 log @py-more-itertools: updated to 8.4.0 8.4.0 * New itertools * :func:`mark_ends` * :func:`is_sorted` * Changes to existing itertools: * :func:`islice_extended` can now be used with real slices * The implementations for :func:`filter_except` and :func:`map_except` were improved * Other changes * Automated tests now enforce code style (using `black `__) * The various signatures of :func:`islice_extended` and :func:`numeric_range` now appear in the docs * The test configuration for mypy was updated @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2020/05/16 04:54:09 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.4.0 @ 1.15 log @py-more-itertools: updated to 8.3.0 8.3.0 * New itertools * :func:`zip_equal` * Changes to existing itertools: * :func:`split_at`, :func:`split_before`, :func:`split_after`, and :func:`split_when` all got a ``maxsplit`` paramter * :func:`split_at` now accepts a ``keep_separator`` parameter * :func:`distinct_permutations` can now generate ``r``-length permutations * The :func:`windowed` implementation was improved * The :func:`spy` implementation was improved * Other changes * Type stubs are now tested with ``stubtest`` * Tests now run with ``python -m unittest`` instead of ``python setup.py test`` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2020/02/01 20:59:25 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.3.0 @ 1.14 log @py-more-itertools: updated to 8.2.0 8.2.0 * Bug fixes * The .pyi files for typing were updated. * Changes to existing itertools: * :func:`numeric_range` now behaves more like the built-in :func:`range`. * :func:`bucket` now allows for enumerating keys. * :func:`sliced` now should now work for numpy arrays. * :func:`seekable` now has a ``maxlen`` parameter. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/01/14 22:42:18 wiz Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.2.0 @ 1.13 log @py-more-itertools: update to 8.1.0. 8.1.0 ----- * Bug fixes * :func:`partition` works with ``pred=None`` again. (thanks to MSeifert04) * New itertools * :func:`sample` (thanks to tommyod) * :func:`nth_or_last` (thanks to d-ryzhikov) * Changes to existing itertools: * The implementation for :func:`divide` was improved. (thanks to jferard) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2019/12/15 11:55:24 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.1.0 d13 2 a16 2 USE_LANGUAGES= # none @ 1.12 log @py-more-itertools: updated to 8.0.2 8.0.2: Bug fixes * The type stub files are now part of the wheel distribution 8.0.1: Bug fixes * The type stub files now work for functions imported from the root package 8.0.0: New itertools and other additions * This library now ships type hints for use with mypy. * :func:`split_when` * :func:`repeat_last` Changes to existing itertools: * The implementation for :func:`set_partitions` was improved. * :func:`partition` was optimized for expensive predicates. * :func:`unique_everseen` and :func:`groupby_transform` were re-factored. * The implementation for :func:`difference` was improved. Other changes * Python 3.4 has reached its end of life and is no longer supported. * Python 3.8 is officially supported. * The collate function has been deprecated. It raises a DeprecationWarning if used, and will be removed in a future release. * :func:`one` and :func:`only` now provide more informative error messages. * Unit tests were moved outside of the main package * Various documentation fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2019/11/15 14:22:30 wiz Exp $ d3 1 a3 1 DISTNAME= more-itertools-8.0.2 @ 1.11 log @py-more-itertools: update to 7.2.0. 7.2.0 ----- * New itertools * :func:`distinct_combinations` * :func:`set_partitions` (thanks to kbarrett) * :func:`filter_except` * :func:`map_except` 7.1.0 ----- * New itertools * :func:`ichunked` (thanks davebelais and youtux) * :func:`only` (thanks jaraco) * Changes to existing itertools: * :func:`numeric_range` now supports ranges specified by ``datetime.datetime`` and ``datetime.timedelta`` objects (thanks to MSeifert04 for tests). * :func:`difference` now supports an *initial* keyword argument. * Other changes * Various documentation fixes (thanks raimon49, pylang) 7.0.0 ----- * New itertools: * :func:`time_limited` * :func:`partitions` (thanks to rominf and Saluev) * :func:`substrings_indexes` (thanks to rominf) * Changes to existing itertools: * :func:`collapse` now treats ``bytes`` objects the same as ``str`` objects. (thanks to Sweenpet) The major version update is due to the change in the default behavior of :func:`collapse`. It now treats ``bytes`` objects the same as ``str`` objects. This aligns its behavior with :func:`always_iterable`. .. code-block:: python >>> from more_itertools import collapse >>> iterable = [[1, 2], b'345', [6]] >>> print(list(collapse(iterable))) [1, 2, b'345', 6] 6.0.0 ----- * Major changes: * Python 2.7 is no longer supported. The 5.0.0 release will be the last version targeting Python 2.7. * All future releases will target the active versions of Python 3. As of 2019, those are Python 3.4 and above. * The ``six`` library is no longer a dependency. * The :func:`accumulate` function is no longer part of this library. You may import a better version from the standard ``itertools`` module. * Changes to existing itertools: * The order of the parameters in :func:`grouper` have changed to match the latest recipe in the itertools documentation. Use of the old order will be supported in this release, but emit a ``DeprecationWarning``. The legacy behavior will be dropped in a future release. (thanks to jaraco) * :func:`distinct_permutations` was improved (thanks to jferard - see also `permutations with unique values `_ at StackOverflow.) * An unused parameter was removed from :func:`substrings`. (thanks to pylang) * Other changes: * The docs for :func:`unique_everseen` were improved. (thanks to jferard and MSeifert04) * Several Python 2-isms were removed. (thanks to jaraco, MSeifert04, and hugovk) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/01/22 09:45:22 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-7.2.0 @ 1.10 log @py-more-itertools: updated 5.0.0 5.0.0 * New itertools: * :func:split_into * :func:unzip * :func:substrings * Changes to existing itertools: * :func:ilen was optimized a bit * :func:first_true now returns None by default. This is the reason for the major version bump - see below. * Other changes: * Some code for old Python versions was removed * Some documentation mistakes were corrected * Tests now run properly on 32-bit versions of Python * Newer versions of CPython and PyPy are now tested against @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2018/08/19 08:16:05 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-5.0.0 d13 1 a13 1 DEPENDS+= ${PYPKGPREFIX}-six>=1.0.0:../../lang/py-six @ 1.9 log @py-more-itertools: updated to 4.3.0 4.3.0: New itertools: - last() - replace() - rlocate() Improvements to existing itertools: - locate() can now search for multiple items Other changes: - The docs now include a nice table of tools @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2018/05/24 07:14:37 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-4.3.0 @ 1.8 log @py-more-itertools: updated to 4.2.0 4.2.0: * New itertools: * :func:map_reduce * :func:prepend * Improvements to existing itertools: * :func:bucket now complies with PEP 479 * Other changes: * Python 3.7 is now supported * Python 3.3 is no longer supported * The test suite no longer requires third-party modules to run * The API docs now include links to source code @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/01/28 08:44:04 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-4.2.0 @ 1.7 log @py-more-itertools: updated to 4.1.0 4.1.0 New itertools: - split_at - circular_shifts - make_decorator - see the blog post Yo, I heard you like decorators for a tour - always_reversible - nth_combination (from the Python 3.7 docs) Improvements to existing itertools: - seekable now has an elements method to return cached items. - The performance tradeoffs between roundrobin and interleave_longest are now documented @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2018/01/18 12:38:16 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-4.1.0 a13 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose @ 1.6 log @py-more-itertools: updated to 4.0.1 4.0.1 No code changes - this release fixes how the docs display on PyPI. 4.0.0 New itertools: * consecutive_groups (Based on the example in the Python 2.4 docs) * seekable (If you're looking for how to "reset" an iterator, you're in luck!) * exactly_n * run_length.encode and :func:run_length.decode * difference Improvements to existing itertools: The number of items between filler elements in * intersperse can now be specified * distinct_permutations and :func:peekable got some minor adjustments * always_iterable now returns an iterator object. It also now allows different types to be considered iterable * bucket can now limit the keys it stores in memory * one now allows for custom exceptions Other changes: A few typos were fixed All tests can now be run with python setup.py test @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/10/13 07:58:57 adam Exp $ d3 1 a3 1 DISTNAME= more-itertools-4.0.1 @ 1.5 log @py-more-itertools: update to 3.2.0 3.2.0 * New itertools: * :func:`lstrip`, :func:`rstrip`, and :func:`strip` * :func:`islice_extended` * Improvements to existing itertools: * Some bugs with slicing :func:`peekable`-wrapped iterables were fixed @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/06/08 17:43:28 wiz Exp $ d3 1 a3 1 DISTNAME= more-itertools-3.2.0 @ 1.4 log @Switch to MASTER_SITES_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/12/31 13:57:27 wiz Exp $ d3 1 a3 1 DISTNAME= more-itertools-2.2 d5 1 a5 1 CATEGORIES= devel d13 3 @ 1.3 log @Improve EGG_NAME default to work for packages with '-' in their name. Remove now unnecessary overrides in various packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/05/13 17:08:44 joerg Exp $ d6 1 a6 1 MASTER_SITES= https://pypi.python.org/packages/source/m/more-itertools/ @ 1.2 log @Correctly build as Python Egg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/05/09 21:22:37 imil Exp $ a4 1 EGG_NAME= ${DISTNAME:C,-,_,} @ 1.1 log @Initial import of py-more-itertools, version 2.2, into the NetBSD Packages Collection. A collection of several routines not found in itertools, meant to operate on itertables. @ text @d1 1 a1 1 # $NetBSD$ d5 1 d16 1 a16 1 .include "../../lang/python/distutils.mk" @