pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pip Do not attempt to install world-writable ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/557aa9a10cb6
branches:  trunk
changeset: 308635:557aa9a10cb6
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Mon May 28 07:46:58 2018 +0000

description:
Do not attempt to install world-writable files.

diffstat:

 devel/py-pip/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a6cd8d2f2fc6 -r 557aa9a10cb6 devel/py-pip/Makefile
--- a/devel/py-pip/Makefile     Sun May 27 16:28:12 2018 +0000
+++ b/devel/py-pip/Makefile     Mon May 28 07:46:58 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2018/04/25 07:06:36 adam Exp $
+# $NetBSD: Makefile,v 1.24 2018/05/28 07:46:58 hauke Exp $
 
 DISTNAME=      pip-10.0.1
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pip/}
@@ -19,6 +20,8 @@
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip pip[2-3]
+       cd ${DESTDIR}${PREFIX}/${PYSITELIB}/pip/_vendor && \
+               chmod -R go-w .
 
 # no tests included
 do-test:



Home | Main Index | Thread Index | Old Index