Build output with Python forced to version 2.4: ===> py24-pyro-4.1 depends on file: /usr/local/bin/python2.4 - found ===> Configuring for py24-pyro-4.1 Traceback (most recent call last): File "setup.py", line 6, in ? import Pyro.constants File "src/Pyro/__init__.py", line 10, in ? raise RuntimeError("Pyro requires at least Python 2.5") RuntimeError: Pyro requires at least Python 2.5 *** Error code 1 Stop in /a/ports/devel/py-pyro.
34 lines
776 B
Makefile
34 lines
776 B
Makefile
# New ports collection makefile for: py-pyro
|
|
# Date created: 2008-12-30
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyro
|
|
PORTVERSION= 4.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.xs4all.nl/~irmen/pyro4/download/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Pyro-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Distributed Object Middleware for Python(IPC/RPC)
|
|
|
|
USE_PYTHON= 2.5+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= Pyro
|
|
|
|
.include <bsd.port.pre.mk>
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|