diff options
author | Eugene Bright <eugene@bright.gdn> | 2018-10-25 23:56:12 +0300 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2018-11-25 21:28:26 +0100 |
commit | a57a129a649c4822f254b0fe9d9c9be232c7aa61 (patch) | |
tree | c122bf8cd0a9a96e21277702bc6fe36d786635b5 /sys-cluster | |
parent | sys-cluster/glusterfs: Bump to 4.1.5 (diff) | |
download | gentoo-a57a129a649c4822f254b0fe9d9c9be232c7aa61.tar.gz gentoo-a57a129a649c4822f254b0fe9d9c9be232c7aa61.tar.bz2 gentoo-a57a129a649c4822f254b0fe9d9c9be232c7aa61.zip |
sys-cluster/glusterfs-{4.1.5,9999}: bump EAPI to 7
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/glusterfs/glusterfs-4.1.5.ebuild | 12 | ||||
-rw-r--r-- | sys-cluster/glusterfs/glusterfs-9999.ebuild | 12 |
2 files changed, 16 insertions, 8 deletions
diff --git a/sys-cluster/glusterfs/glusterfs-4.1.5.ebuild b/sys-cluster/glusterfs/glusterfs-4.1.5.ebuild index 6cf392f726b0..94f9a7800207 100644 --- a/sys-cluster/glusterfs/glusterfs-4.1.5.ebuild +++ b/sys-cluster/glusterfs/glusterfs-4.1.5.ebuild @@ -1,17 +1,21 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python2_7 ) -inherit autotools elisp-common python-single-r1 systemd user versionator +inherit autotools +inherit elisp-common +inherit python-single-r1 +inherit systemd +inherit user if [[ ${PV#9999} != ${PV} ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/gluster/glusterfs.git" else - SRC_URI="https://download.gluster.org/pub/gluster/${PN}/$(get_version_component_range '1-2')/${PV}/${P}.tar.gz" + SRC_URI="https://download.gluster.org/pub/gluster/${PN}/$(ver_cut '1-2')/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" fi @@ -237,7 +241,7 @@ pkg_postinst() { ewarn "run GlusterFS." echo elog "If you are upgrading from a previous version of ${PN}, please read:" - elog " http://docs.gluster.org/en/latest/Upgrade-Guide/upgrade_to_$(get_version_component_range '1-2')/" + elog " http://docs.gluster.org/en/latest/Upgrade-Guide/upgrade_to_$(ver_cut '1-2')/" use emacs && elisp-site-regen } diff --git a/sys-cluster/glusterfs/glusterfs-9999.ebuild b/sys-cluster/glusterfs/glusterfs-9999.ebuild index 6cf392f726b0..94f9a7800207 100644 --- a/sys-cluster/glusterfs/glusterfs-9999.ebuild +++ b/sys-cluster/glusterfs/glusterfs-9999.ebuild @@ -1,17 +1,21 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python2_7 ) -inherit autotools elisp-common python-single-r1 systemd user versionator +inherit autotools +inherit elisp-common +inherit python-single-r1 +inherit systemd +inherit user if [[ ${PV#9999} != ${PV} ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/gluster/glusterfs.git" else - SRC_URI="https://download.gluster.org/pub/gluster/${PN}/$(get_version_component_range '1-2')/${PV}/${P}.tar.gz" + SRC_URI="https://download.gluster.org/pub/gluster/${PN}/$(ver_cut '1-2')/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" fi @@ -237,7 +241,7 @@ pkg_postinst() { ewarn "run GlusterFS." echo elog "If you are upgrading from a previous version of ${PN}, please read:" - elog " http://docs.gluster.org/en/latest/Upgrade-Guide/upgrade_to_$(get_version_component_range '1-2')/" + elog " http://docs.gluster.org/en/latest/Upgrade-Guide/upgrade_to_$(ver_cut '1-2')/" use emacs && elisp-site-regen } |