git: 3ea5edf8a731 - main - textproc/py-charset-normalizer: Add py-charset-normalizer 2.0.6
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Sep 21 03:48:42 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3ea5edf8a731cc77bda2e743df9ecceb89a66aca
commit 3ea5edf8a731cc77bda2e743df9ecceb89a66aca
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 03:06:15 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 03:35:08 +0000
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
---
textproc/Makefile | 1 +
textproc/py-charset-normalizer/Makefile | 20 ++++++++++++++++++++
textproc/py-charset-normalizer/distinfo | 3 +++
textproc/py-charset-normalizer/pkg-descr | 6 ++++++
4 files changed, 30 insertions(+)
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 at FreeBSD.org>
+
+PORTNAME= charset-normalizer
+PORTVERSION= 2.0.6
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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
More information about the dev-commits-ports-all
mailing list