Add py-anyascii 0.1.7

AnyAscii converts Unicode text to a reasonable representation using only ASCII.

For most characters in Unicode, AnyAscii provides an ASCII-only replacement
string. Text is converted character-by-character without considering the
context. The mappings for each script are based on popular existing romanization
schemes. Symbolic characters are converted based on their meaning or appearance.
All ASCII characters in the input are left unchanged, every other character is
replaced with printable ASCII characters. Unknown characters are removed.

WWW: https://github.com/anyascii/anyascii
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-11-06 11:12:07 +00:00
parent cbcbe4f066
commit 4c742d38f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554187
4 changed files with 40 additions and 0 deletions

View file

@ -1228,6 +1228,7 @@
SUBDIR += py-agate-dbf
SUBDIR += py-agate-excel
SUBDIR += py-alabaster
SUBDIR += py-anyascii
SUBDIR += py-arabic-reshaper
SUBDIR += py-asciinema
SUBDIR += py-asonic

View file

@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= anyascii
PORTVERSION= 0.1.7
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Unicode to ASCII transliteration
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.3+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1604480702
SHA256 (anyascii-0.1.7.tar.gz) = d0eb076933a9eaf1138cb365a5e2e35360ffbbf3200bf33419aaa17d5f8599f5
SIZE (anyascii-0.1.7.tar.gz) = 194100

View file

@ -0,0 +1,10 @@
AnyAscii converts Unicode text to a reasonable representation using only ASCII.
For most characters in Unicode, AnyAscii provides an ASCII-only replacement
string. Text is converted character-by-character without considering the
context. The mappings for each script are based on popular existing romanization
schemes. Symbolic characters are converted based on their meaning or appearance.
All ASCII characters in the input are left unchanged, every other character is
replaced with printable ASCII characters. Unknown characters are removed.
WWW: https://github.com/anyascii/anyascii