From 80628bd3cb8edbd4ce83757423f3a4c4595f3a09 Mon Sep 17 00:00:00 2001 From: OscarL Date: Sat, 15 Mar 2025 01:32:40 -0300 Subject: [PATCH] oslash: drop unused recipe. (#11989) Added in 8afb6c94153d017e714eda4b38564f0c61158b7b for jsonrpcserver. Not required since c213d403e49a22ce061d8afcfe78a3638fe44894. Users should try to `pip install` this, if they need it. --- dev-python/oslash/oslash-0.6.3.recipe | 75 --------------------------- 1 file changed, 75 deletions(-) delete mode 100644 dev-python/oslash/oslash-0.6.3.recipe diff --git a/dev-python/oslash/oslash-0.6.3.recipe b/dev-python/oslash/oslash-0.6.3.recipe deleted file mode 100644 index 4921b485e..000000000 --- a/dev-python/oslash/oslash-0.6.3.recipe +++ /dev/null @@ -1,75 +0,0 @@ -SUMMARY="Functors, Applicatives, And Monads in Python" -DESCRIPTION="OSlash (Ø) is a library for playing with functional programming in \ -Python 3.8+. It's an attempt to re-implement some of the code from Learn You a \ -Haskell for Great Good! in Python 3.8. OSlash unifies functional and object \ -oriented paradigms by grouping related functions within classes. Objects are \ -however never used for storing values or mutable data, and data only lives within \ -function closures. - -OSlash is intended to be a tutorial. For practical functional programming in Python \ -in production environments you should use FSlash instead." -HOMEPAGE="https://github.com/dbrattli/oslash" -COPYRIGHT="Dag Brattli" -LICENSE="MIT" -REVISION="1" -SOURCE_URI="https://pypi.io/packages/source/${portName:0:1}/$portName/OSlash-$portVersion.tar.gz" -CHECKSUM_SHA256="868aeb58a656f2ed3b73d9dd6abe387b20b74fc9413d3e8653b615b15bf728f3" -SOURCE_DIR="OSlash-$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 - typing_extensions_$pythonPackage - cmd:python$pythonVersion - \"" - BUILD_REQUIRES+=" - pip_$pythonPackage - 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 -}