svn commit: r365739 - head/devel/py-zope.minmax

Antoine Brodin antoine at FreeBSD.org
Sat Aug 23 15:01:48 UTC 2014


Author: antoine
Date: Sat Aug 23 15:01:47 2014
New Revision: 365739
URL: http://svnweb.freebsd.org/changeset/ports/365739
QAT: https://qat.redports.org/buildarchive/r365739/

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/zope.minmax-1.1.2-py2.7.egg-info/namespace_packages.txt'
  
  While here, modernize a bit

Modified:
  head/devel/py-zope.minmax/Makefile

Modified: head/devel/py-zope.minmax/Makefile
==============================================================================
--- head/devel/py-zope.minmax/Makefile	Sat Aug 23 14:43:06 2014	(r365738)
+++ head/devel/py-zope.minmax/Makefile	Sat Aug 23 15:01:47 2014	(r365739)
@@ -2,7 +2,7 @@
 
 PORTNAME=	zope.minmax
 PORTVERSION=	1.1.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python zope
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,8 +16,10 @@ LICENSE=	ZPL21
 RUN_DEPENDS=	zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
 		${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface
 
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+post-extract:
+		${CHMOD} -R a+rX ${WRKSRC}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list