Fix run-depends check for py-llfuse after shared libs naming change

Newer python versions (after 3.8.7) have changed the names of extension
shared libraries from ".so" to e.g. ".cpython-38.so". So for the FUSE
option, now check for the py-llfuse package instead of the dynamic
library llfuse.so.

Approved by:    jjuanino@gmail.com (maintainer)
PR:             253907
MFH:            2021Q
This commit is contained in:
Dimitry Andric 2021-02-28 19:51:24 +00:00
parent 9be2813e30
commit a65f4a7451
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566802

View file

@ -3,6 +3,7 @@
PORTNAME= borgbackup
DISTVERSION= 1.1.15
PORTREVISION= 1
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -25,7 +26,7 @@ OPTIONS_DEFINE= FUSE
OPTIONS_DEFAULT= FUSE
FUSE_DESC= Support to mount locally borg backup files
FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:devel/py-llfuse@${PY_FLAVOR}
FUSE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llfuse>0:devel/py-llfuse@${PY_FLAVOR}
post-install:
@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/borg/ -name "*.so" \