git: e8c9857f5d7d - main - graphics/py-pandana: Fix packaging with Python 3.8+

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


The branch main has been updated by kai:

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

commit e8c9857f5d7d32b517418fb317e827718430442b
Author:     Kai Knoblich <kai at FreeBSD.org>
AuthorDate: 2021-04-21 07:43:16 +0000
Commit:     Kai Knoblich <kai at FreeBSD.org>
CommitDate: 2021-04-21 07:43:16 +0000

    graphics/py-pandana: 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)
---
 graphics/py-pandana/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/py-pandana/Makefile b/graphics/py-pandana/Makefile
index 0614c0da2bd7..c8284a78077b 100644
--- a/graphics/py-pandana/Makefile
+++ b/graphics/py-pandana/Makefile
@@ -26,6 +26,6 @@ USE_PYTHON=	autoplist concurrent cython distutils
 CFLAGS+=	-DNO_TR1_MEMORY
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pandana/cyaccess.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pandana/cyaccess*.so
 
 .include <bsd.port.mk>


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