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)
- modify policyd-spf so ${PREFIX}/etc/postfix-policyd-spf-python/policyd-spf.conf
is used as default configuration files and change pkg-message.in accordingly
- modify misc file paths in man pages so they match installed ones
- adopt to new options framework (DOCS)
- add license information (AL2)
- trim makefile header.
- update WWW url in pkg-descr
while I'm here:
- use absolute url in MASTER_SITES and remove http redirection quirks
- replace PYTHON_SITELIBDIR with PYTHON_PKGNAMEPREFIX in depends
- shortened overly long lines to make Makefile more readable
- remove attribution from pkg-descr, that's no more supported in ports
PR: 177797
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Approved by: Giel van Schijndel <me@mortis.eu> (maintainer)
implemented in pure Python and uses the python-spf module.
WWW: http://www.openspf.org/Software
Giel van Schijndel <me@mortis.eu>
PR: ports/142508
Submitted by: Giel van Schijndel <me at mortis.eu>