Date: Sat, 28 Jul 2018 12:22:52 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475545 - in head/textproc: . py-normality Message-ID: <201807281222.w6SCMqJ1078979@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat Jul 28 12:22:52 2018 New Revision: 475545 URL: https://svnweb.freebsd.org/changeset/ports/475545 Log: Normality is a Python micro-package that contains a small set of text normalization functions for easier re-use. These functions accept a snippet of unicode or utf-8 encoded text and remove various classes of characters, such as diacritics, punctuation etc. This is useful as a preparation to further text analysis. WWW: https://github.com/pudo/normality PR: 229527 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Added: head/textproc/py-normality/ head/textproc/py-normality/Makefile (contents, props changed) head/textproc/py-normality/distinfo (contents, props changed) head/textproc/py-normality/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Jul 28 12:21:38 2018 (r475544) +++ head/textproc/Makefile Sat Jul 28 12:22:52 2018 (r475545) @@ -1329,6 +1329,7 @@ SUBDIR += py-mkdocs-nature SUBDIR += py-mwparserfromhell SUBDIR += py-nltk + SUBDIR += py-normality SUBDIR += py-numpydoc SUBDIR += py-openpyxl SUBDIR += py-openstackdocstheme Added: head/textproc/py-normality/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-normality/Makefile Sat Jul 28 12:22:52 2018 (r475545) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= normality +DISTVERSION= 0.6.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Micro-library to normalize text strings + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}banal>=0:devel/py-banal@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +post-extract: + # Prevents that the tests directory will be installed into site-packages + @(cd ${WRKSRC} && ${MV} tests test) + +.include <bsd.port.mk> Added: head/textproc/py-normality/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-normality/distinfo Sat Jul 28 12:22:52 2018 (r475545) @@ -0,0 +1,3 @@ +TIMESTAMP = 1530200443 +SHA256 (normality-0.6.1.tar.gz) = 739c1b40cfaefabdf537972f0284df5ce0ddb371f9475b764f478cb25bc1c4be +SIZE (normality-0.6.1.tar.gz) = 7887 Added: head/textproc/py-normality/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-normality/pkg-descr Sat Jul 28 12:22:52 2018 (r475545) @@ -0,0 +1,7 @@ +Normality is a Python micro-package that contains a small set of text +normalization functions for easier re-use. These functions accept a snippet of +unicode or utf-8 encoded text and remove various classes of characters, such as +diacritics, punctuation etc. This is useful as a preparation to further text +analysis. + +WWW: https://github.com/pudo/normality
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807281222.w6SCMqJ1078979>