summaryrefslogtreecommitdiff
path: root/security/py-keyring
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2015-05-24 06:27:00 +0000
committerrichard <richard@pkgsrc.org>2015-05-24 06:27:00 +0000
commitb22f49cad7066f86782083d4b43f3155b571ac22 (patch)
tree515dfa6880f9dde0c27b109ccc39f789319e5f1a /security/py-keyring
parent60e80c95aa6c461fbf12f756495073cc4936895b (diff)
downloadpkgsrc-b22f49cad7066f86782083d4b43f3155b571ac22.tar.gz
avoid install time 'world-writable file' errors
Diffstat (limited to 'security/py-keyring')
-rw-r--r--security/py-keyring/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile
index 2dda20537f7..b776b5142f0 100644
--- a/security/py-keyring/Makefile
+++ b/security/py-keyring/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2015/03/01 15:09:07 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2015/05/24 06:27:00 richard Exp $
DISTNAME= keyring-5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +16,9 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-hgtools>=5.0:../../devel/py-hgtools
REPLACE_PYTHON+= keyring/cli.py
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+post-extract:
+ ${RUN} ${CHMOD} go-w ${WRKSRC}/keyring.egg-info/*
+
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/keyring ${DESTDIR}${PREFIX}/bin/keyring-${PYVERSSUFFIX}