diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-09-21 03:06:15 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-09-21 03:35:08 +0000 |
| commit | 3ea5edf8a731cc77bda2e743df9ecceb89a66aca (patch) | |
| tree | 6033eb81f6023f2481c5ae713306a9ecc1b667f6 | |
| parent | cc7cd6a77051deb9e9b11bcab369a264d8529250 (diff) | |
textproc/py-charset-normalizer: Add py-charset-normalizer 2.0.6
A library that helps you read text from an unknown charset encoding. Motivated
by chardet, I'm trying to resolve the issue by taking a new approach. All IANA
character set names for which the Python core library provides codecs are
supported.
WWW: https://github.com/Ousret/charset_normalizer
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-charset-normalizer/Makefile | 20 | ||||
| -rw-r--r-- | textproc/py-charset-normalizer/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-charset-normalizer/pkg-descr | 6 |
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index a4ebd09c4b28..64f624ff971b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1257,6 +1257,7 @@ SUBDIR += py-bracex SUBDIR += py-cchardet SUBDIR += py-chardet + SUBDIR += py-charset-normalizer SUBDIR += py-citeproc-py SUBDIR += py-citeproc-py-styles SUBDIR += py-cjkwrap diff --git a/textproc/py-charset-normalizer/Makefile b/textproc/py-charset-normalizer/Makefile new file mode 100644 index 000000000000..8b9725c662c7 --- /dev/null +++ b/textproc/py-charset-normalizer/Makefile @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= charset-normalizer +PORTVERSION= 2.0.6 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Real First Universal Charset Detector + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-charset-normalizer/distinfo b/textproc/py-charset-normalizer/distinfo new file mode 100644 index 000000000000..e957a415fe36 --- /dev/null +++ b/textproc/py-charset-normalizer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632036830 +SHA256 (charset-normalizer-2.0.6.tar.gz) = 5ec46d183433dcbd0ab716f2d7f29d8dee50505b3fdb40c6b985c7c4f5a3591f +SIZE (charset-normalizer-2.0.6.tar.gz) = 361879 diff --git a/textproc/py-charset-normalizer/pkg-descr b/textproc/py-charset-normalizer/pkg-descr new file mode 100644 index 000000000000..6029002e196b --- /dev/null +++ b/textproc/py-charset-normalizer/pkg-descr @@ -0,0 +1,6 @@ +A library that helps you read text from an unknown charset encoding. Motivated +by chardet, I'm trying to resolve the issue by taking a new approach. All IANA +character set names for which the Python core library provides codecs are +supported. + +WWW: https://github.com/Ousret/charset_normalizer |
