diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2014-03-09 11:39:25 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-12 12:42:49 -0500 |
commit | 90d67c4fc0ea5b0e8e0ca453cd19077b1a841e4a (patch) | |
tree | c8ae725666d05653f7badfb6e5420cd46bcc9f5b | |
parent | a977798d31f2b649300c9bebc6bfe422863cf5ea (diff) |
python/pycld2: Updated for version 20140206.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/pycld2/pycld2.SlackBuild | 4 | ||||
-rw-r--r-- | python/pycld2/pycld2.info | 6 | ||||
-rw-r--r-- | python/pycld2/unicode.patch | 12 |
3 files changed, 4 insertions, 18 deletions
diff --git a/python/pycld2/pycld2.SlackBuild b/python/pycld2/pycld2.SlackBuild index d8163477f2d85..939eea0103c2d 100644 --- a/python/pycld2/pycld2.SlackBuild +++ b/python/pycld2/pycld2.SlackBuild @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pycld2 -VERSION=${VERSION:-20140131} +VERSION=${VERSION:-20140206} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,8 +51,6 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION -patch -p1 --verbose < $CWD/unicode.patch - # 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 6c5ac6a83b4e4..50caba1bfed74 100644 --- a/python/pycld2/pycld2.info +++ b/python/pycld2/pycld2.info @@ -1,8 +1,8 @@ PRGNAM="pycld2" -VERSION="20140131" +VERSION="20140206" HOMEPAGE="https://code.google.com/p/chromium-compact-language-detector/" -DOWNLOAD="http://jaxartes.net/files/pycld2-20140131.tar.bz2" -MD5SUM="916f6b3806d75b4bba4c1c12d863db46" +DOWNLOAD="http://jaxartes.net/files/pycld2-20140206.tar.bz2" +MD5SUM="28fc2adfcd22e33d6ab88bb08464824a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cld2" diff --git a/python/pycld2/unicode.patch b/python/pycld2/unicode.patch deleted file mode 100644 index 8116d90ef9092..0000000000000 --- a/python/pycld2/unicode.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur pycld2-20140131/encodings.cc pycld2-20140131.b/encodings.cc ---- pycld2-20140131/encodings.cc 2013-08-03 08:43:05.000000000 -0700 -+++ pycld2-20140131.b/encodings.cc 2014-02-01 19:44:06.692623931 -0800 -@@ -40,7 +40,7 @@ - {"CHINESE_GB", CLD2::CHINESE_GB}, - {"CHINESE_EUC_CN", CLD2::CHINESE_EUC_CN}, - {"KOREAN_EUC_KR", CLD2::KOREAN_EUC_KR}, -- {"UNICODE", CLD2::UNICODE}, -+ {"UNICODE", CLD2::UNICODE_UNUSED}, - {"CHINESE_EUC_DEC", CLD2::CHINESE_EUC_DEC}, - {"CHINESE_CNS", CLD2::CHINESE_CNS}, - {"CHINESE_BIG5_CP950", CLD2::CHINESE_BIG5_CP950}, |