diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-12-15 16:22:17 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-12-15 16:22:17 +0000 |
commit | 1e34739b64d384b87ee2c57027df596b464c79ab (patch) | |
tree | 528f950c491cb30f26166e5e23d4b77ad233a5ee /databases/py-gdbm/Makefile | |
parent | misc/cuecat: fix python usage (diff) |
Use setuptools for all Python ports.
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)
Notes
Notes:
svn path=/head/; revision=336553
Diffstat (limited to 'databases/py-gdbm/Makefile')
-rw-r--r-- | databases/py-gdbm/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile index 4cf8d344502e..43dd006dc3a5 100644 --- a/databases/py-gdbm/Makefile +++ b/databases/py-gdbm/Makefile @@ -26,11 +26,8 @@ DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo WRKSRC= ${PYTHON_WRKSRC}/Modules PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHON_LIBDIR}/lib-dynload -PYDISTUTILS_NOEGGINFO= yes +PYDISTUTILS_AUTOPLIST= yes -PLIST_FILES= %%PYTHON_LIBDIR%%/lib-dynload/gdbm.so - -NO_STAGE= yes .include <bsd.port.pre.mk> post-extract: |