From 2496d0644df28059a58bd740faf2ad68398f86a3 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 1 Apr 2021 14:59:45 +0200 Subject: [PATCH] sip: remove old recipe --- dev-python/sip/sip-4.19.19.recipe | 136 ------------------------------ 1 file changed, 136 deletions(-) delete mode 100644 dev-python/sip/sip-4.19.19.recipe diff --git a/dev-python/sip/sip-4.19.19.recipe b/dev-python/sip/sip-4.19.19.recipe deleted file mode 100644 index c44458105..000000000 --- a/dev-python/sip/sip-4.19.19.recipe +++ /dev/null @@ -1,136 +0,0 @@ -SUMMARY="A tool to create Python bindings for C and C++ libraries" -DESCRIPTION="SIP comprises a code generator and a Python module. The code generator \ -processes a set of specification files and generates C or C++ code which is \ -then compiled to create the bindings extension module. The SIP Python \ -module provides support functions to the automatically generated code." -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/" -COPYRIGHT="2019 Riverbank Computing Limited" -LICENSE="GNU GPL v2 - GNU GPL v3 - SIP" -REVISION="1" -SOURCE_URI="https://www.riverbankcomputing.com/static/Downloads/sip/$portVersion/sip-$portVersion.tar.gz" -CHECKSUM_SHA256="5436b61a78f48c7e8078e93a6b59453ad33780f80c644e5f3af39f94be1ede44" -SOURCE_DIR="sip-$portVersion" - -ARCHITECTURES="!x86_gcc2 x86 x86_64" -if [ "$targetArchitecture" = "x86_gcc2" ]; then -SECONDARY_ARCHITECTURES="x86" -fi - -commandBinDir=$binDir -if [ "$targetArchitecture" = "x86_gcc2" ]; then - commandBinDir=$prefix/bin -fi - -PROVIDES=" - sip$secondaryArchSuffix = $portVersion - cmd:sip = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - " -BUILD_PREREQUIRES=" - cmd:gcc$secondaryArchSuffix - cmd:make - " - -PYTHON_PACKAGES=(python python36 python3) -PYTHON_VERSIONS=(2.7 3.6 3.7) -for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} - - maybe_sipNoSuffix= - maybe_sipPyQtNoSuffix= - if [ "$targetArchitecture" = "x86_gcc2" ]; then - maybe_sipNoSuffix="sip_$pythonPackage = $portVersion" - maybe_sipPyQtNoSuffix="sip_pyqt_$pythonPackage = $portVersion" - fi - - eval " - PROVIDES_${pythonPackage}=\" - sip${secondaryArchSuffix}_$pythonPackage = $portVersion - $maybe_sipNoSuffix - \" - REQUIRES_$pythonPackage=\" - haiku$secondaryArchSuffix - cmd:python$pythonVersion - \" - PROVIDES_pyqt_${pythonPackage}=\" - sip${secondaryArchSuffix}_pyqt_${pythonPackage} = $portVersion - $maybe_sipPyQtNoSuffix - \" - REQUIRES_pyqt_${pythonPackage}=\" - haiku$secondaryArchSuffix - cmd:python$pythonVersion - \" - " - - BUILD_PREREQUIRES+=" - cmd:python$pythonVersion - " -done - -BUILD() -{ - 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" - - mkdir -p build_$pythonPackage build_pyqt_$pythonPackage - cd build_$pythonPackage - - $python ../configure.py \ - --platform=haiku-g++ \ - --bindir=$commandBinDir \ - --incdir=$includeDir \ - --destdir=$installLocation - make $jobArgs - - cd ../build_pyqt_$pythonPackage - $python ../configure.py \ - --platform=haiku-g++ \ - --bindir=$commandBinDir \ - --incdir=$includeDir \ - --destdir=$installLocation \ - --sip-module PyQt5.sip \ - --no-tools - make $jobArgs - - cd .. - 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/ - - cd build_$pythonPackage - make install - - packageEntries $pythonPackage \ - "$prefix/lib/$python" - - cd ../build_pyqt_$pythonPackage - make install - - packageEntries pyqt_$pythonPackage \ - "$prefix/lib/$python" - - cd .. - done -}