From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 26 Sep 2017 20:53:08 +0000 (+0200) Subject: app-i18n/fcitx-configtool: Use ${Fcitx_major_version}.9999 version scheme for live... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c7784acea9b02e03532a6d650fcb4ec9cda67135;p=gentoo.git app-i18n/fcitx-configtool: Use ${Fcitx_major_version}.9999 version scheme for live ebuild. --- diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild index 28b6f212a5c3..0b23abbbe065 100644 --- a/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild +++ b/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild @@ -5,7 +5,7 @@ EAPI="6" inherit cmake-utils -if [[ "${PV}" == "9999" ]]; then +if [[ "${PV}" =~ (^|\.)9999$ ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/fcitx/fcitx-configtool" @@ -13,7 +13,7 @@ fi DESCRIPTION="GTK+ GUI configuration tool for Fcitx" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool" -if [[ "${PV}" == "9999" ]]; then +if [[ "${PV}" =~ (^|\.)9999$ ]]; then SRC_URI="" else SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz" diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild similarity index 90% rename from app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild rename to app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild index a3a492161578..aa0e86bd5706 100644 --- a/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild +++ b/app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild @@ -5,7 +5,7 @@ EAPI="6" inherit cmake-utils -if [[ "${PV}" == "9999" ]]; then +if [[ "${PV}" =~ (^|\.)9999$ ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/fcitx/fcitx-configtool" @@ -13,7 +13,7 @@ fi DESCRIPTION="GTK+ GUI configuration tool for Fcitx" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool" -if [[ "${PV}" == "9999" ]]; then +if [[ "${PV}" =~ (^|\.)9999$ ]]; then SRC_URI="" else SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"