svn commit: r365737 - head/www/py-WebError
Antoine Brodin
antoine at FreeBSD.org
Sat Aug 23 14:37:55 UTC 2014
Author: antoine
Date: Sat Aug 23 14:37:54 2014
New Revision: 365737
URL: http://svnweb.freebsd.org/changeset/ports/365737
QAT: https://qat.redports.org/buildarchive/r365737/
Log:
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
Modified:
head/www/py-WebError/Makefile
Modified: head/www/py-WebError/Makefile
==============================================================================
--- head/www/py-WebError/Makefile Sat Aug 23 14:08:10 2014 (r365736)
+++ head/www/py-WebError/Makefile Sat Aug 23 14:37:54 2014 (r365737)
@@ -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}Past
${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>
More information about the svn-ports-all
mailing list