aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-06-23 05:56:10 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-06-23 08:27:08 +0000
commitb3616debdb8ef49daeab37fdc493a57dbaf6adc4 (patch)
tree2c89be6fb9638a96556381bb00067e6b520c6fe3
parentbcb8bcfe18137a4403e12b4e9e7108b9ed376eb0 (diff)
textproc/py-unicodeitplus: New port: Converts simple LaTeX to an unicode approximation
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-unicodeitplus/Makefile26
-rw-r--r--textproc/py-unicodeitplus/distinfo3
-rw-r--r--textproc/py-unicodeitplus/pkg-descr2
4 files changed, 32 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 8d8917cf94b0..0c013514eb58 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1601,6 +1601,7 @@
SUBDIR += py-typogrify
SUBDIR += py-ucl
SUBDIR += py-ufal.udpipe
+ SUBDIR += py-unicodeitplus
SUBDIR += py-untangle
SUBDIR += py-wcmatch
SUBDIR += py-whatthepatch
diff --git a/textproc/py-unicodeitplus/Makefile b/textproc/py-unicodeitplus/Makefile
new file mode 100644
index 000000000000..a31ccf3b6240
--- /dev/null
+++ b/textproc/py-unicodeitplus/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= unicodeitplus
+PORTVERSION= 0.3.1
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Converts simple LaTeX to an unicode approximation
+WWW= https://github.com/HDembinski/unicodeitplus
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lark>0:devel/py-lark@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-unicodeitplus/distinfo b/textproc/py-unicodeitplus/distinfo
new file mode 100644
index 000000000000..21d1c331f529
--- /dev/null
+++ b/textproc/py-unicodeitplus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1687499353
+SHA256 (unicodeitplus-0.3.1.tar.gz) = 8c1ce8f1c2737e1f3aa5611675585a60a9edc593fe8a9569111fb703a36c5ad7
+SIZE (unicodeitplus-0.3.1.tar.gz) = 88787
diff --git a/textproc/py-unicodeitplus/pkg-descr b/textproc/py-unicodeitplus/pkg-descr
new file mode 100644
index 000000000000..d2fcc53bfe55
--- /dev/null
+++ b/textproc/py-unicodeitplus/pkg-descr
@@ -0,0 +1,2 @@
+unicodeitplus convert simple LaTeX into an unicode approximation and paste it
+anywhere.