From owner-dev-commits-ports-all@freebsd.org Sat Jul 24 20:32:45 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3179C666FBE; Sat, 24 Jul 2021 20:32:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GXHth4gRJz3mbr; Sat, 24 Jul 2021 20:32:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 28C0A17203; Sat, 24 Jul 2021 20:32:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16OKWiZW008471; Sat, 24 Jul 2021 20:32:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16OKWiix008470; Sat, 24 Jul 2021 20:32:44 GMT (envelope-from git) Date: Sat, 24 Jul 2021 20:32:44 GMT Message-Id: <202107242032.16OKWiix008470@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: a0e02daf64cc - main - lang/python3: Clean up MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0e02daf64cc89ceb2b068c143bcca27d67e0a21 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2021 20:32:45 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0e02daf64cc89ceb2b068c143bcca27d67e0a21 commit a0e02daf64cc89ceb2b068c143bcca27d67e0a21 Author: Po-Chuan Hsieh AuthorDate: 2021-07-24 20:23:06 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-07-24 20:23:06 +0000 lang/python3: Clean up - Remove leading definite article from COMMENT - Update USES=python - Remove unneeded use of PYTHON_MAJOR_VER because this is for python 3.x - Merge the symbolic link of 2to3 and python to the .for loop --- lang/python3/Makefile | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/lang/python3/Makefile b/lang/python3/Makefile index b371a0f3be83..088617005054 100644 --- a/lang/python3/Makefile +++ b/lang/python3/Makefile @@ -1,38 +1,34 @@ PORTNAME= python3 -PORTVERSION= ${PYTHON_MAJOR_VER} +PORTVERSION= 3 PORTREVISION= 3 CATEGORIES= lang python -MASTER_SITES= -DISTFILES= -EXTRACT_ONLY= +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty MAINTAINER= python@FreeBSD.org -COMMENT= The "meta-port" for version 3 of the Python interpreter +COMMENT= Meta-port for the Python interpreter 3.x -USES= python:3.5+,run +USES= python:3.6+,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-3 \ + bin/idle3 \ + bin/pydoc3 \ + bin/python3 \ + bin/python3-config \ + libdata/pkgconfig/python3.pc do-install: - ${LN} -sf python${PYTHON_VER} \ - ${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER} - ${LN} -sf 2to3-${PYTHON_VER} \ - ${STAGEDIR}${PREFIX}/bin/2to3-${PYTHON_MAJOR_VER} -.for file in idle pydoc +.for file in 2to3- idle pydoc python ${LN} -sf ${file}${PYTHON_VER} \ - ${STAGEDIR}${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} + ${STAGEDIR}${PREFIX}/bin/${file}3 .endfor ${LN} -sf python${PYTHON_VER}-config \ - ${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config + ${STAGEDIR}${PREFIX}/bin/python3-config ${LN} -sf python-${PYTHON_VER}.pc \ - ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python3.pc .include