sip: add python3 recipe.

This commit is contained in:
Jerome Duval
2016-05-13 23:04:26 +02:00
parent 1220cab08b
commit 786a7bc69b
2 changed files with 51 additions and 0 deletions

View File

@@ -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
}

View File

@@ -15,6 +15,7 @@ PATCHES="sip-$portVersion.patch"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
python_sip = $portVersion
cmd:sip = $portVersion
"
REQUIRES="