From owner-svn-ports-svnadmin@freebsd.org Thu Apr 25 13:59:45 2019 Return-Path: Delivered-To: svn-ports-svnadmin@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 658FB1597E0F; Thu, 25 Apr 2019 13:59:45 +0000 (UTC) (envelope-from antoine@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A21785A08; Thu, 25 Apr 2019 13:59:45 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EC834249F2; Thu, 25 Apr 2019 13:59:44 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3PDxijV033278; Thu, 25 Apr 2019 13:59:44 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3PDxioe033277; Thu, 25 Apr 2019 13:59:44 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201904251359.x3PDxioe033277@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Thu, 25 Apr 2019 13:59:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r499996 - svnadmin/hooks/scripts X-SVN-Group: ports-svnadmin X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: svnadmin/hooks/scripts X-SVN-Commit-Revision: 499996 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0A21785A08 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-svnadmin@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for svnadmin of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2019 13:59:45 -0000 Author: antoine Date: Thu Apr 25 13:59:44 2019 New Revision: 499996 URL: https://svnweb.freebsd.org/changeset/ports/499996 Log: Prevent addition of more %%PYTHON_PYOEXTENSION%% With hat: portmgr Modified: svnadmin/hooks/scripts/stage-only.sh Modified: svnadmin/hooks/scripts/stage-only.sh ============================================================================== --- svnadmin/hooks/scripts/stage-only.sh Thu Apr 25 13:51:20 2019 (r499995) +++ svnadmin/hooks/scripts/stage-only.sh Thu Apr 25 13:59:44 2019 (r499996) @@ -42,6 +42,13 @@ for line in $(svnlook changed -t $TXN $REPO) ; do exit 1 fi ;; + head/*/*/pkg-plist*) + if svnlook cat -t ${TXN} ${REPO} $fpath | grep -q "%%PYTHON_PYOEXTENSION%%" ; then + echo "Do not commit ports with %%PYTHON_PYOEXTENSION%%." 1>&2 + echo "Use either pyo for python 2.7 ports or opt-1.pyc for python 3.5+ ports." 1>&2 + exit 1 + fi + ;; head/*/*/distinfo*) if ! svnlook cat -t ${TXN} ${REPO} $fpath | grep -q '^TIMESTAMP = [0-9]*$' ; then echo "Do not commit ports without TIMESTAMP in their distinfo files." 1>&2