diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 01:08:17 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 05:20:14 +0000 |
| commit | 1ea9072adeb9972e2c2095dca46854c39120b1f3 (patch) | |
| tree | 13be740ec40f42ddd05afc10c7a781667f3c625c | |
| parent | 661bb5cdf9dbd021e3c7417f0b94d92f2a166cb8 (diff) | |
math/py-latex2sympy2-extended: New port: Convert LaTeX math to SymPy expressions
| -rw-r--r-- | math/Makefile | 1 | ||||
| -rw-r--r-- | math/py-latex2sympy2-extended/Makefile | 27 | ||||
| -rw-r--r-- | math/py-latex2sympy2-extended/distinfo | 3 | ||||
| -rw-r--r-- | math/py-latex2sympy2-extended/pkg-descr | 4 |
4 files changed, 35 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index ae981863797f..36b3601711e0 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1040,6 +1040,7 @@ SUBDIR += py-keras-applications SUBDIR += py-keras-preprocessing SUBDIR += py-kiwisolver + SUBDIR += py-latex2sympy2-extended SUBDIR += py-levmar SUBDIR += py-libceed SUBDIR += py-libpoly diff --git a/math/py-latex2sympy2-extended/Makefile b/math/py-latex2sympy2-extended/Makefile new file mode 100644 index 000000000000..68f8021feab8 --- /dev/null +++ b/math/py-latex2sympy2-extended/Makefile @@ -0,0 +1,27 @@ +PORTNAME= latex2sympy2-extended +PORTVERSION= 1.11.0 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= latex2sympy2_extended-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Convert LaTeX math to SymPy expressions +WWW= https://github.com/OrangeX4/latex2sympy2 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}antlr4-python3-runtime>0:devel/py-antlr4-python3-runtime@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 +NO_ARCH= yes + +post-extract: + @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' -e '/^license-files/d' ${WRKSRC}/pyproject.toml + +.include <bsd.port.mk> diff --git a/math/py-latex2sympy2-extended/distinfo b/math/py-latex2sympy2-extended/distinfo new file mode 100644 index 000000000000..baf780018495 --- /dev/null +++ b/math/py-latex2sympy2-extended/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783091188 +SHA256 (latex2sympy2_extended-1.11.0.tar.gz) = 9695657c81b50abba2636638638618db59f4663ed2a4a12d62cef74a40e28fec +SIZE (latex2sympy2_extended-1.11.0.tar.gz) = 207023 diff --git a/math/py-latex2sympy2-extended/pkg-descr b/math/py-latex2sympy2-extended/pkg-descr new file mode 100644 index 000000000000..e6a3d087c0e9 --- /dev/null +++ b/math/py-latex2sympy2-extended/pkg-descr @@ -0,0 +1,4 @@ +latex2sympy2-extended converts LaTeX mathematical expressions into +SymPy symbolic expressions. It parses LaTeX math notation and produces +equivalent SymPy objects, enabling symbolic computation and manipulation +of mathematical formulas expressed in LaTeX. |
