Date: Wed, 3 Feb 2016 08:00:35 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r407948 - branches/2016Q1/devel/py-pip Message-ID: <201602030800.u1380Zi8057713@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Wed Feb 3 08:00:34 2016 New Revision: 407948 URL: https://svnweb.freebsd.org/changeset/ports/407948 Log: MFH: r407947 devel/py-pip: Add pkg-message user WARNING Add a pkg-message warning users not to use pip to install packages in the system-wide Python environment location. This should have been done a long time ago. While I'm here: - Add LICENSE_FILE - Enable NO_ARCH - Match *_DEPENDS versions to those in setup.py - Fix incorrect pytest-xdist package name match PR: 205881, 205819 Reported by: many Suggested by: many MFH: 2016Q1 Approved by: ports-secteam (blanket) Added: branches/2016Q1/devel/py-pip/pkg-message - copied unchanged from r407947, head/devel/py-pip/pkg-message Modified: branches/2016Q1/devel/py-pip/Makefile Directory Properties: branches/2016Q1/ (props changed) Modified: branches/2016Q1/devel/py-pip/Makefile ============================================================================== --- branches/2016Q1/devel/py-pip/Makefile Wed Feb 3 07:50:19 2016 (r407947) +++ branches/2016Q1/devel/py-pip/Makefile Wed Feb 3 08:00:34 2016 (r407948) @@ -3,6 +3,7 @@ PORTNAME= pip PORTVERSION= 7.1.2 +PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,13 +11,14 @@ MAINTAINER= python@FreeBSD.org COMMENT= Tool for installing and managing Python packages LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt # Tests also need bzr, git, otherwise they fail TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}pytest-capturelog>0:${PORTSDIR}/devel/py-pytest-capturelog \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:${PORTSDIR}/devel/py-pytest-timeout \ - ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:${PORTSDIR}/devel/py-pytest-xdist \ - ${PYTHON_PKGNAMEPREFIX}virtualenv>=13.0.0:${PORTSDIR}/devel/py-virtualenv \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:${PORTSDIR}/devel/py-pytest-xdist \ + ${PYTHON_PKGNAMEPREFIX}virtualenv>=1.10:${PORTSDIR}/devel/py-virtualenv \ ${PYTHON_PKGNAMEPREFIX}scripttest>=1.3:${PORTSDIR}/devel/py-scripttest \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}pretend>0:${PORTSDIR}/devel/py-pretend \ @@ -39,6 +41,8 @@ SHEBANG_FILES= pip/__init__.py GH_ACCOUNT= pypa +NO_ARCH= yes + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ Copied: branches/2016Q1/devel/py-pip/pkg-message (from r407947, head/devel/py-pip/pkg-message) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q1/devel/py-pip/pkg-message Wed Feb 3 08:00:34 2016 (r407948, copy of r407947, head/devel/py-pip/pkg-message) @@ -0,0 +1,14 @@ +============================== !!!! WARNING !!!! ========================== + +pip MUST ONLY be used: + + * With the --user flag, OR + * To install or manage Python packages in virtual environments + +Failure to follow this warning can and will result in an inconsistent +system-wide Python environment (LOCALBASE/lib/pythonX.Y/site-packages) and +cause errors. + +Avoid using pip as root unless you know what you're doing. + +============================== !!!! WARNING !!!! ==========================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602030800.u1380Zi8057713>