pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-more-itertools
Module Name: pkgsrc
Committed By: wiz
Date: Fri Nov 15 14:22:30 UTC 2019
Modified Files:
pkgsrc/devel/py-more-itertools: DESCR Makefile PLIST distinfo
Log Message:
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 <https://stackoverflow.com/questions/6284396/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)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-more-itertools/DESCR
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-more-itertools/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-more-itertools/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-more-itertools/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-more-itertools/DESCR
diff -u pkgsrc/devel/py-more-itertools/DESCR:1.1 pkgsrc/devel/py-more-itertools/DESCR:1.2
--- pkgsrc/devel/py-more-itertools/DESCR:1.1 Fri May 9 21:22:37 2014
+++ pkgsrc/devel/py-more-itertools/DESCR Fri Nov 15 14:22:30 2019
@@ -1,2 +1,2 @@
-A collection of several routines not found in itertools, meant to operate on
-itertables.
+A collection of several routines not found in itertools, meant to
+operate on itertables.
Index: pkgsrc/devel/py-more-itertools/Makefile
diff -u pkgsrc/devel/py-more-itertools/Makefile:1.10 pkgsrc/devel/py-more-itertools/Makefile:1.11
--- pkgsrc/devel/py-more-itertools/Makefile:1.10 Tue Jan 22 09:45:22 2019
+++ pkgsrc/devel/py-more-itertools/Makefile Fri Nov 15 14:22:30 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2019/01/22 09:45:22 adam Exp $
+# $NetBSD: Makefile,v 1.11 2019/11/15 14:22:30 wiz Exp $
-DISTNAME= more-itertools-5.0.0
+DISTNAME= more-itertools-7.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/more-itertools/}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/erikrose/mo
COMMENT= More routines for operating on iterables, beyond itertools
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-six>=1.0.0:../../lang/py-six
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
Index: pkgsrc/devel/py-more-itertools/PLIST
diff -u pkgsrc/devel/py-more-itertools/PLIST:1.3 pkgsrc/devel/py-more-itertools/PLIST:1.4
--- pkgsrc/devel/py-more-itertools/PLIST:1.3 Fri Oct 13 07:58:57 2017
+++ pkgsrc/devel/py-more-itertools/PLIST Fri Nov 15 14:22:30 2019
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2017/10/13 07:58:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/11/15 14:22:30 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/more_itertools/__init__.py
${PYSITELIB}/more_itertools/__init__.pyc
Index: pkgsrc/devel/py-more-itertools/distinfo
diff -u pkgsrc/devel/py-more-itertools/distinfo:1.8 pkgsrc/devel/py-more-itertools/distinfo:1.9
--- pkgsrc/devel/py-more-itertools/distinfo:1.8 Tue Jan 22 09:45:22 2019
+++ pkgsrc/devel/py-more-itertools/distinfo Fri Nov 15 14:22:30 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2019/01/22 09:45:22 adam Exp $
+$NetBSD: distinfo,v 1.9 2019/11/15 14:22:30 wiz Exp $
-SHA1 (more-itertools-5.0.0.tar.gz) = a5c9330ecc3e86b45f6d675ac7405a9d55d0582f
-RMD160 (more-itertools-5.0.0.tar.gz) = d577e4f1ab2f842de4b462f27be160b89285f696
-SHA512 (more-itertools-5.0.0.tar.gz) = f72c8d6c75799c39708443ba75862801ddd3fc0382c9eee7ed24ecf04cbc7d9ff6a8e35b6fff1eaccf45ddd470c2cc8959532eca32c2ff50b0a12588727c68b4
-Size (more-itertools-5.0.0.tar.gz) = 67359 bytes
+SHA1 (more-itertools-7.2.0.tar.gz) = 99d97115bb2fa07a9d253986c8c3172550042143
+RMD160 (more-itertools-7.2.0.tar.gz) = 6670cda718be6be8f3ed1c993341eeb91d8a7d0d
+SHA512 (more-itertools-7.2.0.tar.gz) = 840b535bf5f2fc3cf9c4c0106f977f0b178049b95e5ccb6cf51b5e68d0a6afd77a577bb0d0af25ea8cdf4b7dd2ce9691754ba6c773a196f8b10dba5d7683c6b0
+Size (more-itertools-7.2.0.tar.gz) = 73429 bytes
Home |
Main Index |
Thread Index |
Old Index