mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 23:30:04 +02:00
cython, enable python 2.7 recipe for 32bit (#5472)
This commit is contained in:
@@ -12,18 +12,19 @@ SOURCE_FILENAME="cython-$portVersion.tar.gz"
|
||||
SOURCE_DIR="cython-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
cython_python = $portVersion
|
||||
cmd:cygdb2
|
||||
cmd:cygdb2.7
|
||||
cmd:cython2
|
||||
cmd:cython2.7
|
||||
cmd:cythonize2
|
||||
cmd:cythonize2.7
|
||||
"
|
||||
cython_python$secondaryArchSuffix = $portVersion
|
||||
cmd:cygdb2$secondaryArchSuffix
|
||||
cmd:cygdb2.7$secondaryArchSuffix
|
||||
cmd:cython2$secondaryArchSuffix
|
||||
cmd:cython2.7$secondaryArchSuffix
|
||||
cmd:cythonize2$secondaryArchSuffix
|
||||
cmd:cythonize2.7$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:python2
|
||||
"
|
||||
REPLACES="
|
||||
@@ -31,14 +32,14 @@ REPLACES="
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
setuptools_python
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -56,7 +57,8 @@ INSTALL()
|
||||
$portPackageLinksDir/cmd~python2/bin/python2 setup.py install \
|
||||
--root=/ --prefix=$prefix --skip-build
|
||||
|
||||
mkdir -p $binDir
|
||||
for file in cygdb cython cythonize; \
|
||||
do mv $binDir/$file $binDir/${file}2 ; \
|
||||
do mv $prefix/bin/$file $binDir/${file}2 ; \
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user