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 09F83138350 for ; Sun, 19 Apr 2020 15:00:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23017E0966; Sun, 19 Apr 2020 15:00:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0D250E0966 for ; Sun, 19 Apr 2020 15:00:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 CC00334F048 for ; Sun, 19 Apr 2020 15:00:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD0F51D2 for ; Sun, 19 Apr 2020 15:00:28 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1587308417.95cd637b195737a6d1144bfcfcdb636bf5f6dd86.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/cpyrit-cuda/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild X-VCS-Directories: net-wireless/cpyrit-cuda/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 95cd637b195737a6d1144bfcfcdb636bf5f6dd86 X-VCS-Branch: master Date: Sun, 19 Apr 2020 15:00:28 +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: 4b05c3fd-0d8f-4f1c-8be4-c19af38f1695 X-Archives-Hash: 29e3b5058aeb34f6bb21e37bd8a7f969 commit: 95cd637b195737a6d1144bfcfcdb636bf5f6dd86 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Apr 19 15:00:17 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Apr 19 15:00:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95cd637b net-wireless/cpyrit-cuda: fix lexicographical version compare Closes: https://bugs.gentoo.org/705270 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild b/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild index 3b338589951..3c8d5c041e8 100644 --- a/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild +++ b/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) DISTUTILS_SINGLE_IMPL=1 -inherit toolchain-funcs distutils-r1 +inherit toolchain-funcs distutils-r1 eapi7-ver DESCRIPTION="A sub-package that adds CUDA-capability to Pyrit" HOMEPAGE="https://github.com/JPaulMora/Pyrit" @@ -26,8 +26,8 @@ PDEPEND="~net-wireless/pyrit-${PV}" S="${WORKDIR}/Pyrit-${PV}/modules/cpyrit_cuda" pkg_pretend() { - if tc-is-gcc && [[ $(gcc-version) > 4.8 ]]; then - die "gcc 4.9 and up are not supported" + if tc-is-gcc && ver_test $(gcc-version) -ge 4.8; then + die "gcc 4.8 and up are not supported" fi }