aboutsummaryrefslogblamecommitdiff
path: root/math/py-chaospy/Makefile
blob: 09b3cb77c318436912379d072bf30994465bcf3b (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                     





                                                                 
                                                  

                   
                                     
 
                            

                                                                                     

                                                                            
                           
                                   
 
                   
 





                                                           


                                                                    
                      
PORTNAME=	chaospy
DISTVERSION=	4.3.8
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Toolbox for performing uncertainty quantification
WWW=		https://github.com/jonathf/chaospy

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}numpoly>0:math/py-numpoly@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}

USES=		python:3.6+
USE_PYTHON=	distutils autoplist

NO_ARCH=	yes

pre-configure:
	@( \
		${ECHO} "from setuptools import setup" && \
		${ECHO} "setup()" \
	) > ${WRKSRC}/setup.py

do-test: # tests fail: https://github.com/jonathf/chaospy/issues/366
	@cd ${WRKSRC} && pytest --doctest-modules chaospy/

.include <bsd.port.mk>