Diff cloud-hypervisor-31.0 with a cloud-hypervisor-9999

/usr/portage/app-emulation/cloud-hypervisor/cloud-hypervisor-9999.ebuild 2023-10-09 14:52:28.720368331 +0300
5 5

  
6 6
EAPI=8
7 7

  
8
CRATES=" "
9
inherit cargo
8
inherit cargo git-r3
10 9

  
11 10
DESCRIPTION="Open source Virtual Machine Monitor (VMM) that runs on top of KVM"
12 11
HOMEPAGE="https://www.cloudhypervisor.org"
13
SRC_URI="https://github.com/cloud-hypervisor/cloud-hypervisor/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
14
		https://dev.gentoo.org/~jsmolic/distfiles/${P}-vendor.tar.gz"
12
EGIT_REPO_URI="https://github.com/cloud-hypervisor/cloud-hypervisor.git"
15 13

  
16 14
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
17 15
SLOT="0"
18
KEYWORDS="~amd64"
19 16

  
20 17
# rust does not use *FLAGS from make.conf, silence portage warning
21 18
QA_FLAGS_IGNORED="usr/bin/.*"
22 19

  
23 20
src_unpack() {
24
	cargo_src_unpack
25
	mkdir  "${S}"/{vendor,.cargo} || die
26
	ln -s "${WORKDIR}/vendor/"* "${S}"/vendor || die
27
	cp "${FILESDIR}"/${P}-vendor-config "${S}"/.cargo/config.toml || die
21
	git-r3_src_unpack
22
	cargo_live_src_unpack
28 23
}
29 24

  
30 25
src_prepare() {
......
38 33
}
39 34

  
40 35
src_test() {
41
	# Intergration tests require root
36
	# Integration tests require root
42 37
	# https://github.com/cloud-hypervisor/cloud-hypervisor/issues/5388
43 38
	cargo_src_test --bins
44 39
}
Thank you!