create bsd12 branch

This commit is contained in:
ziggi
2019-12-26 07:26:06 +00:00
commit 5cfdab6bfe
14432 changed files with 2272620 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
# $FreeBSD: head/devel/py-setuptools/Makefile 492575 2019-02-10 00:08:37Z sunpoet $
PORTNAME= setuptools
PORTVERSION= 40.8.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
MAINTAINER= python@FreeBSD.org
COMMENT= Python packages installer
NO_ARCH= yes
USES= python zip
USE_PYTHON= autoplist concurrent distutils allflavors
PYDISTUTILS_SETUP= ${PYSETUP}
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}distribute-[0-9]*@${PY_FLAVOR}
MAKE_ENV+= SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
PLIST_FILES= "@sample %%PYTHON_SITELIBDIR%%/easy-install.pth.dist %%PYTHON_SITELIBDIR%%/easy-install.pth"
.include <bsd.port.pre.mk>
.if ${FLAVOR} != ${FLAVORS:[1]}
SUB_FILES+= pkg-message
SUB_LIST+= PYTHON_VER=${PYTHON_VER}
.endif
# These create dependency loops in redports/poudriere, because setuptools
# is currently an explicit BUILD & RUN dependency in Uses/python.mk.
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}@${PY_FLAVOR}
#.if ${PYTHON_REL} < 3300
#TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}@${PY_FLAVOR}
#.endif
post-install:
${INSTALL_DATA} ${FILESDIR}/easy-install.pth.dist ${STAGEDIR}${PYTHON_SITELIBDIR}/
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.post.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1549473370
SHA256 (python/setuptools-40.8.0.zip) = 6e4eec90337e849ade7103723b9a99631c1f0d19990d6e8412dc42f5ae8b304d
SIZE (python/setuptools-40.8.0.zip) = 845071

View File

@@ -0,0 +1,2 @@
import sys; sys.__plen = len(sys.path)
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

View File

@@ -0,0 +1,7 @@
*******************************************************************
Only %%PREFIX%%/bin/easy_install-%%PYTHON_VER%% script has been installed
since Python %%PYTHON_VER%% is not the default Python version.
*******************************************************************

View File

@@ -0,0 +1,10 @@
Setuptools is a fully-featured, actively-maintained, and stable library
designed to facilitate packaging Python projects, where packaging includes:
- Python package and module definitions
- Distribution package metadata
- Test hooks
- Project installation
- Platform-specific details
- Python 3 support
WWW: https://pypi.org/project/setuptools/