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 DA58A139694 for ; Mon, 13 Mar 2017 21:46:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1427821C07B; Mon, 13 Mar 2017 21:46:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E897721C07B for ; Mon, 13 Mar 2017 21:46:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E614F34108B for ; Mon, 13 Mar 2017 21:46:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 560626742 for ; Mon, 13 Mar 2017 21:46:46 +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: <1489441597.70fac9ed390c12a2fa1c9063eaeb1189dcf49a1c.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: / X-VCS-Repository: proj/portage X-VCS-Files: .travis.yml X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 70fac9ed390c12a2fa1c9063eaeb1189dcf49a1c X-VCS-Branch: master Date: Mon, 13 Mar 2017 21:46:46 +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: f88c6674-e6d2-4c86-9870-bcade5b6207d X-Archives-Hash: f86cba052384b9feba15606d0eaabfd9 commit: 70fac9ed390c12a2fa1c9063eaeb1189dcf49a1c Author: Michał Górny gentoo org> AuthorDate: Sun Mar 12 17:09:03 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Mar 13 21:46:37 2017 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=70fac9ed travis: Install additional (pure Python) crypto providers if necessary Install pysha3 to provide the SHA3 routines on Python < 3.6, and install pygost to provide a Streebog implementation. .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7fe3c06aa..196e3520a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,14 @@ python: - pypy # command to install dependencies -install: "pip install lxml" +install: + - pip install lxml + # python3.6+ has sha3 built-in, for older versions install pysha3 + # (except for pypy where pysha3 is broken) + - "[[ ${TRAVIS_PYTHON_VERSION} == 3.[6789] || ${TRAVIS_PYTHON_VERSION} == pypy ]] || pip install pysha3" + # always install pygost for Streebog + # (except for py3.3 which it does not support) + - "[[ ${TRAVIS_PYTHON_VERSION} == 3.3 ]] || pip install pygost" script: - printf "[build_ext]\nportage-ext-modules=true" >> setup.cfg