diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/pycld2/pycld2.SlackBuild | 10 | ||||
-rw-r--r-- | python/pycld2/pycld2.info | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/python/pycld2/pycld2.SlackBuild b/python/pycld2/pycld2.SlackBuild index 939eea0103..b000cc9b40 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 50caba1bfe..a485acbae8 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="" |