dev-libs/libvhdi: qa fixes

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-08-24 08:59:43 -04:00
parent 8ee45fc319
commit 82c4b4d12c
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 9 additions and 6 deletions

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..12} )
inherit autotools python-single-r1 inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the Virtual Hard Disk (VHD) image format" DESCRIPTION="Library and tools to access the Virtual Hard Disk (VHD) image format"
@ -12,19 +12,19 @@ HOMEPAGE="https://github.com/libyal/libvhdi"
MY_PV="${PV%_alpha}" MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvhdi/releases/download/${MY_PV}/libvhdi-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/libyal/libvhdi/releases/download/${MY_PV}/libvhdi-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~hppa ~ppc ~x86" KEYWORDS="amd64 ~hppa ~ppc x86"
LICENSE="LGPL-3" LICENSE="LGPL-3"
SLOT="0" SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs" IUSE="debug +fuse unicode python nls static static-libs"
REQUIRED_USE="static? ( static-libs )" REQUIRED_USE="static? ( static-libs )
${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS} RDEPEND="${PYTHON_DEPS}
fuse? ( sys-fs/fuse:0=[static-libs?] )" fuse? ( sys-fs/fuse:0=[static-libs?] )"
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig" BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV} S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() { src_prepare() {

View file

@ -12,4 +12,7 @@
<use> <use>
<flag name="fuse">Enable fuse support</flag> <flag name="fuse">Enable fuse support</flag>
</use> </use>
<upstream>
<remote-id type="github">libyal/libvhdi</remote-id>
</upstream>
</pkgmetadata> </pkgmetadata>