pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-importlib-metadata



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu Dec 19 01:12:59 UTC 2019

Modified Files:
        pkgsrc/devel/py-importlib-metadata: Makefile

Log Message:
devel/py-importlib-metadata: fix files' permission

Fix file's permission to pass build under CHECK_PERMS is yes, i.e.
PKG_DEVELOPER is on.

Distfile of importlib-metadata 0.23, 1.1.0, 1.2.0 and 1.3.0 are contains
world writable permission of files.

Adam, why did you remove post-extract part?


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-importlib-metadata/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-importlib-metadata/Makefile
diff -u pkgsrc/devel/py-importlib-metadata/Makefile:1.12 pkgsrc/devel/py-importlib-metadata/Makefile:1.13
--- pkgsrc/devel/py-importlib-metadata/Makefile:1.12    Wed Dec 11 10:27:31 2019
+++ pkgsrc/devel/py-importlib-metadata/Makefile Thu Dec 19 01:12:59 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/12/11 10:27:31 adam Exp $
+# $NetBSD: Makefile,v 1.13 2019/12/19 01:12:59 taca Exp $
 
 DISTNAME=      importlib_metadata-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
@@ -21,5 +21,8 @@ DEPENDS+=     ${PYPKGPREFIX}-pathlib2-[0-9]*
 
 USE_LANGUAGES= # none
 
+post-extract:
+       cd ${WRKSRC} && find . -xdev -type f -exec chmod go-w {} +
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index