From c425ad4049ecf455eb39f0469e685d3aaf4e4e13 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 25 Feb 2023 21:55:25 +0100 Subject: [PATCH] sys-fs/bcache-tools: sync live Signed-off-by: Florian Schmaus --- 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 f352f3408ebbe..806ba5c547861 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 6ae58898db52a..15abe7ab63c39 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"