pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-importlib-metadata devel/py-importlib-metadat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75d80a8271f4
branches:  trunk
changeset: 345822:75d80a8271f4
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Dec 19 01:12:59 2019 +0000

description:
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?

diffstat:

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

diffs (18 lines):

diff -r 4cd21152d021 -r 75d80a8271f4 devel/py-importlib-metadata/Makefile
--- a/devel/py-importlib-metadata/Makefile      Thu Dec 19 00:40:21 2019 +0000
+++ b/devel/py-importlib-metadata/Makefile      Thu Dec 19 01:12:59 2019 +0000
@@ -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 @@
 
 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