From b4ff79df6a487a94e9256e33e64e5bafae69cd56 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 20 Nov 2015 08:20:02 +0000 Subject: [PATCH] [NEW] textproc/py3-chardet: Universal encoding detector for Python 3 - Python3 specific version for textproc/py-chardet Character encoding auto-detection in Python. WWW: https://github.com/chardet/chardet/ --- textproc/Makefile | 1 + textproc/py3-chardet/Makefile | 20 ++++++++++++++++++++ textproc/py3-chardet/distinfo | 2 ++ textproc/py3-chardet/pkg-descr | 3 +++ 4 files changed, 26 insertions(+) create mode 100644 textproc/py3-chardet/Makefile create mode 100644 textproc/py3-chardet/distinfo create mode 100644 textproc/py3-chardet/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index 5bae425d5db1..e6bfdd969db3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1300,6 +1300,7 @@ SUBDIR += py-zope.tal SUBDIR += py-zpt SUBDIR += py2html + SUBDIR += py3-chardet SUBDIR += py3-libxml2 SUBDIR += py3-MarkupSafe SUBDIR += pychm diff --git a/textproc/py3-chardet/Makefile b/textproc/py3-chardet/Makefile new file mode 100644 index 000000000000..e6d2962aa58e --- /dev/null +++ b/textproc/py3-chardet/Makefile @@ -0,0 +1,20 @@ +# Created by: Muhammad Moinur Rahman +# $FreeBSD$ + +PORTNAME= chardet +PORTVERSION= 2.3.0 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Universal encoding detector for Python 3 + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3 +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include diff --git a/textproc/py3-chardet/distinfo b/textproc/py3-chardet/distinfo new file mode 100644 index 000000000000..d3c1414e6dea --- /dev/null +++ b/textproc/py3-chardet/distinfo @@ -0,0 +1,2 @@ +SHA256 (chardet-2.3.0.tar.gz) = e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa +SIZE (chardet-2.3.0.tar.gz) = 164346 diff --git a/textproc/py3-chardet/pkg-descr b/textproc/py3-chardet/pkg-descr new file mode 100644 index 000000000000..9a2771673397 --- /dev/null +++ b/textproc/py3-chardet/pkg-descr @@ -0,0 +1,3 @@ +Character encoding auto-detection in Python. + +WWW: https://github.com/chardet/chardet/