Date: Fri, 20 Jan 2017 19:38:19 +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: r431987 - head/lang/python Message-ID: <201701201938.v0KJcJQ2097894@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Jan 20 19:38:18 2017 New Revision: 431987 URL: https://svnweb.freebsd.org/changeset/ports/431987 Log: Fix symbolic links of idle and pydoc - Bump PORTREVISION for package change - While I'm here: - Remove leading definite article from COMMENT - Fix indent - Add NO_ARCH PR: 216310 Submitted by: Jose M. Alcaide <josemaria.alcaide@ehu.eus> MFH: 2017Q1 Modified: head/lang/python/Makefile Modified: head/lang/python/Makefile ============================================================================== --- head/lang/python/Makefile Fri Jan 20 19:38:14 2017 (r431986) +++ head/lang/python/Makefile Fri Jan 20 19:38:18 2017 (r431987) @@ -3,7 +3,7 @@ PORTNAME= python PORTVERSION= ${PYTHON_DEFAULT} -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= lang python ipv6 MASTER_SITES= # empty @@ -11,10 +11,11 @@ DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= python@FreeBSD.org -COMMENT= The "meta-port" for the default version of Python interpreter +COMMENT= "meta-port" for the default version of Python interpreter -USES= python:run -NO_BUILD= yes +USES= python:run +NO_ARCH= yes +NO_BUILD= yes PLIST_FILES= bin/2to3 \ bin/idle \ @@ -31,20 +32,11 @@ RUN_DEPENDS+= python3:lang/python3 .endif do-install: - ${LN} -sf python${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/python ${LN} -sf 2to3-${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/2to3 -.if ${PYTHON_MAJOR_VER} == 2 -.for file in idle pydoc +.for file in idle pydoc python ${LN} -sf ${file}${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/${file} .endfor -.elif ${PYTHON_MAJOR_VER} == 3 -.for file in idle pydoc - ${LN} -sf ${file}${PYTHON_MAJOR_VER}-${PYTHON_VER} \ - ${STAGEDIR}${PREFIX}/bin/${file} -.endfor -.endif - ${LN} -sf python${PYTHON_MAJOR_VER}-config \ - ${STAGEDIR}${PREFIX}/bin/python-config + ${LN} -sf python${PYTHON_MAJOR_VER}-config ${STAGEDIR}${PREFIX}/bin/python-config # Major upgrade support PORTUPGRADE_CMD= ${LOCALBASE}/sbin/portupgrade
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701201938.v0KJcJQ2097894>