net-misc/yandex-disk: set rpm.eclass var for reference rpm support

fix variableorder

Closes: https://bugs.gentoo.org/973251
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/736
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2026-04-25 10:17:25 +02:00
committed by Sam James
parent 2c59686e94
commit 5a6d2ea9dc

View File

@@ -1,8 +1,9 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RPM_COMPRESS_TYPE=none
inherit bash-completion-r1 rpm
MY_P="${PN}-${PV/_p/-}"
@@ -13,6 +14,7 @@ SRC_URI="
amd64? ( https://repo.yandex.ru/yandex-disk/rpm/stable/x86_64/${MY_P}.fedora.x86_64.rpm )
x86? ( https://repo.yandex.ru/yandex-disk/rpm/stable/i386/${MY_P}.fedora.i386.rpm )
"
S="${WORKDIR}"
LICENSE="YDSLA"
SLOT="0"
@@ -21,8 +23,6 @@ KEYWORDS="-* amd64 x86"
DEPEND="app-arch/gzip"
RDEPEND="virtual/zlib:="
S="${WORKDIR}"
QA_PREBUILT="opt/bin/yandex-disk"
src_prepare() {