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



                                                        
                                                    



                                 
                                        

                                                                                                                                                                   
                                                                                
                          
 
                                               
 
                                          
 

                                       

                                                              
 


                                
                      
PORTNAME=	ducc0
DISTVERSION=	0.29.0
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Distinctly Useful Code Collection (DUCC)
WWW=		https://gitlab.mpcdf.mpg.de/mtr/ducc

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_armv7=	clang runs out of memory
BROKEN_i386=	non-constant-expression cannot be narrowed from type 'long long' to 'int' in initializer list (reported to the author on 2021-05-02 and 2022-02-01)

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
RUN_DEPENDS=	${PYNUMPY}

USES=		compiler:c++17-lang python:3.6+

USE_PYTHON=	distutils autoplist pytest

MAKE_ENV=	DUCC0_OPTIMIZATION=none

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ducc0*.so

do-test: install
	@cd ${WRKSRC} && py.test

.include <bsd.port.mk>