diff --git a/dev-python/sip/python3_sip-4.18.recipe b/dev-python/sip/python3_sip-4.18.recipe new file mode 100644 index 000000000..27fbc7544 --- /dev/null +++ b/dev-python/sip/python3_sip-4.18.recipe @@ -0,0 +1,50 @@ +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="2015 Riverbank Computing Limited" +LICENSE="GNU GPL v3" +REVISION="1" +SOURCE_URI="http://sourceforge.net/projects/pyqt/files/sip/sip-$portVersion/sip-$portVersion.tar.gz" +CHECKSUM_SHA256="f1dc5c81c07a9ad97edcd4a0af964a41e420024ba7ca165afd2b351efd249cb6" +SOURCE_DIR="sip-$portVersion" +PATCHES="sip-$portVersion.patch" + +ARCHITECTURES="x86 x86_gcc2 x86_64" + +PROVIDES=" + python3_sip = $portVersion + cmd:sip = $portVersion + " +REQUIRES=" + haiku + cmd:python3 + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:python3 + cmd:gcc + cmd:make + " + +BUILD() +{ + $portPackageLinksDir/cmd~python3/bin/python3 configure.py \ + --platform=haiku-g++ \ + --bindir=$binDir \ + --incdir=$includeDir/python3.5m \ + --destdir=$libDir/python3.5/vendor-packages \ + #--sipdir= \ + + make $jobArgs +} + +INSTALL() +{ + make install +} diff --git a/dev-python/sip/sip-4.18.recipe b/dev-python/sip/python_sip-4.18.recipe similarity index 97% rename from dev-python/sip/sip-4.18.recipe rename to dev-python/sip/python_sip-4.18.recipe index 6b75d7e99..c79929a7e 100644 --- a/dev-python/sip/sip-4.18.recipe +++ b/dev-python/sip/python_sip-4.18.recipe @@ -15,6 +15,7 @@ PATCHES="sip-$portVersion.patch" ARCHITECTURES="x86 x86_gcc2 x86_64" PROVIDES=" + python_sip = $portVersion cmd:sip = $portVersion " REQUIRES="