Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
Date: Thu, 27 Aug 2020 08:24:10
Message-Id: 1598515705.2b6f803e4f4e2993ee91f1f32ae9efe0b8ead47d.gyakovlev@gentoo
1 commit: 2b6f803e4f4e2993ee91f1f32ae9efe0b8ead47d
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 27 07:50:04 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 27 08:08:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6f803e
7
8 sys-fs/zfs: update live ebuild, add rc version handling
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 sys-fs/zfs/zfs-9999.ebuild | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
17 index 032c65ef800..55317293ed4 100644
18 --- a/sys-fs/zfs/zfs-9999.ebuild
19 +++ b/sys-fs/zfs/zfs-9999.ebuild
20 @@ -15,8 +15,10 @@ if [[ ${PV} == "9999" ]] ; then
21 inherit git-r3 linux-mod
22 EGIT_REPO_URI="https://github.com/openzfs/zfs.git"
23 else
24 - SRC_URI="https://github.com/openzfs/${PN}/releases/download/${P}/${P}.tar.gz"
25 + MY_P="${P/_rc/-rc}"
26 + SRC_URI="https://github.com/openzfs/${PN}/releases/download/${MY_P}/${MY_P}.tar.gz"
27 KEYWORDS="~amd64 ~arm64 ~ppc64"
28 + S="${WORKDIR}/${P%_rc?}"
29 fi
30
31 LICENSE="BSD-2 CDDL MIT"