Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 23:23:03 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496695 - in head/textproc: . py-langdetect
Message-ID:  <201903232323.x2NNN3qQ099507@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Sat Mar 23 23:23:03 2019
New Revision: 496695
URL: https://svnweb.freebsd.org/changeset/ports/496695

Log:
  Add langdetect, a port of Google's language-detection library to Python
  
  PR:		236685

Added:
  head/textproc/py-langdetect/
  head/textproc/py-langdetect/Makefile   (contents, props changed)
  head/textproc/py-langdetect/distinfo   (contents, props changed)
  head/textproc/py-langdetect/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Mar 23 23:22:06 2019	(r496694)
+++ head/textproc/Makefile	Sat Mar 23 23:23:03 2019	(r496695)
@@ -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

Added: head/textproc/py-langdetect/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-langdetect/Makefile	Sat Mar 23 23:23:03 2019	(r496695)
@@ -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>

Added: head/textproc/py-langdetect/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-langdetect/distinfo	Sat Mar 23 23:23:03 2019	(r496695)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553008501
+SHA256 (langdetect-1.0.7.zip) = 91a170d5f0ade380db809b3ba67f08e95fe6c6c8641f96d67a51ff7e98a9bf30
+SIZE (langdetect-1.0.7.zip) = 998060

Added: head/textproc/py-langdetect/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-langdetect/pkg-descr	Sat Mar 23 23:23:03 2019	(r496695)
@@ -0,0 +1,4 @@
+Port of Google's language-detection library (version from 03/03/2014)
+to Python.
+
+WWW: https://github.com/Mimino666/langdetect



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903232323.x2NNN3qQ099507>