SUMMARY="Attributes without boilerplate" DESCRIPTION="attrs is the Python package that will bring back the joy of \ writing classes by relieving you from the drudgery of implementing object \ protocols (aka dunder methods). Its main goal is to help you to write concise and correct software without \ slowing down your code." HOMEPAGE="https://pypi.python.org/pypi/attrs" COPYRIGHT="2015-2019 Hynek Schlawack" LICENSE="MIT" REVISION="4" SOURCE_URI="https://files.pythonhosted.org/packages/source/${portName:0:1}/$portName/$portName-$portVersion.tar.gz" CHECKSUM_SHA256="29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6" ARCHITECTURES="any" PROVIDES=" $portName = $portVersion " REQUIRES=" haiku " BUILD_REQUIRES=" haiku_devel " PYTHON_VERSIONS=(3.10) defaultVersion=3.10 for pythonVersion in ${PYTHON_VERSIONS[@]}; do pythonPackage=python${pythonVersion//.} eval "PROVIDES_$pythonPackage=\" ${portName}_$pythonPackage = $portVersion \"" eval "REQUIRES_$pythonPackage=\" haiku cmd:python$pythonVersion \"" BUILD_REQUIRES+=" setuptools_$pythonPackage " BUILD_PREREQUIRES+=" cmd:python$pythonVersion " done INSTALL() { for pythonVersion in ${PYTHON_VERSIONS[@]}; do pythonPackage=python${pythonVersion//.} 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 }