Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 14:37:55 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365737 - head/www/py-WebError
Message-ID:  <201408231437.s7NEbt3k050884@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408231437.s7NEbt3k050884>