blob: 572b06262f65be90d87403c6bf50cc32a27aa0c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile,v 1.9 2021/06/29 08:42:00 nia Exp $
DISTNAME= asteval-0.9.23
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
DEPENDS+= ${PYPKGPREFIX}-numpy>=1.6:../../math/py-numpy
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_VERSIONS_INCOMPATIBLE+= 36 # py-numpy
do-test:
cd ${WRKSRC}/tests && ${PYTHONBIN} test_asteval.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|