app-i18n/fcitx-configtool: Use ${Fcitx_major_version}.9999 version scheme for live...
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Tue, 26 Sep 2017 20:53:08 +0000 (22:53 +0200)
committerMike Gilbert <floppym@gentoo.org>
Wed, 27 Sep 2017 19:56:58 +0000 (15:56 -0400)
app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild
app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild [moved from app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild with 90% similarity]

index 28b6f212a5c33d5d7d3fbc1a19f0c7bfd817b86e..0b23abbbe06571b8f541139f0635ab99c53d049d 100644 (file)
@@ -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"
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 a3a49216157899d695e008cbeb856c4eb7995591..aa0e86bd570613a8c09ebb5baf0d9f3406deb781 100644 (file)
@@ -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"