Date: Thu, 25 Apr 2019 13:59:44 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r499996 - svnadmin/hooks/scripts Message-ID: <201904251359.x3PDxioe033277@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904251359.x3PDxioe033277>