From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D70221381F3 for ; Sun, 2 Dec 2012 15:33:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF28621C03E; Sun, 2 Dec 2012 15:33:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9B1221C04D for ; Sun, 2 Dec 2012 15:33:25 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A93A33DA25 for ; Sun, 2 Dec 2012 15:33:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A054EE5442 for ; Sun, 2 Dec 2012 15:33:23 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1354462179.8cdf36062e5e36baa2098eed40387c656c0f4607.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: / X-VCS-Repository: proj/portage X-VCS-Files: acinclude.m4 X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 8cdf36062e5e36baa2098eed40387c656c0f4607 X-VCS-Branch: prefix Date: Sun, 2 Dec 2012 15:33:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c217450b-24e8-4fe3-bfd9-a346e2095a6f X-Archives-Hash: dba14f97d3d2f87684b5d9e89d9aad4e commit: 8cdf36062e5e36baa2098eed40387c656c0f4607 Author: Fabian Groffen gentoo org> AuthorDate: Sun Dec 2 15:29:39 2012 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Dec 2 15:29:39 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8cdf3606 GENTOO_PATH_PYTHON: fix syntax for Python 3 --- acinclude.m4 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 5bf24da..1d9ccf5 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -24,9 +24,9 @@ AC_DEFUN([GENTOO_PATH_PYTHON], fi dnl is it the version we want? - ver=`$PREFIX_PORTAGE_PYTHON -c 'import sys; print sys.version.split(" ")[[0]]'` + ver=`$PREFIX_PORTAGE_PYTHON -c 'import sys; print(sys.version.split(" ")[[0]])'` AC_MSG_CHECKING([whether $PREFIX_PORTAGE_PYTHON $ver >= $1]) - cmp=`$PREFIX_PORTAGE_PYTHON -c 'import sys; print sys.version.split(" ")[[0]] >= "$1"'` + cmp=`$PREFIX_PORTAGE_PYTHON -c 'import sys; print(sys.version.split(" ")[[0]] >= "$1")'` if test "$cmp" = "True" ; then AC_MSG_RESULT([yes]) else