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.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-future listed in the above command, you can pick from the names under the Packages section.
devel/py-future: Update version 0.18.3=>1.0.0
- Mark DEPRECATED
- This port has outlived it's purpose. It has been more than 6 years
python 2.7 has reached EOL and by now all of the coded has been
converted to be compatible with python 3.X
- There are still some ports using this port but after checking I have
found that those are stale dependencies as maintainers do not
properly check upstream requirements or the ports are no longer
maintained upstream.
- I am reaching out to the maintainers if these are stale dependencies
- I am reaching out to the maintainers if there are trivial fixes to
remove these depencies
- Set EXPIRATION_DATE 2026-09-30 for the 2.7 flavor and 2026-12-31 for
the 3.X flavor. We will reconsider the EXPIRATION_DATE for the 3.X
flavor before the end of the year
Changelog: https://github.com/PythonCharmers/python-future/releases/tag/v1.0.0
PR: 296295
Reported by: olivier
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
[NEW] devel/py-future: Clean single-source support for Python 3 and 2
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.
WWW: https://python-future.org/
PR: 193094
Submitted by: Muhammad Moinur Rahman <5u623l20 at gmail com> (with changes)