The package installs files world-writable, which the pkgsrc framework trunk
authorhauke <hauke@pkgsrc.org>
Mon, 09 Jul 2018 14:11:01 +0000
branchtrunk
changeset 310274 d3c3705008ba
parent 310273 79873cf03347
child 310275 b0875ef1b92f
The package installs files world-writable, which the pkgsrc framework objects to. Clean up permissions before packaging.
devel/py-pbr/Makefile
--- a/devel/py-pbr/Makefile	Mon Jul 09 13:53:34 2018 +0000
+++ b/devel/py-pbr/Makefile	Mon Jul 09 14:11:01 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2018/07/04 09:05:16 adam Exp $
+# $NetBSD: Makefile,v 1.22 2018/07/09 14:11:01 hauke Exp $
 
 DISTNAME=	pbr-4.0.4
+PKGREVISION=	1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pbr/}
@@ -21,6 +22,7 @@
 REPLACE_PYTHON+=	pbr/tests/testpackage/setup.py
 
 post-install:
+	chmod -R g-w,o-w ${DESTDIR}${PREFIX}/${PYSITELIB}/pbr/tests/testpackage
 	cd ${DESTDIR}${PREFIX}/bin && ${MV} pbr pbr${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/application.mk"