development/flow: Updated for version 0.31.0.

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
Ryan P.C. McQuen 2016-08-23 19:39:11 -07:00 committed by David Spencer
parent 1a89c325b1
commit 52a1351f66
3 changed files with 20 additions and 8 deletions

View file

@ -9,3 +9,10 @@ so you can mix statically typed code with dynamic code.
Flow also supports a highly expressive type language.
Flow types can express much more fine-grained distinctions than traditional type systems.
For example, Flow helps you catch errors involving null, unlike most type systems.
NOTE:
Flow does not support 32-bit systems, but there is a commented out patch
included here that will allow it to build. Note that although `flow` will
compile and run on a 32-bit system with this patch, it will not pass the
built-in tests. The patch is included in the hopes that someone brave enough
will investigate this and help upstream deliver 32-bit support.

View file

@ -23,7 +23,7 @@
# <https://www.gnu.org/licenses/>.
PRGNAM=flow
VERSION=${VERSION:-0.30.0}
VERSION=${VERSION:-0.31.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -73,8 +73,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
## Fix building on 32-bit.
patch -p1 < $CWD/$PRGNAM-noarch.patch
## This patch allows `flow` to
## be built on 32-bit systems.
## Although, `flow` doesn't pass its
## built-in tests on 32-bit,
## I'm leaving it here in case anyone
## decides to investigate that.
#patch -p1 < $CWD/$PRGNAM-noarch.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \

View file

@ -1,10 +1,10 @@
PRGNAM="flow"
VERSION="0.30.0"
VERSION="0.31.0"
HOMEPAGE="http://flowtype.org/"
DOWNLOAD="https://github.com/facebook/flow/archive/v0.30.0.tar.gz"
MD5SUM="8d11d121d5c6624a0233d2b22efd4011"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/facebook/flow/archive/v0.31.0.tar.gz"
MD5SUM_x86_64="8027306a768c73fa5caaac7e1c0e4db9"
REQUIRES="ocamlbuild"
MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryan.q@linux.com"