From owner-svn-ports-head@freebsd.org Wed Feb 3 07:50:21 2016 Return-Path: Delivered-To: svn-ports-head@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 85765A9967D; Wed, 3 Feb 2016 07:50:21 +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 48ADE10A3; Wed, 3 Feb 2016 07:50:21 +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 u137oKTF054616; Wed, 3 Feb 2016 07:50:20 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u137oKlJ054614; Wed, 3 Feb 2016 07:50:20 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602030750.u137oKlJ054614@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 07:50:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407947 - head/devel/py-pip X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 07:50:21 -0000 Author: koobs Date: Wed Feb 3 07:50:19 2016 New Revision: 407947 URL: https://svnweb.freebsd.org/changeset/ports/407947 Log: 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 Added: head/devel/py-pip/pkg-message (contents, props changed) Modified: head/devel/py-pip/Makefile Modified: head/devel/py-pip/Makefile ============================================================================== --- head/devel/py-pip/Makefile Wed Feb 3 07:35:54 2016 (r407946) +++ head/devel/py-pip/Makefile Wed Feb 3 07:50:19 2016 (r407947) @@ -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 && \ Added: head/devel/py-pip/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pip/pkg-message Wed Feb 3 07:50:19 2016 (r407947) @@ -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 !!!! ==========================