Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2021 07:58:32 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aaa6b0fc8559 - main - biology/py-bigwig: Fix packaging with Python 3.8+
Message-ID:  <202104210758.13L7wWm1019095@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

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

commit aaa6b0fc85596d6097f173d5bad6a7cbd65e9fda
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-04-21 07:41:29 +0000
Commit:     Kai Knoblich <kai@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104210758.13L7wWm1019095>