From 07319e69e8f85c70458ea8a450493ef94370d0e1 Mon Sep 17 00:00:00 2001 From: OscarL Date: Thu, 13 Mar 2025 02:27:41 -0300 Subject: [PATCH] flit: drop outdated and unused recipe. (#11933) Never referenced on-tree since introduced. Provides `cmd:flit`, but that's only useful to publish python modules on PyPi. Uusers needing it should know how to `pip install` it. --- dev-python/flit/flit-3.7.1.recipe | 63 ------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 dev-python/flit/flit-3.7.1.recipe diff --git a/dev-python/flit/flit-3.7.1.recipe b/dev-python/flit/flit-3.7.1.recipe deleted file mode 100644 index afaae1a11..000000000 --- a/dev-python/flit/flit-3.7.1.recipe +++ /dev/null @@ -1,63 +0,0 @@ -SUMMARY="A simple packaging tool for simple packages" -DESCRIPTION="**Flit** is a simple way to put Python packages and modules on PyPI. -It tries to require less thought about packaging and help you avoid common -mistakes." -HOMEPAGE="https://pypi.org/project/flit/" -COPYRIGHT="2015 Thomas Kluyver and contributors" -LICENSE="BSD (3-clause)" -REVISION="4" -pypiVersion="f8/81/5281e3f50a238d1169cc5c4c3acec91c631da79962d387ea843083bd151e" -SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/flit-$portVersion-py3-none-any.whl#noarchive" -CHECKSUM_SHA256="06a93a6737fa9380ba85fe8d7f28efb6c93c4f4ee9c7d00cc3375a81f33b91a4" - -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\n\ - cmd:flit\ - \"; \ -REQUIRES_$pythonPackage=\"\ - haiku\n\ - cmd:python$pythonVersion\ - \"" -BUILD_REQUIRES="$BUILD_REQUIRES - setuptools_$pythonPackage" -BUILD_PREREQUIRES="$BUILD_PREREQUIRES - installer_$pythonPackage - 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 -m installer -p $prefix flit-$portVersion-py3-none-any.whl - - packageEntries $pythonPackage \ - $prefix/lib/python* \ - $prefix/bin - done -}