Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 14:56:37 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: 903b912a3ba3 - main - www/py-http-parser: Fix packaging with Python 3.8+
Message-ID:  <202104191456.13JEubiI050067@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=903b912a3ba39337ea0a60d71c62ee90f0d72e3c

commit 903b912a3ba39337ea0a60d71c62ee90f0d72e3c
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-04-19 14:50:22 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-04-19 14:53:15 +0000

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

diff --git a/www/py-http-parser/Makefile b/www/py-http-parser/Makefile
index bd735bd5ab42..1193bffc4730 100644
--- a/www/py-http-parser/Makefile
+++ b/www/py-http-parser/Makefile
@@ -14,6 +14,6 @@ USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/http_parser/parser.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/http_parser/parser*.so
 
 .include <bsd.port.mk>



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