Fix some files unreadable by regular users, this causes errors like:

File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 1514, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/WebError-0.10.3-py2.7.egg-info/entry_points.txt'

While here, modernize a bit
This commit is contained in:
Antoine Brodin 2014-08-23 14:37:54 +00:00
parent 219bf253f9
commit 8290033cad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365737

View File

@ -3,7 +3,7 @@
PORTNAME= WebError
PORTVERSION= 0.10.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -18,14 +18,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=1.7:${PORTSDIR}/www/py-paste \
${PYTHON_PKGNAMEPREFIX}Tempita>=0.3:${PORTSDIR}/textproc/py-Tempita \
${PYTHON_PKGNAMEPREFIX}webob>=0.9.6.1:${PORTSDIR}/www/py-webob
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
post-extract:
${CHMOD} -R a+r ${WRKSRC}
.if ${PYTHON_REL} < 260
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.8:${PORTSDIR}/devel/py-simplejson
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>