From c121c38b22af642aeb21f14869faa186219a6294 Mon Sep 17 00:00:00 2001 From: OscarL Date: Tue, 11 Mar 2025 15:10:33 -0300 Subject: [PATCH] (Python) pathtools: drop recipe. (#11895) Nothing uses it on-tree. Last release in 2011, last commit 9 years ago. Let people pip install this if they need it. --- .../py_pathtools/py_pathtools-0.1.2.recipe | 64 ------------------- 1 file changed, 64 deletions(-) delete mode 100644 dev-python/py_pathtools/py_pathtools-0.1.2.recipe diff --git a/dev-python/py_pathtools/py_pathtools-0.1.2.recipe b/dev-python/py_pathtools/py_pathtools-0.1.2.recipe deleted file mode 100644 index ce5b2caac..000000000 --- a/dev-python/py_pathtools/py_pathtools-0.1.2.recipe +++ /dev/null @@ -1,64 +0,0 @@ -SUMMARY="Path utilities for Python " -DESCRIPTION="Pattern matching and various utilities for file systems paths." -HOMEPAGE="https://github.com/gorakhargosh/pathtools" -COPYRIGHT="2010 Yesudeep Mangalapilly" -LICENSE="MIT" -REVISION="9" -SOURCE_URI="https://pypi.python.org/packages/source/p/pathtools/pathtools-$portVersion.tar.gz" -CHECKSUM_SHA256="7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0" -SOURCE_DIR="pathtools-$portVersion" - -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 - \"" - eval "REQUIRES_$pythonPackage=\" - haiku - cmd:python$pythonVersion - \"" - BUILD_REQUIRES+=" - setuptools_$pythonPackage - " - 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 -}