Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 04:21:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523869 - in head/textproc: . py-ftfy
Message-ID:  <202001230421.00N4L55J034460@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	ftfy
+PORTVERSION=	5.6
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@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



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