OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.
This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.
Approved by: portmgr (bapt)
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)
- remove indefinite article from COMMENT
- eliminate PYTHON_SITELIBDIR from dependencies
- limit python version to 2.x only
Non-functional changes, so no PORTREVISION bump is required
Discussed with: eadler
- fix format for pkg-descr
- convert to OptionsNG
- remove logic for older versions of python which we no longer support
- remove option for old versions of FreeBSD
- unconditionally set PORTDOCS
- etc.
Reviewed by: jgh
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.
Explicit duplication > := > = and this just moves ports one step to the left
Approved by: portmgr
(2) Make binding ports to be real ports, which installs only bindings and
depend on subversion.
(3) Rename bindings ports to reflect perl5/python/ruby modules naming scheme.
(4) Re-base subversion-freebsd to `devel/subversion'.
(5) Fix all ports, which depends on subversion bindings.