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 Un-break Solarish build by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d1a77e52c57
branches:  trunk
changeset: 341784:0d1a77e52c57
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Mon Oct 07 12:54:51 2019 +0000

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

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

diffstat:

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

diffs (21 lines):

diff -r dde56a51d16e -r 0d1a77e52c57 devel/py-importlib-metadata/Makefile
--- a/devel/py-importlib-metadata/Makefile      Mon Oct 07 11:52:36 2019 +0000
+++ b/devel/py-importlib-metadata/Makefile      Mon Oct 07 12:54:51 2019 +0000
@@ -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 @@
 
 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