svn commit: r523869 - in head/textproc: . py-ftfy
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jan 23 04:21:06 UTC 2020
Author: sunpoet
Date: Thu Jan 23 04:21:04 2020
New Revision: 523869
URL: https://svnweb.freebsd.org/changeset/ports/523869
Log:
Add py-ftfy 5.6
ftfy: fixes text for you
ftfy fixes Unicode that's broken in various ways.
The goal of ftfy is to take in bad Unicode and output good Unicode, for use in
your Unicode-aware code. This is different from taking in non-Unicode and
outputting Unicode, which is not a goal of ftfy. It also isn't designed to
protect you from having to write Unicode-aware code. ftfy helps those who help
themselves.
Of course you're better off if your input is decoded properly and has no
glitches. But you often don't have any control over your input; it's someone
else's mistake, but it's your problem now.
ftfy will do everything it can to fix the problem.
WWW: https://github.com/LuminosoInsight/python-ftfy
Added:
head/textproc/py-ftfy/
head/textproc/py-ftfy/Makefile (contents, props changed)
head/textproc/py-ftfy/distinfo (contents, props changed)
head/textproc/py-ftfy/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Thu Jan 23 04:20:59 2020 (r523868)
+++ head/textproc/Makefile Thu Jan 23 04:21:04 2020 (r523869)
@@ -1259,6 +1259,7 @@
SUBDIR += py-excelerator
SUBDIR += py-feedparser
SUBDIR += py-fingerprints
+ SUBDIR += py-ftfy
SUBDIR += py-gambit-elasticsearch
SUBDIR += py-genshi
SUBDIR += py-gensim
Added: head/textproc/py-ftfy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-ftfy/Makefile Thu Jan 23 04:21:04 2020 (r523869)
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ftfy
+PORTVERSION= 5.6
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Fix some problems with Unicode text after the fact
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python:3.4+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/textproc/py-ftfy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-ftfy/distinfo Thu Jan 23 04:21:04 2020 (r523869)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1579684128
+SHA256 (ftfy-5.6.tar.gz) = 6d7509c45e602dec890f0f6ee0623a8b5f50ec1188ac7ab9535e18e572c99bcc
+SIZE (ftfy-5.6.tar.gz) = 58808
Added: head/textproc/py-ftfy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-ftfy/pkg-descr Thu Jan 23 04:21:04 2020 (r523869)
@@ -0,0 +1,17 @@
+ftfy: fixes text for you
+
+ftfy fixes Unicode that's broken in various ways.
+
+The goal of ftfy is to take in bad Unicode and output good Unicode, for use in
+your Unicode-aware code. This is different from taking in non-Unicode and
+outputting Unicode, which is not a goal of ftfy. It also isn't designed to
+protect you from having to write Unicode-aware code. ftfy helps those who help
+themselves.
+
+Of course you're better off if your input is decoded properly and has no
+glitches. But you often don't have any control over your input; it's someone
+else's mistake, but it's your problem now.
+
+ftfy will do everything it can to fix the problem.
+
+WWW: https://github.com/LuminosoInsight/python-ftfy
More information about the svn-ports-all
mailing list