From owner-svn-ports-all@freebsd.org Wed Feb 3 08:00:36 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A1F0A99F6A; Wed, 3 Feb 2016 08:00:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 523921883; Wed, 3 Feb 2016 08:00:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1380Zie057715; Wed, 3 Feb 2016 08:00:35 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1380Zi8057713; Wed, 3 Feb 2016 08:00:35 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602030800.u1380Zi8057713@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Wed, 3 Feb 2016 08:00:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r407948 - branches/2016Q1/devel/py-pip X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 08:00:36 -0000 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 !!!! ==========================