SUMMARY="A Python testing framework" DESCRIPTION="The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries." HOMEPAGE="https://pytest.org" SOURCE_URI="https://pypi.python.org/packages/41/6f/ed63db45ad82db405c77c807d75d66311d385e1b6bf476ec46bde0c9462a/pytest-3.3.0.tar.gz" REVISION="1" LICENSE="MIT" COPYRIGHT="2004-2017 Holger Krekel and others." CHECKSUM_SHA256="6db1c070aa412c30647b6aeb13c55670f900cf00fbafa003cdde560c3f4a8d76" ARCHITECTURES="any" PROVIDES=" pytest=$portVersion cmd:py.test cmd:pytest " REQUIRES=" haiku " BUILD_REQUIRES=" haiku_devel " PYTHON_PACKAGES=(python python3) PYTHON_VERSIONS=(2.7 3.6) 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\n\ six_$pythonPackage\n\ funcsigs_$pythonPackage\n\ pluggy_$pythonPackage\n\ attrs_$pythonPackage\n\ py_$pythonPackage\ \"" 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 }