From owner-svn-ports-all@freebsd.org Fri Nov 6 11:12:13 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C51A2EA444; Fri, 6 Nov 2020 11:12:13 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSHlv251Qz3DhP; Fri, 6 Nov 2020 11:12:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 24F4C240A3; Fri, 6 Nov 2020 11:12:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6BC8Ca084987; Fri, 6 Nov 2020 11:12:08 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0A6BC8q3084330; Fri, 6 Nov 2020 11:12:08 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202011061112.0A6BC8q3084330@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 6 Nov 2020 11:12:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r554187 - in head/textproc: . py-anyascii X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/textproc: . py-anyascii X-SVN-Commit-Revision: 554187 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 11:12:13 -0000 Author: sunpoet Date: Fri Nov 6 11:12:07 2020 New Revision: 554187 URL: https://svnweb.freebsd.org/changeset/ports/554187 Log: 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 Added: head/textproc/py-anyascii/ head/textproc/py-anyascii/Makefile (contents, props changed) head/textproc/py-anyascii/distinfo (contents, props changed) head/textproc/py-anyascii/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Fri Nov 6 11:12:02 2020 (r554186) +++ head/textproc/Makefile Fri Nov 6 11:12:07 2020 (r554187) @@ -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 Added: head/textproc/py-anyascii/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-anyascii/Makefile Fri Nov 6 11:12:07 2020 (r554187) @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh +# $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 Added: head/textproc/py-anyascii/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-anyascii/distinfo Fri Nov 6 11:12:07 2020 (r554187) @@ -0,0 +1,3 @@ +TIMESTAMP = 1604480702 +SHA256 (anyascii-0.1.7.tar.gz) = d0eb076933a9eaf1138cb365a5e2e35360ffbbf3200bf33419aaa17d5f8599f5 +SIZE (anyascii-0.1.7.tar.gz) = 194100 Added: head/textproc/py-anyascii/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-anyascii/pkg-descr Fri Nov 6 11:12:07 2020 (r554187) @@ -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