1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

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
This commit is contained in:
Antoine Brodin 2014-08-23 15:01:47 +00:00
parent 35650d71bf
commit f101ca6d6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365739

View File

@ -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>