freebsd-ports/textproc/py-normality/Makefile
Martin Wilke c434e1fb8b 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.
2018-07-28 12:22:52 +00:00

28 lines
698 B
Makefile

# $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>