aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-01-25 03:29:22 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:59:05 +0700
commit40c995ddf8248eb59e7785a81f7d0ce0e293b83d (patch)
tree76484460e7575c94283be2b94e8d5e05bf5dde7b
parenteb31bf21473f198309d9c5c09175aa8a705d5404 (diff)
python/pycld2: Updated for version 20151111.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--python/pycld2/pycld2.SlackBuild10
-rw-r--r--python/pycld2/pycld2.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/python/pycld2/pycld2.SlackBuild b/python/pycld2/pycld2.SlackBuild
index 939eea0103c2d..b000cc9b40a38 100644
--- a/python/pycld2/pycld2.SlackBuild
+++ b/python/pycld2/pycld2.SlackBuild
@@ -25,7 +25,9 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycld2
-VERSION=${VERSION:-20140206}
+SRCNAM=chromium-compact-language-detector
+SRCREV=baaa737cb7fbd073df3ce3627b9d9e24e0f2753b
+VERSION=${VERSION:-20151111}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$SRCREV
+tar xvf $CWD/$SRCNAM-$SRCREV.tar.gz || tar xvf $CWD/$SRCREV.tar.gz
+cd $SRCNAM-$SRCREV
# Fix location of header files
sed -i "s/^CLD2_PATH.*$/CLD2_PATH = \'\/usr\/include\/cld2\'/" setup*.py
diff --git a/python/pycld2/pycld2.info b/python/pycld2/pycld2.info
index 50caba1bfed74..a485acbae86b4 100644
--- a/python/pycld2/pycld2.info
+++ b/python/pycld2/pycld2.info
@@ -1,7 +1,7 @@
PRGNAM="pycld2"
-VERSION="20140206"
-HOMEPAGE="https://code.google.com/p/chromium-compact-language-detector/"
-DOWNLOAD="http://jaxartes.net/files/pycld2-20140206.tar.bz2"
+VERSION="20151111"
+HOMEPAGE="https://github.com/mikemccand/chromium-compact-language-detector"
+DOWNLOAD="https://github.com/mikemccand/chromium-compact-language-detector/archive/baaa737cb7fbd073df3ce3627b9d9e24e0f2753b.tar.gz"
MD5SUM="28fc2adfcd22e33d6ab88bb08464824a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""