From owner-dev-commits-ports-main@freebsd.org Sun Aug 8 15:35:50 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 D9F5265F269; Sun, 8 Aug 2021 15:35:50 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjNbB5p3wz4vCR; Sun, 8 Aug 2021 15:35:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 937EB17147; Sun, 8 Aug 2021 15:35:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 178FZos9089332; Sun, 8 Aug 2021 15:35:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 178FZo82089331; Sun, 8 Aug 2021 15:35:50 GMT (envelope-from git) Date: Sun, 8 Aug 2021 15:35:50 GMT Message-Id: <202108081535.178FZo82089331@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 0d046814fa7e - main - textproc/py-latexcodec: Add py-latexcodec 2.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d046814fa7e89dbd4b2f9b5074f3c80298778b8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2021 15:35:50 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d046814fa7e89dbd4b2f9b5074f3c80298778b8 commit 0d046814fa7e89dbd4b2f9b5074f3c80298778b8 Author: Po-Chuan Hsieh AuthorDate: 2021-08-08 15:35:32 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-08-08 15:35:32 +0000 textproc/py-latexcodec: Add py-latexcodec 2.0.1 The codec provides a convenient way of going between text written in LaTeX and unicode. Since it is not a LaTeX compiler, it is more appropriate for short chunks of text, such as a paragraph or the values of a BibTeX entry, and it is not appropriate for a full LaTeX document. In particular, its behavior on the LaTeX commands that do not simply select characters is intended to allow the unicode representation to be understandable by a human reader, but is not canonical and may require hand tuning to produce the desired effect. WWW: https://github.com/mcmtroffaes/latexcodec --- textproc/Makefile | 1 + textproc/py-latexcodec/Makefile | 22 ++++++++++++++++++++++ textproc/py-latexcodec/distinfo | 3 +++ textproc/py-latexcodec/pkg-descr | 9 +++++++++ 4 files changed, 35 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 270fafda4a72..ca21d62e97cc 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1320,6 +1320,7 @@ SUBDIR += py-langdetect SUBDIR += py-langid SUBDIR += py-laserhammer + SUBDIR += py-latexcodec SUBDIR += py-libxml2 SUBDIR += py-license-expression SUBDIR += py-line-protocol-parser diff --git a/textproc/py-latexcodec/Makefile b/textproc/py-latexcodec/Makefile new file mode 100644 index 000000000000..2a2bffdd4eb1 --- /dev/null +++ b/textproc/py-latexcodec/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= latexcodec +PORTVERSION= 2.0.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Lexer and codec to work with LaTeX code in Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-latexcodec/distinfo b/textproc/py-latexcodec/distinfo new file mode 100644 index 000000000000..e5e3428bc135 --- /dev/null +++ b/textproc/py-latexcodec/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1628171941 +SHA256 (latexcodec-2.0.1.tar.gz) = 2aa2551c373261cefe2ad3a8953a6d6533e68238d180eb4bb91d7964adb3fe9a +SIZE (latexcodec-2.0.1.tar.gz) = 30131 diff --git a/textproc/py-latexcodec/pkg-descr b/textproc/py-latexcodec/pkg-descr new file mode 100644 index 000000000000..a874af4e8107 --- /dev/null +++ b/textproc/py-latexcodec/pkg-descr @@ -0,0 +1,9 @@ +The codec provides a convenient way of going between text written in LaTeX and +unicode. Since it is not a LaTeX compiler, it is more appropriate for short +chunks of text, such as a paragraph or the values of a BibTeX entry, and it is +not appropriate for a full LaTeX document. In particular, its behavior on the +LaTeX commands that do not simply select characters is intended to allow the +unicode representation to be understandable by a human reader, but is not +canonical and may require hand tuning to produce the desired effect. + +WWW: https://github.com/mcmtroffaes/latexcodec