mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
cython: bump version (#1086)
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
SUMMARY="Optimising static compiler for Python"
|
||||
DESCRIPTION="Cython is an optimising static compiler for both the Python \
|
||||
programming language and the extended Cython programming language (based on \
|
||||
Pyrex). It makes writing C extensions for Python as easy as Python itself."
|
||||
HOMEPAGE="http://cython.org"
|
||||
COPYRIGHT="Stefan Behnel, Robert Bradshaw, Lisandro Dalcin, Mark Florisson, \
|
||||
Vitja Makarov, Dag Sverre Seljebotn"
|
||||
LICENSE="Apache v2"
|
||||
SOURCE_URI="http://cython.org/release/Cython-0.20.2.tar.gz"
|
||||
CHECKSUM_SHA256="ed13b606a2aeb5bd6c235f8ed6c9988c99d01a033d0d21d56137c13d5c7be63f"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
cython = $portVersion
|
||||
cmd:cygdb
|
||||
cmd:cython
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:python
|
||||
"
|
||||
|
||||
SOURCE_DIR="Cython-$portVersion"
|
||||
BUILD()
|
||||
{
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python setup.py install --prefix=$prefix
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
SUMMARY="Optimising static compiler for Python"
|
||||
DESCRIPTION="Cython is an optimising static compiler for both the Python \
|
||||
programming language and the extended Cython programming language (based on \
|
||||
Pyrex). It makes writing C extensions for Python as easy as Python itself."
|
||||
HOMEPAGE="http://cython.org"
|
||||
COPYRIGHT="Stefan Behnel, Robert Bradshaw, Lisandro Dalcin, Mark Florisson, \
|
||||
Vitja Makarov, Dag Sverre Seljebotn"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/b3/89/e8dddc86bf4f144407962e04c4018f53dfe4d6ae5010d34573d8521e810e/Cython-0.23.4.tar.gz"
|
||||
CHECKSUM_SHA256="fec42fecee35d6cc02887f1eef4e4952c97402ed2800bfe41bbd9ed1a0730d8e"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
SOURCE_DIR="Cython-$portVersion"
|
||||
|
||||
PROVIDES="
|
||||
cython = $portVersion
|
||||
cmd:cygdb
|
||||
cmd:cython
|
||||
cmd:cythonize
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:python
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python setup.py install --prefix=$prefix
|
||||
}
|
||||
55
dev-python/cython/python3_cython-0.25.2.recipe
Normal file
55
dev-python/cython/python3_cython-0.25.2.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="Optimising static compiler for Python"
|
||||
DESCRIPTION="Cython is an optimising static compiler for both the Python \
|
||||
programming language and the extended Cython programming language (based on \
|
||||
Pyrex). It makes writing C extensions for Python as easy as Python itself."
|
||||
HOMEPAGE="http://cython.org/"
|
||||
COPYRIGHT="2007-2016 Stefan Behnel, Robert Bradshaw, et al."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/b7/67/7e2a817f9e9c773ee3995c1e15204f5d01c8da71882016cac10342ef031b/Cython-0.25.2.tar.gz"
|
||||
CHECKSUM_SHA256="f141d1f9c27a07b5a93f7dc5339472067e2d7140d1c5a9e20112a5665ca60306"
|
||||
SOURCE_DIR="Cython-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
python3_cython = $portVersion
|
||||
cmd:cygdb3
|
||||
cmd:cython3
|
||||
cmd:cythonize3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
python3_setuptools
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python3/bin/python3 setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
pythonVersion=$(python3 --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
mkdir -p $installLocation
|
||||
|
||||
$portPackageLinksDir/cmd~python3/bin/python3 setup.py install \
|
||||
--prefix=$prefix --skip-build
|
||||
|
||||
for file in cygdb cython cythonize; \
|
||||
do mv $binDir/$file $binDir/${file}3 ; \
|
||||
done
|
||||
}
|
||||
55
dev-python/cython/python_cython-0.25.2.recipe
Normal file
55
dev-python/cython/python_cython-0.25.2.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="Optimising static compiler for Python"
|
||||
DESCRIPTION="Cython is an optimising static compiler for both the Python \
|
||||
programming language and the extended Cython programming language (based on \
|
||||
Pyrex). It makes writing C extensions for Python as easy as Python itself."
|
||||
HOMEPAGE="http://cython.org/"
|
||||
COPYRIGHT="2007-2016 Stefan Behnel, Robert Bradshaw, et al."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/b7/67/7e2a817f9e9c773ee3995c1e15204f5d01c8da71882016cac10342ef031b/Cython-0.25.2.tar.gz"
|
||||
CHECKSUM_SHA256="f141d1f9c27a07b5a93f7dc5339472067e2d7140d1c5a9e20112a5665ca60306"
|
||||
SOURCE_DIR="Cython-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
python_cython = $portVersion
|
||||
cmd:cygdb2
|
||||
cmd:cython2
|
||||
cmd:cythonize2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
python_setuptools
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python2/bin/python2 setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
pythonVersion=$(python2 --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
mkdir -p $installLocation
|
||||
|
||||
$portPackageLinksDir/cmd~python2/bin/python2 setup.py install \
|
||||
--prefix=$prefix --skip-build
|
||||
|
||||
for file in cygdb cython cythonize; \
|
||||
do mv $binDir/$file $binDir/${file}2 ; \
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user