commit:     fa7a1f179d00569a7710072ed8d86d00a7042413
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Jan 17 13:21:04 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 16:38:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7a1f17

dev-libs/protobuf: give unique subslot for live

Otherwise it's going go stale and cause issues for portage dependency
resolution.

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40181
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/protobuf/protobuf-9999.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-libs/protobuf/protobuf-9999.ebuild 
b/dev-libs/protobuf/protobuf-9999.ebuild
index 3080cc281d8b..1106a4dfca74 100644
--- a/dev-libs/protobuf/protobuf-9999.ebuild
+++ b/dev-libs/protobuf/protobuf-9999.ebuild
@@ -14,20 +14,19 @@ ABSEIL_MIN_VER="${ABSEIL_MIN_VER//_/}"
 if [[ "${PV}" == *9999 ]]; then
        EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git";
        EGIT_SUBMODULES=( '-*' )
-       MY_SLOT="28.0"
+       SLOT="0/9999"
 
        inherit git-r3
 else
        
SRC_URI="https://github.com/protocolbuffers/protobuf/releases/download/v${PV}/${P}.tar.gz";
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
-       MY_SLOT=$(ver_cut 1-2)
+       SLOT="0/$(ver_cut 1-2).0"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"
 HOMEPAGE="https://protobuf.dev/";
 
 LICENSE="BSD"
-SLOT="0/${MY_SLOT}.0"
 IUSE="conformance debug emacs examples +libprotoc libupb +protobuf +protoc 
test zlib"
 
 # Require protobuf for the time being

Reply via email to