From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5384138351 for ; Sun, 19 Apr 2020 16:47:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1389E09F0; Sun, 19 Apr 2020 16:47:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C78ADE09F0 for ; Sun, 19 Apr 2020 16:47:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC6F834F080 for ; Sun, 19 Apr 2020 16:47:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 897FC1DE for ; Sun, 19 Apr 2020 16:47:35 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1587314828.73c127b0891aae921d60478fe377bf6c4ee50f13.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/tests/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/tests/python-utils-r1.sh X-VCS-Directories: eclass/tests/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 73c127b0891aae921d60478fe377bf6c4ee50f13 X-VCS-Branch: master Date: Sun, 19 Apr 2020 16:47:35 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: db95d793-3af2-4f3a-a827-c9ffed10c57a X-Archives-Hash: 62f9f835d2daa3a7561b9f09440f8468 commit: 73c127b0891aae921d60478fe377bf6c4ee50f13 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 27 18:00:10 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Apr 19 16:47:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c127b0 eclass/tests/python-utils-r1.sh: Add tests for py3.8 Signed-off-by: Michał Górny gentoo.org> eclass/tests/python-utils-r1.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh index 377bb474a3a..192c1183e80 100755 --- a/eclass/tests/python-utils-r1.sh +++ b/eclass/tests/python-utils-r1.sh @@ -101,6 +101,20 @@ fi test_var PYTHON_PKG_DEP python3_7 '*dev-lang/python*:3.7' test_var PYTHON_SCRIPTDIR python3_7 /usr/lib/python-exec/python3.7 +test_var EPYTHON python3_8 python3.8 +test_var PYTHON python3_8 /usr/bin/python3.8 +if [[ -x /usr/bin/python3.8 ]]; then + abiflags=$(/usr/bin/python3.8 -c 'import sysconfig; print(sysconfig.get_config_var("ABIFLAGS"))') + test_var PYTHON_SITEDIR python3_8 "/usr/lib/python3.8/site-packages" + test_var PYTHON_INCLUDEDIR python3_8 "/usr/include/python3.8${abiflags}" + test_var PYTHON_LIBPATH python3_8 "/usr/lib*/libpython3.8${abiflags}$(get_libname)" + test_var PYTHON_CONFIG python3_8 "/usr/bin/python3.8${abiflags}-config" + test_var PYTHON_CFLAGS python3_8 "*-I/usr/include/python3.8*" + test_var PYTHON_LIBS python3_8 "*-lpython3.8*" +fi +test_var PYTHON_PKG_DEP python3_8 '*dev-lang/python*:3.8' +test_var PYTHON_SCRIPTDIR python3_8 /usr/lib/python-exec/python3.8 + test_var EPYTHON pypy3 pypy3 test_var PYTHON pypy3 /usr/bin/pypy3 if [[ -x /usr/bin/pypy3 ]]; then