Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 07:39:01 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r496798 - in branches/2019Q1/net/py-pyzmq: . files
Message-ID:  <201903250739.x2P7d17E014556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Mar 25 07:39:00 2019
New Revision: 496798
URL: https://svnweb.freebsd.org/changeset/ports/496798

Log:
  MFH: r491252 net/py-pyzmq: Fix framework compliance issues
  
  Identified while QA'ing an upcoming net/libzmq update [1]:
  
   - Strip shared libraries.
   - Update (correct) LICENSE definition, previous was incomplete.
   - Backport upstream PR [2] to fix test_large_send OOM issue.
  
   QA: 209 passed, 33 skipped in 58.81 seconds
  
   [2] https://github.com/zeromq/pyzmq/pull/1219
  
  PR:		230575 [1]
  Approved by:	portmgr (blanket: framework compliance)
  
  Approved by:	ports-secteam (blanket: framework compliance)

Added:
  branches/2019Q1/net/py-pyzmq/files/
     - copied from r491252, head/net/py-pyzmq/files/
Modified:
  branches/2019Q1/net/py-pyzmq/Makefile
Directory Properties:
  branches/2019Q1/   (props changed)

Modified: branches/2019Q1/net/py-pyzmq/Makefile
==============================================================================
--- branches/2019Q1/net/py-pyzmq/Makefile	Mon Mar 25 07:34:59 2019	(r496797)
+++ branches/2019Q1/net/py-pyzmq/Makefile	Mon Mar 25 07:39:00 2019	(r496798)
@@ -10,7 +10,10 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	novel@FreeBSD.org
 COMMENT=	Python bindings for ZeroMQ
 
-LICENSE=	LGPL3
+LICENSE=			BSD3CLAUSE LGPL3
+LICENSE_COMB=			multi
+LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/COPYING.BSD
+LICENSE_FILE_LGPL3=		${WRKSRC}/COPYING.LESSER
 
 LIB_DEPENDS=	libzmq.so:net/libzmq4
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
@@ -29,5 +32,9 @@ RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}asyncio>0:devel/p
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext --inplace
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zmq/backend/cython/*.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zmq/devices/*.so
 
 .include <bsd.port.post.mk>



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