pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-future py-future: updated to 0.18.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa5cfed4e3df
branches:  trunk
changeset: 406064:fa5cfed4e3df
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 14 10:58:37 2019 +0000

description:
py-future: updated to 0.18.2

What's new in version 0.18.2:
=============================
This is a minor bug-fix release containing a number of fixes:
- Fix min/max functions with generators, and 'None' default
- Use BaseException in raise_()
- Fix builtins.round() for Decimals
- Fix raise_from() to prevent failures with immutable classes
- Make FixInput idempotent
- Fix type in newround
- Support mimetype guessing in urllib2 for Py3.8+

Python 3.8 is not yet officially supported.

What's new in version 0.18.1:
=============================
This is a minor bug-fix release containing a fix for raise_()
when passed an exception that's not an Exception (e.g. BaseException
subclasses)

What's new in version 0.18.0:
=============================
This is a major bug-fix and feature release, including:

- Fix collections.abc import for py38+
- Remove import for isnewbytes() function, reducing CPU cost significantly
- Fix bug with importing past.translation when importing past which breaks zipped python installations
- Fix an issue with copyreg import under Py3 that results in unexposed stdlib functionality
- Export and document types in future.utils
- Update behavior of newstr.__eq__() to match str.__eq__() as per reference docs
- Fix raising and the raising fixer to handle cases where the syntax is ambigious
- Allow "default" parameter in min() and max()
- Implement __hash__() in newstr
- Future proof some version checks to handle the fact that Py4 won't be a major breaking release
- Fix urllib.request imports for Python 3.8 compatibility
- Fix future import ordering
- Fixed bug in fix_division_safe fixture
- Do not globally destroy re.ASCII in PY3
- Fix a bug in email.Message.set_boundary()
- Implement format_map() in str
- Implement readinto() for socket.fp

As well as a number of corrections to a variety of documentation, and updates to
test infrastructure.

diffstat:

 devel/py-future/Makefile |    8 +-
 devel/py-future/PLIST    |  786 ++++++++++------------------------------------
 devel/py-future/distinfo |   10 +-
 3 files changed, 185 insertions(+), 619 deletions(-)

diffs (truncated from 949 to 300 lines):

diff -r 4c1d33479b4d -r fa5cfed4e3df devel/py-future/Makefile
--- a/devel/py-future/Makefile  Sat Dec 14 10:54:16 2019 +0000
+++ b/devel/py-future/Makefile  Sat Dec 14 10:58:37 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/10/31 10:54:39 adam Exp $
+# $NetBSD: Makefile,v 1.6 2019/12/14 10:58:37 adam Exp $
 
-DISTNAME=      future-0.17.1
+DISTNAME=      future-0.18.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/future/}
@@ -14,8 +14,8 @@
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} futurize futurize-${PYVERSSUFFIX} && \
-               ${MV} pasteurize pasteurize-${PYVERSSUFFIX} || ${TRUE}
+       ${MV} futurize futurize-${PYVERSSUFFIX} && \
+       ${MV} pasteurize pasteurize-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4c1d33479b4d -r fa5cfed4e3df devel/py-future/PLIST
--- a/devel/py-future/PLIST     Sat Dec 14 10:54:16 2019 +0000
+++ b/devel/py-future/PLIST     Sat Dec 14 10:58:37 2019 +0000
@@ -1,173 +1,11 @@
-@comment $NetBSD: PLIST,v 1.3 2017/02/06 01:06:05 markd Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/12/14 10:58:37 adam Exp $
 bin/futurize-${PYVERSSUFFIX}
 bin/pasteurize-${PYVERSSUFFIX}
-${PYSITELIB}/future/__init__.py
-${PYSITELIB}/future/__init__.pyc
-${PYSITELIB}/future/__init__.pyo
-${PYSITELIB}/future/backports/__init__.py
-${PYSITELIB}/future/backports/__init__.pyc
-${PYSITELIB}/future/backports/__init__.pyo
-${PYSITELIB}/future/backports/_markupbase.pyc
-${PYSITELIB}/future/backports/_markupbase.pyo
-${PYSITELIB}/future/backports/datetime.pyc
-${PYSITELIB}/future/backports/datetime.pyo
-${PYSITELIB}/future/backports/misc.pyc
-${PYSITELIB}/future/backports/misc.pyo
-${PYSITELIB}/future/backports/socket.pyc
-${PYSITELIB}/future/backports/socket.pyo
-${PYSITELIB}/future/backports/socketserver.pyc
-${PYSITELIB}/future/backports/socketserver.pyo
-${PYSITELIB}/future/backports/total_ordering.pyc
-${PYSITELIB}/future/backports/total_ordering.pyo
-${PYSITELIB}/future/backports/urllib/__init__.py
-${PYSITELIB}/future/backports/urllib/__init__.pyc
-${PYSITELIB}/future/backports/urllib/__init__.pyo
-${PYSITELIB}/future/backports/urllib/error.pyc
-${PYSITELIB}/future/backports/urllib/error.pyo
-${PYSITELIB}/future/backports/urllib/parse.pyc
-${PYSITELIB}/future/backports/urllib/parse.pyo
-${PYSITELIB}/future/backports/urllib/request.pyc
-${PYSITELIB}/future/backports/urllib/request.pyo
-${PYSITELIB}/future/backports/urllib/response.pyc
-${PYSITELIB}/future/backports/urllib/response.pyo
-${PYSITELIB}/future/backports/urllib/robotparser.pyc
-${PYSITELIB}/future/backports/urllib/robotparser.pyo
-${PYSITELIB}/future/backports/xmlrpc/__init__.py
-${PYSITELIB}/future/backports/xmlrpc/__init__.pyc
-${PYSITELIB}/future/backports/xmlrpc/__init__.pyo
-${PYSITELIB}/future/backports/xmlrpc/client.pyc
-${PYSITELIB}/future/backports/xmlrpc/client.pyo
-${PYSITELIB}/future/backports/xmlrpc/server.pyc
-${PYSITELIB}/future/backports/xmlrpc/server.pyo
-${PYSITELIB}/future/builtins/__init__.py
-${PYSITELIB}/future/builtins/__init__.pyc
-${PYSITELIB}/future/builtins/__init__.pyo
-${PYSITELIB}/future/builtins/disabled.pyc
-${PYSITELIB}/future/builtins/disabled.pyo
-${PYSITELIB}/future/builtins/iterators.pyc
-${PYSITELIB}/future/builtins/iterators.pyo
-${PYSITELIB}/future/builtins/misc.pyc
-${PYSITELIB}/future/builtins/misc.pyo
-${PYSITELIB}/future/builtins/newnext.pyc
-${PYSITELIB}/future/builtins/newnext.pyo
-${PYSITELIB}/future/builtins/newround.pyc
-${PYSITELIB}/future/builtins/newround.pyo
-${PYSITELIB}/future/builtins/newsuper.pyc
-${PYSITELIB}/future/builtins/newsuper.pyo
-${PYSITELIB}/future/moves/__init__.py
-${PYSITELIB}/future/moves/__init__.pyc
-${PYSITELIB}/future/moves/__init__.pyo
-${PYSITELIB}/future/moves/_dummy_thread.pyc
-${PYSITELIB}/future/moves/_dummy_thread.pyo
-${PYSITELIB}/future/moves/_markupbase.pyc
-${PYSITELIB}/future/moves/_markupbase.pyo
-${PYSITELIB}/future/moves/_thread.pyc
-${PYSITELIB}/future/moves/_thread.pyo
-${PYSITELIB}/future/moves/builtins.pyc
-${PYSITELIB}/future/moves/builtins.pyo
-${PYSITELIB}/future/moves/collections.pyc
-${PYSITELIB}/future/moves/collections.pyo
-${PYSITELIB}/future/moves/configparser.pyc
-${PYSITELIB}/future/moves/configparser.pyo
-${PYSITELIB}/future/moves/copyreg.pyc
-${PYSITELIB}/future/moves/copyreg.pyo
-${PYSITELIB}/future/moves/itertools.pyc
-${PYSITELIB}/future/moves/itertools.pyo
-${PYSITELIB}/future/moves/pickle.pyc
-${PYSITELIB}/future/moves/pickle.pyo
-${PYSITELIB}/future/moves/queue.pyc
-${PYSITELIB}/future/moves/queue.pyo
-${PYSITELIB}/future/moves/reprlib.pyc
-${PYSITELIB}/future/moves/reprlib.pyo
-${PYSITELIB}/future/moves/socketserver.pyc
-${PYSITELIB}/future/moves/socketserver.pyo
-${PYSITELIB}/future/moves/subprocess.pyc
-${PYSITELIB}/future/moves/subprocess.pyo
-${PYSITELIB}/future/moves/sys.pyc
-${PYSITELIB}/future/moves/sys.pyo
-${PYSITELIB}/future/moves/winreg.pyc
-${PYSITELIB}/future/moves/winreg.pyo
-${PYSITELIB}/future/moves/xmlrpc/__init__.py
-${PYSITELIB}/future/moves/xmlrpc/__init__.pyc
-${PYSITELIB}/future/moves/xmlrpc/__init__.pyo
-${PYSITELIB}/future/moves/xmlrpc/client.pyc
-${PYSITELIB}/future/moves/xmlrpc/client.pyo
-${PYSITELIB}/future/moves/xmlrpc/server.pyc
-${PYSITELIB}/future/moves/xmlrpc/server.pyo
-${PYSITELIB}/future/standard_library/__init__.py
-${PYSITELIB}/future/standard_library/__init__.pyc
-${PYSITELIB}/future/standard_library/__init__.pyo
-${PYSITELIB}/future/tests/__init__.py
-${PYSITELIB}/future/tests/__init__.pyc
-${PYSITELIB}/future/tests/__init__.pyo
-${PYSITELIB}/future/tests/base.pyc
-${PYSITELIB}/future/tests/base.pyo
-${PYSITELIB}/future/types/__init__.py
-${PYSITELIB}/future/types/__init__.pyc
-${PYSITELIB}/future/types/__init__.pyo
-${PYSITELIB}/future/types/newbytes.pyc
-${PYSITELIB}/future/types/newbytes.pyo
-${PYSITELIB}/future/types/newdict.pyc
-${PYSITELIB}/future/types/newdict.pyo
-${PYSITELIB}/future/types/newint.pyc
-${PYSITELIB}/future/types/newint.pyo
-${PYSITELIB}/future/types/newlist.pyc
-${PYSITELIB}/future/types/newlist.pyo
-${PYSITELIB}/future/types/newmemoryview.pyc
-${PYSITELIB}/future/types/newmemoryview.pyo
-${PYSITELIB}/future/types/newobject.pyc
-${PYSITELIB}/future/types/newobject.pyo
-${PYSITELIB}/future/types/newopen.pyc
-${PYSITELIB}/future/types/newopen.pyo
-${PYSITELIB}/future/types/newrange.pyc
-${PYSITELIB}/future/types/newrange.pyo
-${PYSITELIB}/future/types/newstr.pyc
-${PYSITELIB}/future/types/newstr.pyo
-${PYSITELIB}/future/utils/__init__.py
-${PYSITELIB}/future/utils/__init__.pyc
-${PYSITELIB}/future/utils/__init__.pyo
-${PYSITELIB}/future/utils/surrogateescape.pyc
-${PYSITELIB}/future/utils/surrogateescape.pyo
-${PYSITELIB}/libfuturize/__init__.py
-${PYSITELIB}/libfuturize/__init__.pyc
-${PYSITELIB}/libfuturize/__init__.pyo
-${PYSITELIB}/libfuturize/fixer_util.pyc
-${PYSITELIB}/libfuturize/fixer_util.pyo
-${PYSITELIB}/libfuturize/main.pyc
-${PYSITELIB}/libfuturize/main.pyo
-${PYSITELIB}/libpasteurize/__init__.py
-${PYSITELIB}/libpasteurize/__init__.pyc
-${PYSITELIB}/libpasteurize/__init__.pyo
-${PYSITELIB}/libpasteurize/main.pyc
-${PYSITELIB}/libpasteurize/main.pyo
-${PYSITELIB}/past/__init__.py
-${PYSITELIB}/past/__init__.pyc
-${PYSITELIB}/past/__init__.pyo
-${PYSITELIB}/past/builtins/__init__.py
-${PYSITELIB}/past/builtins/__init__.pyc
-${PYSITELIB}/past/builtins/__init__.pyo
-${PYSITELIB}/past/builtins/misc.pyc
-${PYSITELIB}/past/builtins/misc.pyo
-${PYSITELIB}/past/builtins/noniterators.pyc
-${PYSITELIB}/past/builtins/noniterators.pyo
-${PYSITELIB}/past/tests/__init__.py
-${PYSITELIB}/past/tests/__init__.pyc
-${PYSITELIB}/past/tests/__init__.pyo
-${PYSITELIB}/past/translation/__init__.py
-${PYSITELIB}/past/translation/__init__.pyc
-${PYSITELIB}/past/translation/__init__.pyo
-${PYSITELIB}/past/types/__init__.py
-${PYSITELIB}/past/types/__init__.pyc
-${PYSITELIB}/past/types/__init__.pyo
-${PYSITELIB}/past/types/basestring.pyc
-${PYSITELIB}/past/types/basestring.pyo
-${PYSITELIB}/past/types/olddict.pyc
-${PYSITELIB}/past/types/olddict.pyo
-${PYSITELIB}/past/types/oldstr.pyc
-${PYSITELIB}/past/types/oldstr.pyo
-${PYSITELIB}/past/utils/__init__.py
-${PYSITELIB}/past/utils/__init__.pyc
-${PYSITELIB}/past/utils/__init__.pyo
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PLIST.py2x}${PYSITELIB}/_dummy_thread/__init__.py
 ${PLIST.py2x}${PYSITELIB}/_dummy_thread/__init__.pyc
 ${PLIST.py2x}${PYSITELIB}/_dummy_thread/__init__.pyo
@@ -183,13 +21,18 @@
 ${PLIST.py2x}${PYSITELIB}/copyreg/__init__.py
 ${PLIST.py2x}${PYSITELIB}/copyreg/__init__.pyc
 ${PLIST.py2x}${PYSITELIB}/copyreg/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/future/__init__.py
+${PYSITELIB}/future/__init__.pyc
+${PYSITELIB}/future/__init__.pyo
+${PYSITELIB}/future/backports/__init__.py
+${PYSITELIB}/future/backports/__init__.pyc
+${PYSITELIB}/future/backports/__init__.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/_markupbase.py
+${PYSITELIB}/future/backports/_markupbase.pyc
+${PYSITELIB}/future/backports/_markupbase.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/datetime.py
+${PYSITELIB}/future/backports/datetime.pyc
+${PYSITELIB}/future/backports/datetime.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/email/__init__.py
 ${PLIST.py2x}${PYSITELIB}/future/backports/email/__init__.pyc
 ${PLIST.py2x}${PYSITELIB}/future/backports/email/__init__.pyo
@@ -299,8 +142,14 @@
 ${PLIST.py2x}${PYSITELIB}/future/backports/http/server.pyc
 ${PLIST.py2x}${PYSITELIB}/future/backports/http/server.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/misc.py
+${PYSITELIB}/future/backports/misc.pyc
+${PYSITELIB}/future/backports/misc.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/socket.py
+${PYSITELIB}/future/backports/socket.pyc
+${PYSITELIB}/future/backports/socket.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/socketserver.py
+${PYSITELIB}/future/backports/socketserver.pyc
+${PYSITELIB}/future/backports/socketserver.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/test/__init__.py
 ${PLIST.py2x}${PYSITELIB}/future/backports/test/__init__.pyc
 ${PLIST.py2x}${PYSITELIB}/future/backports/test/__init__.pyo
@@ -328,26 +177,83 @@
 ${PLIST.py2x}${PYSITELIB}/future/backports/test/support.pyc
 ${PLIST.py2x}${PYSITELIB}/future/backports/test/support.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/total_ordering.py
+${PYSITELIB}/future/backports/total_ordering.pyc
+${PYSITELIB}/future/backports/total_ordering.pyo
+${PYSITELIB}/future/backports/urllib/__init__.py
+${PYSITELIB}/future/backports/urllib/__init__.pyc
+${PYSITELIB}/future/backports/urllib/__init__.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/urllib/error.py
+${PYSITELIB}/future/backports/urllib/error.pyc
+${PYSITELIB}/future/backports/urllib/error.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/urllib/parse.py
+${PYSITELIB}/future/backports/urllib/parse.pyc
+${PYSITELIB}/future/backports/urllib/parse.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/urllib/request.py
+${PYSITELIB}/future/backports/urllib/request.pyc
+${PYSITELIB}/future/backports/urllib/request.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/urllib/response.py
+${PYSITELIB}/future/backports/urllib/response.pyc
+${PYSITELIB}/future/backports/urllib/response.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/urllib/robotparser.py
+${PYSITELIB}/future/backports/urllib/robotparser.pyc
+${PYSITELIB}/future/backports/urllib/robotparser.pyo
+${PYSITELIB}/future/backports/xmlrpc/__init__.py
+${PYSITELIB}/future/backports/xmlrpc/__init__.pyc
+${PYSITELIB}/future/backports/xmlrpc/__init__.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/xmlrpc/client.py
+${PYSITELIB}/future/backports/xmlrpc/client.pyc
+${PYSITELIB}/future/backports/xmlrpc/client.pyo
 ${PLIST.py2x}${PYSITELIB}/future/backports/xmlrpc/server.py
+${PYSITELIB}/future/backports/xmlrpc/server.pyc
+${PYSITELIB}/future/backports/xmlrpc/server.pyo
+${PYSITELIB}/future/builtins/__init__.py
+${PYSITELIB}/future/builtins/__init__.pyc
+${PYSITELIB}/future/builtins/__init__.pyo
 ${PLIST.py2x}${PYSITELIB}/future/builtins/disabled.py
+${PYSITELIB}/future/builtins/disabled.pyc
+${PYSITELIB}/future/builtins/disabled.pyo
 ${PLIST.py2x}${PYSITELIB}/future/builtins/iterators.py
+${PYSITELIB}/future/builtins/iterators.pyc
+${PYSITELIB}/future/builtins/iterators.pyo
 ${PLIST.py2x}${PYSITELIB}/future/builtins/misc.py
+${PYSITELIB}/future/builtins/misc.pyc
+${PYSITELIB}/future/builtins/misc.pyo
+${PYSITELIB}/future/builtins/new_min_max.py
+${PYSITELIB}/future/builtins/new_min_max.pyc
+${PYSITELIB}/future/builtins/new_min_max.pyo
 ${PLIST.py2x}${PYSITELIB}/future/builtins/newnext.py
+${PYSITELIB}/future/builtins/newnext.pyc
+${PYSITELIB}/future/builtins/newnext.pyo
 ${PLIST.py2x}${PYSITELIB}/future/builtins/newround.py
+${PYSITELIB}/future/builtins/newround.pyc
+${PYSITELIB}/future/builtins/newround.pyo
 ${PLIST.py2x}${PYSITELIB}/future/builtins/newsuper.py



Home | Main Index | Thread Index | Old Index