View | Details | Raw Unified | Return to bug 229527
Collapse All | Expand All

(-)py-normality/Makefile (+28 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	normality
4
DISTVERSION=	0.6.1
5
CATEGORIES=	textproc python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	freebsd_ports@k-worx.org
10
COMMENT=	Micro-library to normalize text strings
11
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}banal>=0:devel/py-banal@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR}
18
19
USES=		python
20
USE_PYTHON=	distutils autoplist
21
22
NO_ARCH=	yes
23
24
post-extract:
25
	# Prevents that the tests directory will be installed into site-packages
26
	@(cd ${WRKSRC} && ${MV} tests test)
27
28
.include <bsd.port.mk>
(-)py-normality/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1530200443
2
SHA256 (normality-0.6.1.tar.gz) = 739c1b40cfaefabdf537972f0284df5ce0ddb371f9475b764f478cb25bc1c4be
3
SIZE (normality-0.6.1.tar.gz) = 7887
(-)py-normality/pkg-descr (+7 lines)
Line 0 Link Here
1
Normality is a Python micro-package that contains a small set of text
2
normalization functions for easier re-use. These functions accept a snippet of
3
unicode or utf-8 encoded text and remove various classes of characters, such as
4
diacritics, punctuation etc. This is useful as a preparation to further text
5
analysis.
6
7
WWW: https://github.com/pudo/normality

Return to bug 229527