blob: 242e3a83aa059b0821724764836cfd2b7e7e034c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PORTNAME= math-verify
PORTVERSION= 0.9.0
CATEGORIES= math python # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= math_verify-${PORTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= HuggingFace library for verifying mathematical answers
WWW= https://github.com/huggingface/math-verify
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}latex2sympy2-extended>0:math/py-latex2sympy2-extended@${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>
|