diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-09-13 08:19:41 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-09-13 08:24:48 +0000 |
commit | 5001da995c78da53f46c0aa764df43039f7a700b (patch) | |
tree | dadf2d9f6f583b90cb324ea631389665286d690b | |
parent | f8cf8eebd11727e7f650beebecec6ea850d8960b (diff) |
-rw-r--r-- | science/py-spglib/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/science/py-spglib/Makefile b/science/py-spglib/Makefile index 436d4b5d6165..6a2950dea35d 100644 --- a/science/py-spglib/Makefile +++ b/science/py-spglib/Makefile @@ -1,6 +1,7 @@ PORTNAME= spglib DISTVERSIONPREFIX= v DISTVERSION= 2.5.0 +PORTREVISION= 1 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,6 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@$ cmake:devel/cmake-core \ ${PYNUMPY} \ ${PY_SETUPTOOLS} +LIB_DEPENDS= libsymspg.so:science/spglib RUN_DEPENDS= ${PYNUMPY} USES= python @@ -29,10 +31,4 @@ MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION=${DISTVERSION} TEST_WRKSRC= ${WRKSRC} TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -post-patch: - ##@cd ${WRKSRC} && ${RLN} ../test . - #@cd ${WRKSRC} && ${CP} -r ../test . - # workaround for https://github.com/spglib/spglib/issues/429 - @${REINPLACE_CMD} -i '' -e 's|^from ._version import|#&|' ${WRKSRC}/python/spglib/__init__.py - .include <bsd.port.mk> |