textproc/py-faust-cchardet: New port: High speed universal character encoding detector

This commit is contained in:
Yuri Victorovich 2023-10-22 11:30:05 -07:00
parent eef70d0994
commit e79df2beed
4 changed files with 33 additions and 0 deletions

View File

@ -1359,6 +1359,7 @@
SUBDIR += py-evtx2splunk
SUBDIR += py-extract-msg
SUBDIR += py-fastavro
SUBDIR += py-faust-cchardet
SUBDIR += py-feedparser
SUBDIR += py-fingerprints
SUBDIR += py-fluent.syntax

View File

@ -0,0 +1,26 @@
PORTNAME= faust-cchardet
DISTVERSION= 2.1.19
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= High speed universal character encoding detector
WWW= https://github.com/faust-streaming/cChardet
LICENSE= MPL11
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 cython concurrent autoplist pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cchardet/_cchardet${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1697998709
SHA256 (faust-cchardet-2.1.19.tar.gz) = f89386297cde0c8e0f5e21464bc2d6d0e4a4fc1b1d77cdb238ca24d740d872e0
SIZE (faust-cchardet-2.1.19.tar.gz) = 678871

View File

@ -0,0 +1,3 @@
faust-cchardet, and called cChardet, is a universal character encoding detector.
It supports a lot of languages and encodings.