pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pip devel/py-pip: fix build problem with CHEC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d4bc4f4a4df
branches:  trunk
changeset: 387948:8d4bc4f4a4df
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Nov 11 07:52:15 2022 +0000

description:
devel/py-pip: fix build problem with CHECK_PERMS is yes

There might be better way for python package, it works for me.

diffstat:

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

diffs (17 lines):

diff -r c055add611ff -r 8d4bc4f4a4df devel/py-pip/Makefile
--- a/devel/py-pip/Makefile     Thu Nov 10 23:26:12 2022 +0000
+++ b/devel/py-pip/Makefile     Fri Nov 11 07:52:15 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2022/11/08 11:53:49 adam Exp $
+# $NetBSD: Makefile,v 1.58 2022/11/11 07:52:15 taca Exp $
 
 DISTNAME=      pip-22.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -25,6 +25,7 @@
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip pip[2-3]
+       ${CHMOD} -R go-w ${DESTDIR}${PREFIX}/${PYSITELIB}
 
 # no tests included
 do-test:



Home | Main Index | Thread Index | Old Index