./devel/py-future, Clean single-source support for Python 3 and 2

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.18.2nb2, Package name: py39-future-0.18.2nb2, Maintainer: gde

future is the missing compatibility layer between Python 2 and Python 3.
It allows you to use a single, clean Python 3.x-compatible codebase to
support both Python 2 and Python 3 with minimal overhead.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 809.785 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2019-12-15 12:13:37 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-future: provide correct PLIST
   2019-12-14 11:58:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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.
   2018-10-31 11:54:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-future: updated to 0.17.1

What's new in version 0.17.1:
This release address a packaging error because of an erroneous declaration that
any built wheels are universal.

What's new in version 0.17.0:
This is a major bug-fix release, including:
- Fix from collections import ChainMap after install_aliases()
- Fix multiple import from __future__ bug in futurize
- Add support for proper %s formatting of newbytes
- Properly implement iterator protocol for newrange object
- Fix past.translation on read-only file systems
- Fix Tkinter import bug introduced in Python 2.7.4
- Correct TypeError to ValueError in a specific edge case for newrange
- Support inequality tests betwen newstrs and newbytes
- Add type check to __get__ in newsuper
- Fix fix_divsion_safe to support better conversion of complex expressions, and
  skip obvious float division.

As well as a number of corrections to a variety of documentation, and updates to
test infrastructure.
   2017-09-04 20:01:05 by Thomas Klausner | Files touched by this commit (192)
Log message:
Comment out dead sites.