summaryrefslogtreecommitdiff
path: root/development/flow
diff options
context:
space:
mode:
Diffstat (limited to 'development/flow')
-rw-r--r--development/flow/README7
-rw-r--r--development/flow/flow.SlackBuild11
-rw-r--r--development/flow/flow.info10
3 files changed, 20 insertions, 8 deletions
diff --git a/development/flow/README b/development/flow/README
index a38b4d172a..8f57f8af17 100644
--- a/development/flow/README
+++ b/development/flow/README
@@ -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.
diff --git a/development/flow/flow.SlackBuild b/development/flow/flow.SlackBuild
index 87713f7645..85d73e0137 100644
--- a/development/flow/flow.SlackBuild
+++ b/development/flow/flow.SlackBuild
@@ -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" \
diff --git a/development/flow/flow.info b/development/flow/flow.info
index fbfaab4b76..62945b7896 100644
--- a/development/flow/flow.info
+++ b/development/flow/flow.info
@@ -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"