1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2021-08-08 23:35:32 +08:00
parent 72dfefa92d
commit 0d046814fa
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 35 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,22 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1628171941
SHA256 (latexcodec-2.0.1.tar.gz) = 2aa2551c373261cefe2ad3a8953a6d6533e68238d180eb4bb91d7964adb3fe9a
SIZE (latexcodec-2.0.1.tar.gz) = 30131

View File

@ -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