summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-01-12 16:12:14 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-01-12 16:12:39 +0100
commit3947cb6565e006bd389aa2f3ca6a6e165111b36d (patch)
treef4f3fa7448e171612c87f790580440a7e8cd7c08 /sys-apps/pciutils
parentsys-apps/ethtool: Removed old (diff)
downloadgentoo-3947cb6565e006bd389aa2f3ca6a6e165111b36d.tar.gz
gentoo-3947cb6565e006bd389aa2f3ca6a6e165111b36d.tar.bz2
gentoo-3947cb6565e006bd389aa2f3ca6a6e165111b36d.zip
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 <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/pciutils')
-rw-r--r--sys-apps/pciutils/pciutils-3.5.6-r1.ebuild6
-rw-r--r--sys-apps/pciutils/pciutils-3.6.1.ebuild6
-rw-r--r--sys-apps/pciutils/pciutils-3.6.2-r1.ebuild6
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 6f9475350b3e..972c45769c03 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 2a1f547edb39..587b417565ab 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 2a1f547edb39..587b417565ab 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