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:   hauke
Date:           Mon Oct  7 12:54:51 UTC 2019

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

Log Message:
Un-break Solarish build by avoiding world-writable dist files.

Would be nice if the extract: target took care of this, where upstream cannot...


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 pkgsrc/devel/py-importlib-metadata/Makefile:1.8
--- pkgsrc/devel/py-importlib-metadata/Makefile:1.7     Tue Sep 17 08:30:51 2019
+++ pkgsrc/devel/py-importlib-metadata/Makefile Mon Oct  7 12:54:51 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2019/09/17 08:30:51 adam Exp $
+# $NetBSD: Makefile,v 1.8 2019/10/07 12:54:51 hauke Exp $
 
 DISTNAME=      importlib_metadata-0.23
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/importlib-metadata/}
@@ -21,5 +22,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