for defining, registering and looking up components. There are two basic kinds of components: adapters and utilities. Utilities are just components that provide an interface and that are looked up by an interface and a name. Adapters are components that are computed from other components to adapt them to some interface. Because they are computed from other objects, they are provided as factories, usually classes. WWW: http://www.python.org/pypi/zope.component
24 lines
625 B
Makefile
24 lines
625 B
Makefile
# New ports collection makefile for: py-zope.component
|
|
# Date created: 2011-03-21
|
|
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= zope.component
|
|
PORTVERSION= 3.10.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= Zope Component Architecture
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zopeInterface>=3.3.0:${PORTSDIR}/devel/py-zopeInterface \
|
|
${PYTHON_PKGNAMEPREFIX}zopeevent>=0:${PORTSDIR}/devel/py-zopeevent
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
.include <bsd.port.mk>
|