pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pbr



Module Name:    pkgsrc
Committed By:   hauke
Date:           Mon Jul  9 14:11:01 UTC 2018

Modified Files:
        pkgsrc/devel/py-pbr: Makefile

Log Message:
The package installs files world-writable, which the pkgsrc framework
objects to. Clean up permissions before packaging.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-pbr/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-pbr/Makefile
diff -u pkgsrc/devel/py-pbr/Makefile:1.21 pkgsrc/devel/py-pbr/Makefile:1.22
--- pkgsrc/devel/py-pbr/Makefile:1.21   Wed Jul  4 09:05:16 2018
+++ pkgsrc/devel/py-pbr/Makefile        Mon Jul  9 14:11:01 2018
@@ -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 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9
 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"



Home | Main Index | Thread Index | Old Index