SUMMARY="Interfaces for Python"
DESCRIPTION="
This package provides an implementation of 'object interfaces' for Python. \
Interfaces are a mechanism for labeling objects as conforming to a given \
API or contract. So, this package can be considered as implementation of the \
Design By Contract methodology support in Python.

For detailed documentation, please see http://docs.zope.org/zope.interface
"
HOMEPAGE="http://pypi.python.org/pypi/zope.interface"
SOURCE_URI="https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.1.tar.gz"
CHECKSUM_SHA256="91cba7b7cd7cb82f6f4e023fe77f94dc3df4ae5287fd55def2148dc232d0c7da"
LICENSE="ZPL 2.1"
COPYRIGHT="2004-2014 Zope Foundation and Contributors"
REVISION="3"

ARCHITECTURES="x86 x86_gcc2 x86_64"

SOURCE_DIR="zope.interface-$portVersion"

PROVIDES="
	python_zope.interface = $portVersion
	"

REQUIRES="
	haiku
	cmd:python
	"

BUILD_REQUIRES=""

BUILD_PREREQUIRES="
	haiku_devel
	cmd:python
	"

BUILD()
{
	$portPackageLinksDir/cmd~python/bin/python setup.py build
}

INSTALL()
{
	$portPackageLinksDir/cmd~python/bin/python setup.py install \
		--prefix=$prefix
}
