EAPI=6
-inherit eutils flag-o-matic libtool multilib toolchain-funcs eapi7-ver
+inherit eapi7-ver eutils flag-o-matic libtool multilib toolchain-funcs
MY_P=ImageMagick-$(ver_rs 3 '-')
else
local v
for v in ${REPLACING_VERSIONS}; do
- if ! version_is_at_least "6.9.10.10-r1" ${v}; then
+ if ! ver_test "${v}" -gt "6.9.10.10-r1"; then
# This is an upgrade
_show_policy_xml_notice=yes
EAPI="6"
-inherit eutils flag-o-matic libtool multilib toolchain-funcs
+inherit eapi7-ver eutils flag-o-matic libtool multilib toolchain-funcs
PATCHES=( "${FILESDIR}"/policy-hardening.patch )
inherit git-r3
MY_P="imagemagick-9999"
else
- inherit eapi7-ver
MY_P=ImageMagick-$(ver_rs 3 '-')
SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
else
local v
for v in ${REPLACING_VERSIONS}; do
- if ! version_is_at_least "7.0.8.10-r1" ${v}; then
+ if ! ver_test "${v}" -gt "7.0.8.10-r1"; then
# This is an upgrade
_show_policy_xml_notice=yes
EAPI="6"
-inherit eutils flag-o-matic libtool multilib toolchain-funcs
+inherit eapi7-ver eutils flag-o-matic libtool multilib toolchain-funcs
PATCHES=( "${FILESDIR}"/policy-hardening.patch )
inherit git-r3
MY_P="imagemagick-9999"
else
- inherit eapi7-ver
MY_P=ImageMagick-$(ver_rs 3 '-')
SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
else
local v
for v in ${REPLACING_VERSIONS}; do
- if ! version_is_at_least "7.0.8.10-r1" ${v}; then
+ if ! ver_test "${v}" -gt "7.0.8.10-r1"; then
# This is an upgrade
_show_policy_xml_notice=yes