blob: 29ef638cd645445233ce8157ebd9798acb1e8db1 (
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
25
26
27
28
29
30
31
32
|
PORTNAME= ducc0
DISTVERSION= 0.29.0
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>
|