git: 10ee10423d1e - main - math/py-fastdtw: Strip binary; Modernize Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Aug 2022 19:35:10 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=10ee10423d1e5e33704136ba5e68b7d89ee89046 commit 10ee10423d1e5e33704136ba5e68b7d89ee89046 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-09 18:56:09 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-09 19:35:07 +0000 math/py-fastdtw: Strip binary; Modernize Makefile --- math/py-fastdtw/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/math/py-fastdtw/Makefile b/math/py-fastdtw/Makefile index 9ced55998815..a1447144f536 100644 --- a/math/py-fastdtw/Makefile +++ b/math/py-fastdtw/Makefile @@ -1,6 +1,7 @@ PORTNAME= fastdtw DISTVERSIONPREFIX= v DISTVERSION= 0.3.4 +PORTREVISION= 1 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,11 +16,12 @@ RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ + USE_GITHUB= yes # tests are only on github GH_ACCOUNT= slaypni -USE_PYTHON= distutils cython autoplist +USE_PYTHON= distutils cython autoplist pytest # tests fail: https://github.com/slaypni/fastdtw/issues/23 -do-test: # tests fail: https://github.com/slaypni/fastdtw/issues/23 - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastdtw/_fastdtw${PYTHON_EXT_SUFFIX}.so .include <bsd.port.mk>