Date: Sun, 1 Nov 2020 20:16:17 +0000 (UTC) From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r553856 - head/security/py-xmlsec Message-ID: <202011012016.0A1KGH7H063967@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbaio Date: Sun Nov 1 20:16:16 2020 New Revision: 553856 URL: https://svnweb.freebsd.org/changeset/ports/553856 Log: security/py-xmlsec: Fix build with Python 2 Reported by: pkg-fallout, https://portsfallout.com/port/21147/ Approved by: portmgr blanket Modified: head/security/py-xmlsec/Makefile Modified: head/security/py-xmlsec/Makefile ============================================================================== --- head/security/py-xmlsec/Makefile Sun Nov 1 20:12:47 2020 (r553855) +++ head/security/py-xmlsec/Makefile Sun Nov 1 20:16:16 2020 (r553856) @@ -27,10 +27,16 @@ USE_PYTHON= autoplist distutils flavors INSTALL_TARGET= install-strip +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3400 +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib2>=0:devel/py-pathlib2@${PY_FLAVOR} +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xmlsec.so do-test: @cd ${WRKSRC} && ${LOCALBASE}/bin/pytest-${PYTHON_VER} tests -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011012016.0A1KGH7H063967>