Add langdetect, a port of Google's language-detection library to Python

PR:		236685
This commit is contained in:
Michael Gmelin
2019-03-23 23:23:03 +00:00
parent ac54569d18
commit 3eff9d67a4
4 changed files with 30 additions and 0 deletions

View File

@@ -1324,6 +1324,7 @@
SUBDIR += py-jsonslicer
SUBDIR += py-jtextfsm
SUBDIR += py-junit-xml
SUBDIR += py-langdetect
SUBDIR += py-laserhammer
SUBDIR += py-libtre
SUBDIR += py-libxml2

View File

@@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= langdetect
PORTVERSION= 1.0.7
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= grembo@FreeBSD.org
COMMENT= Language detection library ported from Google\'s language-detection
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR}
USES= python zip
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1553008501
SHA256 (langdetect-1.0.7.zip) = 91a170d5f0ade380db809b3ba67f08e95fe6c6c8641f96d67a51ff7e98a9bf30
SIZE (langdetect-1.0.7.zip) = 998060

View File

@@ -0,0 +1,4 @@
Port of Google's language-detection library (version from 03/03/2014)
to Python.
WWW: https://github.com/Mimino666/langdetect