freebsd-ports/security/py-RestrictedPython/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

30 lines
514 B
Makefile

# $FreeBSD$
PORTNAME= RestrictedPython
PORTVERSION= 3.6.0
PORTREVISION= 1
CATEGORIES= security python zope
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= zope
MAINTAINER= zope@FreeBSD.org
COMMENT= Restricted execution environment for Python
LICENSE= ZPL21
USE_PYTHON= 2
USE_PYDISTUTILS=easy_install
USE_ZIP= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 270
PLIST_SUB+= PYTHON27=""
.else
PLIST_SUB+= PYTHON27="@comment "
.endif
.include <bsd.port.post.mk>