27 lines
698 B
Makefile
27 lines
698 B
Makefile
PORTNAME= asteval
|
|
PORTVERSION= 1.0.9
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Safe, minimalistic evaluator of python expression using ast module
|
|
WWW= https://lmfit.github.io/asteval/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILES= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= pep517 autoplist pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
# tests as of 1.0.9: 196 passed in 6.40s
|
|
|
|
.include <bsd.port.mk>
|