blob: e39cd68c2410b4da854f703f553ab3ad2e0cb18a (
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
|
PORTNAME= spglib
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.0
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for finding and handling crystal symmetries (python binding)
WWW= https://atztogo.github.io/spglib/
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libsymspg.so:science/spglib
RUN_DEPENDS= ${PYNUMPY}
USES= cmake python
USE_PYTHON= flavors pytest # tests fail to run, see https://github.com/spglib/spglib/issues/192
USE_GITHUB= yes
CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD}
WRKSRC_SUBDIR= python
post-patch:
#@cd ${WRKSRC} && ${RLN} ../test .
@cd ${WRKSRC} && ${CP} -r ../test .
.include <bsd.port.mk>
|