Date: Sat, 24 Jul 2021 20:32:42 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b7f8a1602e5c - main - lang/python2: Clean up Message-ID: <202107242032.16OKWgxa008446@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7f8a1602e5c811f5496e48d6fffda66206a49bd commit b7f8a1602e5c811f5496e48d6fffda66206a49bd Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-07-24 20:23:05 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-07-24 20:23:05 +0000 lang/python2: Clean up - Remove leading definite article from COMMENT - Remove unneeded use of PYTHON_MAJOR_VER because this is for python 2.7 --- lang/python2/Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lang/python2/Makefile b/lang/python2/Makefile index 435ee1f2232f..f78d68c3bd98 100644 --- a/lang/python2/Makefile +++ b/lang/python2/Makefile @@ -1,5 +1,5 @@ PORTNAME= python2 -PORTVERSION= ${PYTHON_MAJOR_VER} +PORTVERSION= 2 PORTREVISION= 3 CATEGORIES= lang python MASTER_SITES= # empty @@ -7,7 +7,7 @@ DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= python@FreeBSD.org -COMMENT= The "meta-port" for version 2 of the Python interpreter +COMMENT= Meta-port for the Python interpreter 2.7 DEPRECATED= EOLed upstream EXPIRATION_DATE= 2020-12-31 @@ -17,23 +17,23 @@ USES= python:2.7,run NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= bin/2to3-${PYTHON_MAJOR_VER} \ - bin/idle${PYTHON_MAJOR_VER} \ - bin/pydoc${PYTHON_MAJOR_VER} \ - bin/python${PYTHON_MAJOR_VER} \ - bin/python${PYTHON_MAJOR_VER}-config \ - libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc +PLIST_FILES= bin/2to3-2 \ + bin/idle2 \ + bin/pydoc2 \ + bin/python2 \ + bin/python2-config \ + libdata/pkgconfig/python2.pc do-install: .for file in idle pydoc python ${LN} -sf ${file}${PYTHON_VER} \ - ${STAGEDIR}${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} + ${STAGEDIR}${PREFIX}/bin/${file}2 .endfor ${LN} -sf 2to3-${PYTHON_VER} \ - ${STAGEDIR}${PREFIX}/bin/2to3-${PYTHON_MAJOR_VER} + ${STAGEDIR}${PREFIX}/bin/2to3-2 ${LN} -sf python${PYTHON_VER}-config \ - ${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config + ${STAGEDIR}${PREFIX}/bin/python2-config ${LN} -sf python-${PYTHON_VER}.pc \ - ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python2.pc .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107242032.16OKWgxa008446>