diff --git a/dev-python/argh/argh-0.28.1.recipe b/dev-python/argh/argh-0.28.1.recipe deleted file mode 100644 index 06d7fe6a8..000000000 --- a/dev-python/argh/argh-0.28.1.recipe +++ /dev/null @@ -1,63 +0,0 @@ -SUMMARY="An unobtrusive argparse wrapper with natural syntax" -DESCRIPTION="Building a command-line interface? \ -Found yourself uttering "argh!" while struggling with the API of argparse? \ -Don't like the complexity but need the power? -Argh is a smart wrapper for argparse. Argparse is a very powerful tool; \ -Argh just makes it easy to use." -HOMEPAGE="https://pypi.python.org/pypi/argh" -COPYRIGHT="2010-2023 Andrey Mikhaylenko and contributors" -LICENSE="GNU LGPL v3" -REVISION="2" -pypiVersion="b2/03/7cad222e3aed5ed668c3c93c35f7ee866bc1da5cdcac945275f45e8caf80" -SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/$portName-$portVersion-py3-none-any.whl#noarchive" -CHECKSUM_SHA256="10e7311f3ea54a78a366e5456900d8b81049f44d8d653b524eb90cf7d29a71ee" - -ARCHITECTURES="any" - -PROVIDES=" - $portName = $portVersion - " -REQUIRES=" - haiku - " - -BUILD_REQUIRES=" - haiku_devel - " - -PYTHON_PACKAGES=(python39 python310) -PYTHON_VERSIONS=(3.9 3.10) -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\ - \"" -BUILD_REQUIRES="$BUILD_REQUIRES - installer_$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 - - $python -m installer -p $prefix $portName-$portVersion-py3-none-any.whl - - packageEntries $pythonPackage \ - $prefix/lib/python* - done -}