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:
parent
72dfefa92d
commit
0d046814fa
@ -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
|
||||
|
22
textproc/py-latexcodec/Makefile
Normal file
22
textproc/py-latexcodec/Makefile
Normal 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>
|
3
textproc/py-latexcodec/distinfo
Normal file
3
textproc/py-latexcodec/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1628171941
|
||||
SHA256 (latexcodec-2.0.1.tar.gz) = 2aa2551c373261cefe2ad3a8953a6d6533e68238d180eb4bb91d7964adb3fe9a
|
||||
SIZE (latexcodec-2.0.1.tar.gz) = 30131
|
9
textproc/py-latexcodec/pkg-descr
Normal file
9
textproc/py-latexcodec/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user