d05cb9a94c
PyProtocols extends the PEP 246 adapt() function with a new "declaration API" that lets you easily define your own protocols and adapters, and declare what adapters should be used to adapt what types, objects, or protocols. In addition to its own Interface type, PyProtocols can also use Twisted and Zope's Interface types. "go ahead" (after some nice tweaks, actually) steven@
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2007/06/23 21:41:54 martynas Exp $
|
|
|
|
COMMENT= "protocol definition, declaration and adaptation"
|
|
|
|
VERSION= 1.0
|
|
REVISION= 2306
|
|
DISTNAME= PyProtocols
|
|
PKGNAME= py-protocols-${VERSION}r${REVISION}
|
|
|
|
CATEGORIES= devel lang/python
|
|
|
|
HOMEPAGE= http://peak.telecommunity.com/
|
|
|
|
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
|
|
|
# PSF/ZPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=distributions/gentoo/distfiles/}
|
|
DISTFILES= PyProtocols-${VERSION}a0dev_r${REVISION}${EXTRACT_SUFX}
|
|
|
|
MODULES= lang/python
|
|
RUN_DEPENDS= ::devel/py-decoratortools
|
|
REGRESS_DEPENDS= ::devel/py-decoratortools
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
# make regress happy after fake
|
|
post-install:
|
|
rm -fr ${WRKSRC}/src/PyProtocols.egg-info
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-protocols/ref
|
|
${INSTALL_DATA} ${WRKSRC}/docs/ref/*.tex ${PREFIX}/share/doc/py-protocols/ref/
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/py-protocols/
|
|
|
|
.include <bsd.port.mk>
|