Setuptools is the preferred method to manage Python distributions after
many changes to the packaging ecosystem over the past couple of years.
Only ports using USE_PYDISTUTILS= yes are affected by this commit, ports using
USE_PYDISTUTILS= easy_install remains the same however this usage is now
deprecated and should be converted to USE_PYDISTUTILS= yes.
Some Python distributions do not work with setuptools out of the box because
they extend the install command from distutils and not setuptools, and
so they need to be patched accordingly.
pip (which leverages setuptools) works around the issue by using eggs, however
we want to get rid of those as well, as support for "flat" installation is
unavailable or has other issues associated with it.
This work allows us to unify how python packages are built, ensure that Python
distributions are installed consistently, reduces complexity for Python port
maintainers and paves the way for simplifying the Python ports framework in
the future.
With hat on: python
Reviewed by: koobs, antoine
Exp-run: bdrewery
Approved by: bdrewery (portmgr)
While I'm here:
- drop LICENSE_FILE that isn't needed for well-known licenses
- strict python version to 2.x only (apps using pygtk do not (and will not)
support python3)
- do not try to remove directories that we not installing
PR: 168181
Submitted by: Timothy Beyer <beyert at cs.ucr dot edu> (maintainer)
* is free and open-source
* is multi-plaform
* focuses on Chinese (simplified and traditional) and Japanese characters
* supports 2 different recognition engines
* aspires to work on both desktop-PCs and mobile devices
WWW: http://www.tegaki.org/
PR: ports/149690
Submitted by: Timothy Beyer <beyert at cs.ucr.edu>
Feature safe: yes