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:
parent
cbcbe4f066
commit
4c742d38f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554187
@ -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
|
||||
|
26
textproc/py-anyascii/Makefile
Normal file
26
textproc/py-anyascii/Makefile
Normal 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>
|
3
textproc/py-anyascii/distinfo
Normal file
3
textproc/py-anyascii/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1604480702
|
||||
SHA256 (anyascii-0.1.7.tar.gz) = d0eb076933a9eaf1138cb365a5e2e35360ffbbf3200bf33419aaa17d5f8599f5
|
||||
SIZE (anyascii-0.1.7.tar.gz) = 194100
|
10
textproc/py-anyascii/pkg-descr
Normal file
10
textproc/py-anyascii/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user