svn commit: r458167 - in head: databases/py-psycopg2cffi devel/py-atomiclong devel/py-pygit2 devel/py-pyopencl devel/py-xattr multimedia/py-librtmp net/py-nnpy security/py-bcrypt security/py-crypto...
Yuri Victorovich
yuri at FreeBSD.org
Fri Jan 5 20:02:06 UTC 2018
Author: yuri
Date: Fri Jan 5 20:02:03 2018
New Revision: 458167
URL: https://svnweb.freebsd.org/changeset/ports/458167
Log:
Corrected shared library names that got the .abi3 suffix for python-36 and up after devel/py-cffi upgrade to 1.11.2
This is the followup for the r457997 commit that updated devel/py-cffi to 1.11.2.
As it turned out, the shared object names built by py-cffi has changed in python 36.
Dependent ports can choose between installing such shared object as part of their plist, or
generating them in the runtime and placing them into ~/.cache/{port-name}/ The former ones,
that include the shared objects in their plist, got affected.
4 of the ports were failing explicitly in their py36 flavor during the strip phase.
The other 6 were either missing strip entirely, or performed the strip operation without
using explicit shared object names. These 6 ports didn't trigger any build errors, and were
failing silently during the runtime, making the problem very hard to detect.
Precisely, .abi3 suffix is now added for the py36 flavor of relevant ports.
Here are the 10 ports that got affected and are now corrected:
databases/py-psycopg2cffi devel/py-pygit2 devel/py-xattr devel/py-pyopencl devel/py-atomiclong
multimedia/py-librtmp net/py-nnpy security/py-bcrypt security/py-cryptography security/py-pynacl
All of them got the * in the stripped shared object name, and a PORTREVISION bump.
Modified:
head/databases/py-psycopg2cffi/Makefile
head/devel/py-atomiclong/Makefile
head/devel/py-pygit2/Makefile
head/devel/py-pyopencl/Makefile
head/devel/py-xattr/Makefile
head/multimedia/py-librtmp/Makefile
head/net/py-nnpy/Makefile
head/security/py-bcrypt/Makefile
head/security/py-cryptography/Makefile
head/security/py-pynacl/Makefile
Modified: head/databases/py-psycopg2cffi/Makefile
==============================================================================
--- head/databases/py-psycopg2cffi/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/databases/py-psycopg2cffi/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -2,6 +2,7 @@
PORTNAME= psycopg2cffi
DISTVERSION= 2.7.7
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +20,6 @@ USES= pgsql python
USE_PYTHON= autoplist distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_impl/_libpq.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_impl/_libpq*.so
.include <bsd.port.mk>
Modified: head/devel/py-atomiclong/Makefile
==============================================================================
--- head/devel/py-atomiclong/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/devel/py-atomiclong/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -2,7 +2,7 @@
PORTNAME= atomiclong
PORTVERSION= 0.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,6 +21,9 @@ USE_PYTHON= autoplist distutils
post-patch:
@${REINPLACE_CMD} '/setup_requires/d' ${WRKSRC}/${PYSETUP}
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_cffi__*.so
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
Modified: head/devel/py-pygit2/Makefile
==============================================================================
--- head/devel/py-pygit2/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/devel/py-pygit2/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -3,6 +3,7 @@
PORTNAME= pygit2
PORTVERSION= 0.26.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -27,6 +28,6 @@ do-test:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_TEST_TARGET} ${PYDISTUTILS_TESTARGS})
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2*.so
.include <bsd.port.mk>
Modified: head/devel/py-pyopencl/Makefile
==============================================================================
--- head/devel/py-pyopencl/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/devel/py-pyopencl/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -2,6 +2,7 @@
PORTNAME= pyopencl
PORTVERSION= 2017.2.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Modified: head/devel/py-xattr/Makefile
==============================================================================
--- head/devel/py-xattr/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/devel/py-xattr/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -3,6 +3,7 @@
PORTNAME= xattr
PORTVERSION= 0.9.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,5 +19,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/
USES= python
USE_PYTHON= distutils autoplist
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xattr/_lib*.so
.include <bsd.port.mk>
Modified: head/multimedia/py-librtmp/Makefile
==============================================================================
--- head/multimedia/py-librtmp/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/multimedia/py-librtmp/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -3,6 +3,7 @@
PORTNAME= librtmp
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= multimedia python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -28,5 +29,8 @@ USE_PYTHON= autoplist distutils
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch@${FLAVOR}
.endif
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/librtmp/_librtmp*.so
.include <bsd.port.post.mk>
Modified: head/net/py-nnpy/Makefile
==============================================================================
--- head/net/py-nnpy/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/net/py-nnpy/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -2,6 +2,7 @@
PORTNAME= nnpy
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,5 +18,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= python
USE_PYTHON= autoplist distutils
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nnpy*.so
.include <bsd.port.mk>
Modified: head/security/py-bcrypt/Makefile
==============================================================================
--- head/security/py-bcrypt/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/security/py-bcrypt/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -3,6 +3,7 @@
PORTNAME= bcrypt
PORTVERSION= 3.1.4
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,6 +24,6 @@ do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt*.so
.include <bsd.port.mk>
Modified: head/security/py-cryptography/Makefile
==============================================================================
--- head/security/py-cryptography/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/security/py-cryptography/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -3,6 +3,7 @@
PORTNAME= cryptography
PORTVERSION= 2.0.3
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Modified: head/security/py-pynacl/Makefile
==============================================================================
--- head/security/py-pynacl/Makefile Fri Jan 5 19:37:51 2018 (r458166)
+++ head/security/py-pynacl/Makefile Fri Jan 5 20:02:03 2018 (r458167)
@@ -3,6 +3,7 @@
PORTNAME= pynacl
DISTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -29,7 +30,7 @@ BUNDLED_NACL_LIB_DEPENDS_OFF= libsodium.so:security/li
BUNDLED_NACL_MAKE_ENV_OFF= SODIUM_INSTALL=system
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nacl/_sodium.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nacl/_sodium*.so
do-test:
@cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs tests
More information about the svn-ports-all
mailing list