Add langdetect, a port of Google's language-detection library to Python
PR: 236685
This commit is contained in:
@@ -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
|
||||
|
||||
22
textproc/py-langdetect/Makefile
Normal file
22
textproc/py-langdetect/Makefile
Normal 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>
|
||||
3
textproc/py-langdetect/distinfo
Normal file
3
textproc/py-langdetect/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1553008501
|
||||
SHA256 (langdetect-1.0.7.zip) = 91a170d5f0ade380db809b3ba67f08e95fe6c6c8641f96d67a51ff7e98a9bf30
|
||||
SIZE (langdetect-1.0.7.zip) = 998060
|
||||
4
textproc/py-langdetect/pkg-descr
Normal file
4
textproc/py-langdetect/pkg-descr
Normal 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
|
||||
Reference in New Issue
Block a user