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 7A6E1138350 for ; Sun, 12 Jan 2020 15:12:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE498E0D44; Sun, 12 Jan 2020 15:12:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 7F47BE0D44 for ; Sun, 12 Jan 2020 15:12:48 +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 7290734DFB9 for ; Sun, 12 Jan 2020 15:12:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10D129F for ; Sun, 12 Jan 2020 15:12:46 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1578841959.3947cb6565e006bd389aa2f3ca6a6e165111b36d.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pciutils/pciutils-3.5.6-r1.ebuild sys-apps/pciutils/pciutils-3.6.1.ebuild sys-apps/pciutils/pciutils-3.6.2-r1.ebuild X-VCS-Directories: sys-apps/pciutils/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 3947cb6565e006bd389aa2f3ca6a6e165111b36d X-VCS-Branch: master Date: Sun, 12 Jan 2020 15:12: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 863c6397-8ee3-4176-8483-6e68224c06e2 X-Archives-Hash: 2a4c9ff7f4cab53b421c92e5a213a8ee commit: 3947cb6565e006bd389aa2f3ca6a6e165111b36d Author: Lars Wendler gentoo org> AuthorDate: Sun Jan 12 15:12:14 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sun Jan 12 15:12:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3947cb65 sys-apps/pciutils: Don't use lexicographical version compare Closes: https://bugs.gentoo.org/705274 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> sys-apps/pciutils/pciutils-3.5.6-r1.ebuild | 6 +++--- sys-apps/pciutils/pciutils-3.6.1.ebuild | 6 +++--- sys-apps/pciutils/pciutils-3.6.2-r1.ebuild | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild index 6f9475350b3..972c45769c0 100644 --- a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild +++ b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit multilib toolchain-funcs multilib-minimal flag-o-matic +inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic DESCRIPTION="Various utilities dealing with the PCI bus" HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ https://git.kernel.org/?p=utils/pciutils/pciutils.git" @@ -113,7 +113,7 @@ multilib_src_install_all() { } pkg_postinst() { - if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; then + if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 3.2.0 ; then elog "The 'network-cron' USE flag is gone; if you want a more up-to-date" elog "pci.ids file, you should use sys-apps/hwids-99999999 (live ebuild)." fi diff --git a/sys-apps/pciutils/pciutils-3.6.1.ebuild b/sys-apps/pciutils/pciutils-3.6.1.ebuild index 2a1f547edb3..587b417565a 100644 --- a/sys-apps/pciutils/pciutils-3.6.1.ebuild +++ b/sys-apps/pciutils/pciutils-3.6.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit multilib toolchain-funcs multilib-minimal flag-o-matic +inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic DESCRIPTION="Various utilities dealing with the PCI bus" HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ https://git.kernel.org/?p=utils/pciutils/pciutils.git" @@ -113,7 +113,7 @@ multilib_src_install_all() { } pkg_postinst() { - if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; then + if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 3.2.0 ; then elog "The 'network-cron' USE flag is gone; if you want a more up-to-date" elog "pci.ids file, you should use sys-apps/hwids-99999999 (live ebuild)." fi diff --git a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild index 2a1f547edb3..587b417565a 100644 --- a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild +++ b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit multilib toolchain-funcs multilib-minimal flag-o-matic +inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic DESCRIPTION="Various utilities dealing with the PCI bus" HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ https://git.kernel.org/?p=utils/pciutils/pciutils.git" @@ -113,7 +113,7 @@ multilib_src_install_all() { } pkg_postinst() { - if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; then + if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 3.2.0 ; then elog "The 'network-cron' USE flag is gone; if you want a more up-to-date" elog "pci.ids file, you should use sys-apps/hwids-99999999 (live ebuild)." fi