mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
sip: add python3 recipe.
This commit is contained in:
50
dev-python/sip/python3_sip-4.18.recipe
Normal file
50
dev-python/sip/python3_sip-4.18.recipe
Normal 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
|
||||
}
|
||||
@@ -15,6 +15,7 @@ PATCHES="sip-$portVersion.patch"
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
python_sip = $portVersion
|
||||
cmd:sip = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
Reference in New Issue
Block a user