svn commit: r567302 - head/misc/py-pyEDFlib

Kai Knoblich kai at FreeBSD.org
Thu Mar 4 11:26:17 UTC 2021


Author: kai
Date: Thu Mar  4 11:26:16 2021
New Revision: 567302
URL: https://svnweb.freebsd.org/changeset/ports/567302

Log:
  misc/py-pyEDFlib: Fix packaging with Python 3.8
  
  * Apply the same fix as in r559094 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)

Modified:
  head/misc/py-pyEDFlib/Makefile

Modified: head/misc/py-pyEDFlib/Makefile
==============================================================================
--- head/misc/py-pyEDFlib/Makefile	Thu Mar  4 11:24:35 2021	(r567301)
+++ head/misc/py-pyEDFlib/Makefile	Thu Mar  4 11:26:16 2021	(r567302)
@@ -21,6 +21,6 @@ USE_PYTHON=	distutils cython autoplist
 USE_GCC=	yes # fails to build with clang: https://github.com/holgern/pyedflib/issues/104
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyedflib/_extensions/_pyedflib.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyedflib/_extensions/_pyedflib*.so
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list