Date: Fri, 12 Jul 2019 16:23:13 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506473 - head/devel/py-pyinstaller Message-ID: <201907121623.x6CGNDFb070545@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Jul 12 16:23:13 2019 New Revision: 506473 URL: https://svnweb.freebsd.org/changeset/ports/506473 Log: Relax USES=python - Allow concurrent installation (USE_PYTHON=concurrent) - Bump PORTREVISION for package change Modified: head/devel/py-pyinstaller/Makefile Modified: head/devel/py-pyinstaller/Makefile ============================================================================== --- head/devel/py-pyinstaller/Makefile Fri Jul 12 16:23:08 2019 (r506472) +++ head/devel/py-pyinstaller/Makefile Fri Jul 12 16:23:13 2019 (r506473) @@ -3,6 +3,7 @@ PORTNAME= pyinstaller PORTVERSION= 3.5 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,11 +15,10 @@ COMMENT= Program to create standalone executables from LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dis3>0:devel/py-dis3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}altgraph>0:math/py-altgraph@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}altgraph>0:math/py-altgraph@${PY_FLAVOR} -USES= python:2.7 -USE_PYTHON= autoplist distutils +USES= python +USE_PYTHON= autoplist concurrent distutils EXTRACT_AFTER_ARGS= --exclude doc/source --no-same-owner --no-same-permissions DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} @@ -28,14 +28,22 @@ OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes -DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dis3>0:devel/py-dis3@${PY_FLAVOR} +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} DOCS_MAKE_ARGS= SPHINXBUILD=sphinx-build-${PYTHON_VER} DOCS_USES= gmake MANPAGES_BUILD_DEPENDS= ${DOCS_BUILD_DEPENDS} MANPAGES_MAKE_ARGS= ${DOCS_MAKE_ARGS} MANPAGES_USES= gmake +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dis3>0:devel/py-dis3@${PY_FLAVOR} +.if ${PORT_OPTIONS:MDOCS} +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dis3>0:devel/py-dis3@${PY_FLAVOR} +.endif +.endif + post-patch: @${REINPLACE_CMD} -e '/install_requires/s,distribute,setuptools,' \ ${WRKSRC}/${PYSETUP} @@ -58,4 +66,4 @@ do-install-DOCS-on: (cd ${WRKSRC}/doc ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} text ${MAKE_ARGS}) ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/_build/text/|} ${STAGEDIR}${DOCSDIR} -.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?201907121623.x6CGNDFb070545>