5d6bfcc77c
0.9.28 add support for Python 3.11 add support for multiple list comprehensions improve performance of making the initial symbol table, and Interpreter creation, including better checking for index_tricks attributes
24 lines
701 B
Makefile
24 lines
701 B
Makefile
# $NetBSD: Makefile,v 1.15 2022/11/15 10:12:18 adam Exp $
|
|
|
|
DISTNAME= asteval-0.9.28
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asteval/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/newville/asteval
|
|
COMMENT= Safe, minimalistic expression evaluator using ast module
|
|
LICENSE= mit
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
DEPENDS+= ${PYPKGPREFIX}-numpy>=1.6:../../math/py-numpy
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_asteval.py
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|