Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2021 07:58:33 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: e8c9857f5d7d - main - graphics/py-pandana: Fix packaging with Python 3.8+
Message-ID:  <202104210758.13L7wXD1019116@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=e8c9857f5d7d32b517418fb317e827718430442b

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



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