text: SUMMARY="Python signature tools"
  DESCRIPTION="Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+."
  HOMEPAGE="http://funcsigs.readthedocs.org"
  SOURCE_URI="https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz"
  REVISION="2"
  LICENSE="Apache v2"
  COPYRIGHT="2013 Aaron Iles"
  CHECKSUM_SHA256="a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
  
  ARCHITECTURES="any"
  
  PROVIDES="
  	funcsigs=$portVersion
  	"
  
  REQUIRES="
  	haiku
  	"
  
  BUILD_REQUIRES="
  	haiku_devel
  	"
  
  PYTHON_PACKAGES=(python python36 python3)
  PYTHON_VERSIONS=(2.7 3.6 3.7)
  for i in "${!PYTHON_PACKAGES[@]}"; do
  pythonPackage=${PYTHON_PACKAGES[i]}
  pythonVersion=${PYTHON_VERSIONS[$i]}
  eval "PROVIDES_${pythonPackage}=\"\
  	${portName}_$pythonPackage = $portVersion\
  	\"; \
  REQUIRES_$pythonPackage=\"\
  	haiku\n\
  	cmd:python$pythonVersion\
  	\""
  BUILD_REQUIRES="$BUILD_REQUIRES
  	setuptools_$pythonPackage"
  BUILD_PREREQUIRES="$BUILD_PREREQUIRES
  	cmd:python$pythonVersion
  	"
  done
  
  INSTALL()
  {
  	for i in "${!PYTHON_PACKAGES[@]}"; do
  		pythonPackage=${PYTHON_PACKAGES[i]}
  		pythonVersion=${PYTHON_VERSIONS[$i]}
  
  		python=python$pythonVersion
  		installLocation=$prefix/lib/$python/vendor-packages/
  		export PYTHONPATH=$installLocation:$PYTHONPATH
  		mkdir -p $installLocation
  		rm -rf build
  		$python setup.py build install \
  			--root=/ --prefix=$prefix
  
  		packageEntries  $pythonPackage \
  			$prefix/lib/python*
  	done
  }
  