Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 15:01:47 +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: r365739 - head/devel/py-zope.minmax
Message-ID:  <201408231501.s7NF1lkM064665@svn.freebsd.org>

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



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