commit:     e9e8d1e75464a51c79fac850bd2342ca6e9f1fbc
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 18:38:52 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 18:39:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e8d1e7

sys-auth/pambase: correct versioning logic

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-auth/pambase/pambase-20201103.ebuild                           | 2 +-
 sys-auth/pambase/{pambase-9999.ebuild => pambase-999999999.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/pambase/pambase-20201103.ebuild 
b/sys-auth/pambase/pambase-20201103.ebuild
index d8f55e9965e..085421e2450 100644
--- a/sys-auth/pambase/pambase-20201103.ebuild
+++ b/sys-auth/pambase/pambase-20201103.ebuild
@@ -10,7 +10,7 @@ inherit pam python-any-r1 readme.gentoo-r1
 DESCRIPTION="PAM base configuration files"
 HOMEPAGE="https://github.com/gentoo/pambase";
 
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/gentoo/pambase.git";
 else

diff --git a/sys-auth/pambase/pambase-9999.ebuild 
b/sys-auth/pambase/pambase-999999999.ebuild
similarity index 98%
rename from sys-auth/pambase/pambase-9999.ebuild
rename to sys-auth/pambase/pambase-999999999.ebuild
index d8f55e9965e..085421e2450 100644
--- a/sys-auth/pambase/pambase-9999.ebuild
+++ b/sys-auth/pambase/pambase-999999999.ebuild
@@ -10,7 +10,7 @@ inherit pam python-any-r1 readme.gentoo-r1
 DESCRIPTION="PAM base configuration files"
 HOMEPAGE="https://github.com/gentoo/pambase";
 
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/gentoo/pambase.git";
 else

Reply via email to