Files
haikuports/dev-python/zope.interface/python_zope.interface-4.1.1.recipe
2016-02-17 14:39:36 -05:00

44 lines
1.1 KiB
Bash

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"
COPYRIGHT="2004-2014 Zope Foundation and Contributors"
LICENSE="ZPL 2.1"
REVISION="3"
SOURCE_URI="https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.1.tar.gz"
CHECKSUM_SHA256="91cba7b7cd7cb82f6f4e023fe77f94dc3df4ae5287fd55def2148dc232d0c7da"
SOURCE_DIR="zope.interface-$portVersion"
ARCHITECTURES="x86 x86_gcc2 x86_64"
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
}