commit:     c425ad4049ecf455eb39f0469e685d3aaf4e4e13
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 20:55:25 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 20:55:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c425ad40

sys-fs/bcache-tools: sync live

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild | 11 ++++++++---
 sys-fs/bcache-tools/bcache-tools-9999.ebuild   |  1 +
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild 
b/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild
index f352f3408ebb..806ba5c54786 100644
--- a/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild
+++ b/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild
@@ -7,14 +7,19 @@ PYTHON_COMPAT=( python3_{9..10} )
 
 inherit flag-o-matic python-r1 toolchain-funcs udev
 
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+       
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git
 
https://kernel.googlesource.com/pub/scm/linux/kernel/git/colyli/bcache-tools.git";
+else
+       
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/${PN}.git/snapshot/${P}.tar.gz";
+       KEYWORDS="amd64 arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+fi
+
 DESCRIPTION="Tools for bcache"
 HOMEPAGE="https://bcache.evilpiepirate.org/ 
https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/";
-SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/${PN}.git/snapshot/${P}.tar.gz";
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="amd64 arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 

diff --git a/sys-fs/bcache-tools/bcache-tools-9999.ebuild 
b/sys-fs/bcache-tools/bcache-tools-9999.ebuild
index 6ae58898db52..15abe7ab63c3 100644
--- a/sys-fs/bcache-tools/bcache-tools-9999.ebuild
+++ b/sys-fs/bcache-tools/bcache-tools-9999.ebuild
@@ -12,6 +12,7 @@ if [[ "${PV}" == "9999" ]]; then
        
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git
 
https://kernel.googlesource.com/pub/scm/linux/kernel/git/colyli/bcache-tools.git";
 else
        
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/${PN}.git/snapshot/${P}.tar.gz";
+       KEYWORDS="amd64 arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 DESCRIPTION="Tools for bcache"

Reply via email to