summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2020-12-24 13:46:01 +0000
committerKai Knoblich <kai@FreeBSD.org>2020-12-24 13:46:01 +0000
commit9cb5898561b302d952fec8e2fac66a945a2c4915 (patch)
tree9274631a296b893d582fb8062e2f256a3a8c8d77 /devel
parentsysutils/xen-tools: switch to PYTHON_EXT_SUFFIX (diff)
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the shared libs naming scheme. This means "EXT_SUFFIX" is now derived from SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so". The affected ports strip the libaries in the "post-install" target via hardcoded path(s) and the build fails at the end because the new extension is not expected at this place. Remedy the issue by adding wildcards to these paths. This should also prepare the ports for future Python releases, which will use the new shared libs naming scheme. [1] https://bugs.python.org/issue42604 PR: 252057 Reported by: John Kennedy Reviewed by: fluffy, koobs Approved by: koobs (python)
Notes
Notes: svn path=/head/; revision=559094
Diffstat (limited to 'devel')
-rw-r--r--devel/py-bullet3/Makefile2
-rw-r--r--devel/py-cbor/Makefile2
-rw-r--r--devel/py-cffi/Makefile2
-rw-r--r--devel/py-coverage/Makefile2
-rw-r--r--devel/py-crcmod/Makefile2
-rw-r--r--devel/py-cymem/Makefile2
-rw-r--r--devel/py-editdistance/Makefile2
-rw-r--r--devel/py-fam/Makefile2
-rw-r--r--devel/py-fastcache/Makefile2
-rw-r--r--devel/py-fastnumbers/Makefile2
-rw-r--r--devel/py-freebsd/Makefile2
-rw-r--r--devel/py-fusefs/Makefile2
-rw-r--r--devel/py-greenlet/Makefile2
-rw-r--r--devel/py-grpcio-tools/Makefile2
-rw-r--r--devel/py-ice37/Makefile2
-rw-r--r--devel/py-immutables/Makefile2
-rw-r--r--devel/py-intbitset/Makefile2
-rw-r--r--devel/py-lazy-object-proxy/Makefile2
-rw-r--r--devel/py-libversion/Makefile2
-rw-r--r--devel/py-libvirt/Makefile2
-rw-r--r--devel/py-llfuse/Makefile2
-rw-r--r--devel/py-llvmlite/Makefile2
-rw-r--r--devel/py-msgpack/Makefile2
-rw-r--r--devel/py-murmurhash/Makefile2
-rw-r--r--devel/py-opendht/Makefile2
-rw-r--r--devel/py-pendulum/Makefile4
-rw-r--r--devel/py-posix_ipc/Makefile2
-rw-r--r--devel/py-py-ubjson/Makefile2
-rw-r--r--devel/py-pyjq/Makefile2
-rw-r--r--devel/py-pyrsistent/Makefile2
-rw-r--r--devel/py-python-Levenshtein/Makefile2
-rw-r--r--devel/py-python-pcre/Makefile2
-rw-r--r--devel/py-ruamel.yaml.clib/Makefile2
-rw-r--r--devel/py-setproctitle/Makefile2
-rw-r--r--devel/py-simplejson/Makefile2
-rw-r--r--devel/py-urwid/Makefile2
-rw-r--r--devel/py-uvloop/Makefile2
-rw-r--r--devel/py-websockets/Makefile2
-rw-r--r--devel/py-wrapt/Makefile2
-rw-r--r--devel/py-xxhash/Makefile2
-rw-r--r--devel/py-yaml/Makefile2
-rw-r--r--devel/py-yappi/Makefile2
-rw-r--r--devel/py-zope.interface/Makefile2
43 files changed, 44 insertions, 44 deletions
diff --git a/devel/py-bullet3/Makefile b/devel/py-bullet3/Makefile
index 1eddc5aca63e..df8af984f1df 100644
--- a/devel/py-bullet3/Makefile
+++ b/devel/py-bullet3/Makefile
@@ -21,6 +21,6 @@ post-patch: # remove examples because they fail: https://github.com/bulletphysic
@${REINPLACE_CMD} -E 's,"examples/.*\.(cpp|c|m)",,' ${WRKSRC}/setup.py
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet*.so
.include <bsd.port.mk>
diff --git a/devel/py-cbor/Makefile b/devel/py-cbor/Makefile
index f223de2be384..b974a418e975 100644
--- a/devel/py-cbor/Makefile
+++ b/devel/py-cbor/Makefile
@@ -23,6 +23,6 @@ post-patch:
.endif
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cbor/_cbor.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cbor/_cbor*.so
.include <bsd.port.post.mk>
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile
index 1d313093d034..5f307b025b4e 100644
--- a/devel/py-cffi/Makefile
+++ b/devel/py-cffi/Makefile
@@ -27,7 +27,7 @@ CFLAGS+= -Wno-shift-negative-value
.endif
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_cffi_backend*.so
do-test:
cd ${TEST_WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_ext -i
diff --git a/devel/py-coverage/Makefile b/devel/py-coverage/Makefile
index f4ec691fc439..bd6cacdc2979 100644
--- a/devel/py-coverage/Makefile
+++ b/devel/py-coverage/Makefile
@@ -15,6 +15,6 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer*.so
.include <bsd.port.mk>
diff --git a/devel/py-crcmod/Makefile b/devel/py-crcmod/Makefile
index 134710e44dff..fd80bf3a751f 100644
--- a/devel/py-crcmod/Makefile
+++ b/devel/py-crcmod/Makefile
@@ -27,6 +27,6 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crcmod/_crcfunext.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crcmod/_crcfunext*.so
.include <bsd.port.mk>
diff --git a/devel/py-cymem/Makefile b/devel/py-cymem/Makefile
index 21c69894d3b4..50ca4809e0b4 100644
--- a/devel/py-cymem/Makefile
+++ b/devel/py-cymem/Makefile
@@ -16,6 +16,6 @@ USES= python
USE_PYTHON= distutils cython autoplist
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cymem/cymem.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cymem/cymem*.so
.include <bsd.port.mk>
diff --git a/devel/py-editdistance/Makefile b/devel/py-editdistance/Makefile
index cfcac305bf10..f0a8e476510c 100644
--- a/devel/py-editdistance/Makefile
+++ b/devel/py-editdistance/Makefile
@@ -16,6 +16,6 @@ USE_PYTHON= autoplist concurrent distutils
USES= python
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/editdistance/bycython.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/editdistance/bycython*.so
.include <bsd.port.mk>
diff --git a/devel/py-fam/Makefile b/devel/py-fam/Makefile
index 44efe2014c9a..8229f008646e 100644
--- a/devel/py-fam/Makefile
+++ b/devel/py-fam/Makefile
@@ -22,6 +22,6 @@ pre-patch:
${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam*.so
.include <bsd.port.mk>
diff --git a/devel/py-fastcache/Makefile b/devel/py-fastcache/Makefile
index e2dc496766ec..ec38658c773e 100644
--- a/devel/py-fastcache/Makefile
+++ b/devel/py-fastcache/Makefile
@@ -15,6 +15,6 @@ USES= python
USE_PYTHON= distutils autoplist
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fastcache/_lrucache.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fastcache/_lrucache*.so
.include <bsd.port.mk>
diff --git a/devel/py-fastnumbers/Makefile b/devel/py-fastnumbers/Makefile
index 64d6f95ba108..12cc64323f77 100644
--- a/devel/py-fastnumbers/Makefile
+++ b/devel/py-fastnumbers/Makefile
@@ -16,6 +16,6 @@ USES= python:3.5+
USE_PYTHON= autoplist distutils
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastnumbers.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastnumbers*.so
.include <bsd.port.mk>
diff --git a/devel/py-freebsd/Makefile b/devel/py-freebsd/Makefile
index eebd9dc33931..de40daa12dab 100644
--- a/devel/py-freebsd/Makefile
+++ b/devel/py-freebsd/Makefile
@@ -23,7 +23,7 @@ GH_PROJECT= py-${PORTNAME}
PYDISTUTILS_BUILD_TARGET=build_ext -i
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/freebsd.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/freebsd*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover tests -v
diff --git a/devel/py-fusefs/Makefile b/devel/py-fusefs/Makefile
index c906987fd295..d22fa1609053 100644
--- a/devel/py-fusefs/Makefile
+++ b/devel/py-fusefs/Makefile
@@ -36,7 +36,7 @@ post-patch:
${WRKSRC}/setup.py
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fuseparts/_fusemodule.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fuseparts/_fusemodule*.so
post-install-DOCS-on:
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
diff --git a/devel/py-greenlet/Makefile b/devel/py-greenlet/Makefile
index 2c339136fb6e..93672d6f0833 100644
--- a/devel/py-greenlet/Makefile
+++ b/devel/py-greenlet/Makefile
@@ -23,6 +23,6 @@ DO_MAKE_TEST= ${PYTHON_CMD}
TEST_TARGET= run-tests.py
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/greenlet.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/greenlet*.so
.include <bsd.port.mk>
diff --git a/devel/py-grpcio-tools/Makefile b/devel/py-grpcio-tools/Makefile
index db4ae0ab18f9..9808660e228d 100644
--- a/devel/py-grpcio-tools/Makefile
+++ b/devel/py-grpcio-tools/Makefile
@@ -21,6 +21,6 @@ CFLAGS+= -DHAVE_PTHREAD=1
LDFLAGS+= -lcares
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc_tools/_protoc_compiler.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc_tools/_protoc_compiler*.so
.include <bsd.port.mk>
diff --git a/devel/py-ice37/Makefile b/devel/py-ice37/Makefile
index 39e909f7b4e2..a75afe501985 100644
--- a/devel/py-ice37/Makefile
+++ b/devel/py-ice37/Makefile
@@ -33,7 +33,7 @@ OPTIONS_DEFINE= DEBUG TEST
TEST_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR}
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYSITEDIR}/IcePy.so
+ ${STRIP_CMD} ${STAGEDIR}${PYSITEDIR}/IcePy*.so
${ECHO} "Ice" > ${STAGEDIR}${PYSITEDIR}/Ice.pth
@${FIND} ${STAGEDIR}${PYSITEDIR}/Ice \( -name "*.pyc" -or -name "*.pyo" \) \
-exec ${CHMOD} u+w {} \;
diff --git a/devel/py-immutables/Makefile b/devel/py-immutables/Makefile
index c8d2c3044ea5..786105051692 100644
--- a/devel/py-immutables/Makefile
+++ b/devel/py-immutables/Makefile
@@ -17,6 +17,6 @@ USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/immutables/_map.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/immutables/_map*.so
.include <bsd.port.mk>
diff --git a/devel/py-intbitset/Makefile b/devel/py-intbitset/Makefile
index 2896ae77bbb5..42ee13407616 100644
--- a/devel/py-intbitset/Makefile
+++ b/devel/py-intbitset/Makefile
@@ -19,7 +19,7 @@ USES= python
USE_PYTHON= cython distutils autoplist
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/intbitset.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/intbitset*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
diff --git a/devel/py-lazy-object-proxy/Makefile b/devel/py-lazy-object-proxy/Makefile
index 75ca4f70f8aa..038bdd2e6ed6 100644
--- a/devel/py-lazy-object-proxy/Makefile
+++ b/devel/py-lazy-object-proxy/Makefile
@@ -18,6 +18,6 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lazy_object_proxy/cext.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lazy_object_proxy/cext*.so
.include <bsd.port.mk>
diff --git a/devel/py-libversion/Makefile b/devel/py-libversion/Makefile
index c05315799894..b47f164a852d 100644
--- a/devel/py-libversion/Makefile
+++ b/devel/py-libversion/Makefile
@@ -22,6 +22,6 @@ do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libversion/_libversion.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libversion/_libversion*.so
.include <bsd.port.mk>
diff --git a/devel/py-libvirt/Makefile b/devel/py-libvirt/Makefile
index b42e30aef9fb..aada2129d122 100644
--- a/devel/py-libvirt/Makefile
+++ b/devel/py-libvirt/Makefile
@@ -22,7 +22,7 @@ USE_PYTHON= distutils autoplist
post-install:
.for lib in libvirtmod libvirtmod_qemu libvirtmod_lxc
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/site-packages/${lib}.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/site-packages/${lib}*.so
.endfor
.include <bsd.port.mk>
diff --git a/devel/py-llfuse/Makefile b/devel/py-llfuse/Makefile
index 2f4f2cc1438e..203ea5fff280 100644
--- a/devel/py-llfuse/Makefile
+++ b/devel/py-llfuse/Makefile
@@ -17,6 +17,6 @@ USES= compiler:c++11-lang fuse pkgconfig python tar:bz2
USE_PYTHON= autoplist distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/llfuse.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/llfuse*.so
.include <bsd.port.mk>
diff --git a/devel/py-llvmlite/Makefile b/devel/py-llvmlite/Makefile
index f1bcde71e3de..a4f214bf4115 100644
--- a/devel/py-llvmlite/Makefile
+++ b/devel/py-llvmlite/Makefile
@@ -27,6 +27,6 @@ MAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER}
LLVM_VER= ${LLVM_DEFAULT}
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/llvmlite/binding/libllvmlite.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/llvmlite/binding/libllvmlite*.so
.include <bsd.port.mk>
diff --git a/devel/py-msgpack/Makefile b/devel/py-msgpack/Makefile
index 077460e6265a..ea3965a31842 100644
--- a/devel/py-msgpack/Makefile
+++ b/devel/py-msgpack/Makefile
@@ -20,7 +20,7 @@ USE_PYTHON= autoplist concurrent cython distutils
.if ${PYTHON_REL} >= 3000
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/msgpack/_cmsgpack.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/msgpack/_cmsgpack*.so
.else
NO_ARCH= yes
.endif
diff --git a/devel/py-murmurhash/Makefile b/devel/py-murmurhash/Makefile
index bec36bf2ef60..f399f66c6af5 100644
--- a/devel/py-murmurhash/Makefile
+++ b/devel/py-murmurhash/Makefile
@@ -16,6 +16,6 @@ USES= python
USE_PYTHON= distutils cython autoplist
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/murmurhash/mrmr.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/murmurhash/mrmr*.so
.include <bsd.port.mk>
diff --git a/devel/py-opendht/Makefile b/devel/py-opendht/Makefile
index 12fc922d31bf..2e13e0927966 100644
--- a/devel/py-opendht/Makefile
+++ b/devel/py-opendht/Makefile
@@ -22,6 +22,6 @@ USE_PYTHON= distutils cython autoplist
WRKSRC_SUBDIR= python
post-stage:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/opendht.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/opendht*.so
.include <bsd.port.mk>
diff --git a/devel/py-pendulum/Makefile b/devel/py-pendulum/Makefile
index c745b82434d2..20fa17467c51 100644
--- a/devel/py-pendulum/Makefile
+++ b/devel/py-pendulum/Makefile
@@ -19,7 +19,7 @@ USES= python:3.6+
USE_PYTHON= autoplist distutils
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pendulum/_extensions/_helpers.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pendulum/parsing/_iso8601.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pendulum/_extensions/_helpers*.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pendulum/parsing/_iso8601*.so
.include <bsd.port.mk>
diff --git a/devel/py-posix_ipc/Makefile b/devel/py-posix_ipc/Makefile
index 92a4935c2f12..108a8b102eab 100644
--- a/devel/py-posix_ipc/Makefile
+++ b/devel/py-posix_ipc/Makefile
@@ -17,7 +17,7 @@ USES= python
USE_PYTHON= distutils autoplist
post-install:
- ${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/posix_ipc.so
+ ${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/posix_ipc*.so
# requires mqueuefs and sem kernel modules loaded
diff --git a/devel/py-py-ubjson/Makefile b/devel/py-py-ubjson/Makefile
index 0acbc78ccc9f..8e508ad92d80 100644
--- a/devel/py-py-ubjson/Makefile
+++ b/devel/py-py-ubjson/Makefile
@@ -17,6 +17,6 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ubjson.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ubjson*.so
.include <bsd.port.mk>
diff --git a/devel/py-pyjq/Makefile b/devel/py-pyjq/Makefile
index 31494f987ce6..eed88e315824 100644
--- a/devel/py-pyjq/Makefile
+++ b/devel/py-pyjq/Makefile
@@ -22,6 +22,6 @@ post-patch:
@${RM} -r ${WRKSRC}/dependencies
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pyjq.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pyjq*.so
.include <bsd.port.mk>
diff --git a/devel/py-pyrsistent/Makefile b/devel/py-pyrsistent/Makefile
index 14a7ebb93ff7..4d56c433bffe 100644
--- a/devel/py-pyrsistent/Makefile
+++ b/devel/py-pyrsistent/Makefile
@@ -21,7 +21,7 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
diff --git a/devel/py-python-Levenshtein/Makefile b/devel/py-python-Levenshtein/Makefile
index 9c23b0504701..041c2f39e2a0 100644
--- a/devel/py-python-Levenshtein/Makefile
+++ b/devel/py-python-Levenshtein/Makefile
@@ -18,6 +18,6 @@ USES= python
USE_PYTHON= distutils autoplist
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Levenshtein/_levenshtein.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Levenshtein/_levenshtein*.so
.include <bsd.port.mk>
diff --git a/devel/py-python-pcre/Makefile b/devel/py-python-pcre/Makefile
index 8cff5b4d854b..604e05b44091 100644
--- a/devel/py-python-pcre/Makefile
+++ b/devel/py-python-pcre/Makefile
@@ -21,6 +21,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/site-packages/_pcre.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/site-packages/_pcre*.so
.include <bsd.port.mk>
diff --git a/devel/py-ruamel.yaml.clib/Makefile b/devel/py-ruamel.yaml.clib/Makefile
index 9e04807a0c69..8a11b7e8a85f 100644
--- a/devel/py-ruamel.yaml.clib/Makefile
+++ b/devel/py-ruamel.yaml.clib/Makefile
@@ -17,7 +17,7 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ruamel_yaml.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ruamel_yaml*.so
${RM} -fr ${STAGEDIR}${PYTHON_SITELIBDIR}/ruamel
${REINPLACE_CMD} -e '/LICENSE/d; /__init__.py/d' ${_PYTHONPKGLIST}
diff --git a/devel/py-setproctitle/Makefile b/devel/py-setproctitle/Makefile
index fae79b9ab1a7..b04bd47721be 100644
--- a/devel/py-setproctitle/Makefile
+++ b/devel/py-setproctitle/Makefile
@@ -22,7 +22,7 @@ PORTDOCS= HISTORY.rst README.rst
OPTIONS_DEFINE= DOCS
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/setproctitle.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/setproctitle*.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/devel/py-simplejson/Makefile b/devel/py-simplejson/Makefile
index a3bd18f08ca6..97c09f4e5113 100644
--- a/devel/py-simplejson/Makefile
+++ b/devel/py-simplejson/Makefile
@@ -18,7 +18,7 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/simplejson/_speedups.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/simplejson/_speedups*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
diff --git a/devel/py-urwid/Makefile b/devel/py-urwid/Makefile
index df1cac82b4ba..9905e0bbf65f 100644
--- a/devel/py-urwid/Makefile
+++ b/devel/py-urwid/Makefile
@@ -21,7 +21,7 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/urwid/str_util.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/urwid/str_util*.so
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
diff --git a/devel/py-uvloop/Makefile b/devel/py-uvloop/Makefile
index 74e2a3aed0d5..4ef93c393bfa 100644
--- a/devel/py-uvloop/Makefile
+++ b/devel/py-uvloop/Makefile
@@ -24,7 +24,7 @@ PORTDOCS= *
PORTEXAMPLES= *
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/uvloop/loop.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/uvloop/loop*.so
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
diff --git a/devel/py-websockets/Makefile b/devel/py-websockets/Makefile
index b693d814068a..93b4281b6921 100644
--- a/devel/py-websockets/Makefile
+++ b/devel/py-websockets/Makefile
@@ -16,6 +16,6 @@ USES= python:3.4+
USE_PYTHON= autoplist distutils
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/websockets/speedups.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/websockets/speedups*.so
.include <bsd.port.mk>
diff --git a/devel/py-wrapt/Makefile b/devel/py-wrapt/Makefile
index 6c6955b9520c..74d0a017eb35 100644
--- a/devel/py-wrapt/Makefile
+++ b/devel/py-wrapt/Makefile
@@ -16,6 +16,6 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/wrapt/_wrappers.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/wrapt/_wrappers*.so
.include <bsd.port.mk>
diff --git a/devel/py-xxhash/Makefile b/devel/py-xxhash/Makefile
index df5b466d3579..4e6fdf6b977a 100644
--- a/devel/py-xxhash/Makefile
+++ b/devel/py-xxhash/Makefile
@@ -22,6 +22,6 @@ CONFIGURE_ENV= XXHASH_LINK_SO=yes
MAKE_ENV= XXHASH_LINK_SO=yes
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xxhash/_xxhash.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xxhash/_xxhash*.so
.include <bsd.port.mk>
diff --git a/devel/py-yaml/Makefile b/devel/py-yaml/Makefile
index 7f99d2e3a8ee..6426128e1e47 100644
--- a/devel/py-yaml/Makefile
+++ b/devel/py-yaml/Makefile
@@ -38,7 +38,7 @@ post-install-EXAMPLES-on:
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
post-install-LIBYAML-on:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_yaml.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_yaml*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
diff --git a/devel/py-yappi/Makefile b/devel/py-yappi/Makefile
index da2ca0230778..607a6610fa77 100644
--- a/devel/py-yappi/Makefile
+++ b/devel/py-yappi/Makefile
@@ -19,7 +19,7 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_yappi.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_yappi*.so
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
diff --git a/devel/py-zope.interface/Makefile b/devel/py-zope.interface/Makefile
index 7dd8498e4bb4..a567eeee70f3 100644
--- a/devel/py-zope.interface/Makefile
+++ b/devel/py-zope.interface/Makefile
@@ -18,6 +18,6 @@ USES= python
USE_PYTHON= autoplist distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/zope/interface/_zope_interface_coptimizations.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/zope/interface/_zope_interface_coptimizations*.so
.include <bsd.port.mk>