git: aaa6b0fc8559 - main - biology/py-bigwig: Fix packaging with Python 3.8+

Kai Knoblich kai at FreeBSD.org
Wed Apr 21 07:58:33 UTC 2021


The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aaa6b0fc85596d6097f173d5bad6a7cbd65e9fda

commit aaa6b0fc85596d6097f173d5bad6a7cbd65e9fda
Author:     Kai Knoblich <kai at FreeBSD.org>
AuthorDate: 2021-04-21 07:41:29 +0000
Commit:     Kai Knoblich <kai at FreeBSD.org>
CommitDate: 2021-04-21 07:41:29 +0000

    biology/py-bigwig: Fix packaging with Python 3.8+
    
    * Apply the same fix as in 9cb5898561b302d952fec8e2fac66a945a2c4915 by
      stripping libraries by wildcard paths.
    
    * Also use PYTHONPREFIX_SITELIBDIR instead PYTHON_SITELIBDIR to make
      the port PREFIX safe while I'm here.
    
    PR:             253815
    Approved by:    python (with hat)
---
 biology/py-bigwig/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/biology/py-bigwig/Makefile b/biology/py-bigwig/Makefile
index ab33b4650777..a7c2f9c5321f 100644
--- a/biology/py-bigwig/Makefile
+++ b/biology/py-bigwig/Makefile
@@ -16,6 +16,6 @@ USES=		localbase python
 USE_PYTHON=	autoplist distutils
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyBigWig.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyBigWig*.so
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list