dev-python/cython: version bump. (#2126)

This commit is contained in:
netpositive36
2018-02-14 01:32:17 +01:00
committed by waddlesplash
parent c32007fe60
commit d147521504
2 changed files with 20 additions and 15 deletions

View File

@@ -3,17 +3,18 @@ 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."
COPYRIGHT="2007-2017 Stefan Behnel, Robert Bradshaw, et al."
LICENSE="Apache v2"
REVISION="2"
SOURCE_URI="https://pypi.python.org/packages/b7/67/7e2a817f9e9c773ee3995c1e15204f5d01c8da71882016cac10342ef031b/Cython-0.25.2.tar.gz"
CHECKSUM_SHA256="f141d1f9c27a07b5a93f7dc5339472067e2d7140d1c5a9e20112a5665ca60306"
SOURCE_DIR="Cython-$portVersion"
REVISION="1"
SOURCE_URI="https://github.com/cython/cython/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="648feb8a257574a3e4ef854475e7d767732ef26e870d2f9fcc1ca5b244b3ac89"
SOURCE_DIR="cython-$portVersion"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
PROVIDES="
python_cython = $portVersion
cython_python = $portVersion
cmd:cygdb2
cmd:cython2
cmd:cythonize2
@@ -22,7 +23,9 @@ REQUIRES="
haiku
cmd:python2
"
REPLACES="
python_cython
"
BUILD_REQUIRES="
haiku_devel
setuptools_python

View File

@@ -3,18 +3,19 @@ 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."
COPYRIGHT="2007-2017 Stefan Behnel, Robert Bradshaw, et al."
LICENSE="Apache v2"
REVISION="2"
SOURCE_URI="https://pypi.python.org/packages/b7/67/7e2a817f9e9c773ee3995c1e15204f5d01c8da71882016cac10342ef031b/Cython-0.25.2.tar.gz"
CHECKSUM_SHA256="f141d1f9c27a07b5a93f7dc5339472067e2d7140d1c5a9e20112a5665ca60306"
SOURCE_DIR="Cython-$portVersion"
REVISION="1"
SOURCE_URI="https://github.com/cython/cython/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="648feb8a257574a3e4ef854475e7d767732ef26e870d2f9fcc1ca5b244b3ac89"
SOURCE_DIR="cython-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
python3_cython$secondaryArchSuffix = $portVersion
cython_python3$secondaryArchSuffix = $portVersion
cmd:cygdb3$secondaryArchSuffix
cmd:cython3$secondaryArchSuffix
cmd:cythonize3$secondaryArchSuffix
@@ -23,7 +24,9 @@ REQUIRES="
haiku$secondaryArchSuffix
cmd:python3
"
REPLACES="
python3_cython
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
setuptools_python3
@@ -50,7 +53,6 @@ INSTALL()
$portPackageLinksDir/cmd~python3/bin/python3 setup.py install \
--prefix=$prefix --skip-build
mkdir $binDir
for file in cygdb cython cythonize; \
do mv $prefix/bin/$file $binDir/${file}3 ; \
done