Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2020 11:12:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r554187 - in head/textproc: . py-anyascii
Message-ID:  <202011061112.0A6BC8q3084330@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <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>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011061112.0A6BC8q3084330>